/linux-6.15/Documentation/devicetree/bindings/net/wireless/ |
D | qcom,ath10k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff Johnson <jjohnson@kernel.org> 18 - qcom,ath10k # SDIO-based devices 19 - qcom,ipq4019-wifi 20 - qcom,wcn3990-wifi # SNoC-based devices 25 reg-names: 27 - const: membase 33 interrupt-names: [all …]
|
/linux-6.15/drivers/iio/adc/ |
D | qcom-spmi-vadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 10 #include <linux/iio/adc/qcom-vadc-common.h> 23 #include <dt-bindings/iio/qcom,spmi-vadc.h> 76 * struct vadc_channel_prop - VADC channel property. 78 * @calibration: calibration type. 91 enum vadc_calibration calibration; member 101 * struct vadc_priv - VADC private structure. 111 * @graph: store parameters for calibration. 139 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read() argument [all …]
|
D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> 26 #include <linux/nvmem-consumer.h> 31 #include "stm32-adc-core.h" 33 /* Number of linear calibration shadow registers / LINCALRDYW control bits */ 58 /* extsel - trigger mux selection value */ 84 STM32_ADC_INT_CH_NONE = -1, [all …]
|
D | qcom-pm8xxx-xoadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * specific-purpose and general purpose ADC converters and channels. 13 #include <linux/iio/adc/qcom-vadc-common.h> 27 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC: 28 * drivers/misc/pmic8058-xoadc.c 29 * drivers/hwmon/pm8xxx-adc.c 124 * proper reference points for calibration. 155 * struct xoadc_channel - encodes channel properties and defaults 162 * @prescale: the channels have hard-coded prescale ratios defined 185 * struct xoadc_variant - encodes the XOADC variant characteristics [all …]
|
D | qcom-spmi-adc5.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/iio/adc/qcom-vadc-common.h> 23 #include <dt-bindings/iio/qcom,spmi-vadc.h> 104 * struct adc5_channel_prop - ADC channel property. 106 * @cal_method: calibration method. 107 * @cal_val: calibration value 133 * struct adc5_chip - ADC private structure. 143 * @data: software configuration data. 155 const struct adc5_data *data; member 158 static int adc5_read(struct adc5_chip *adc, u16 offset, u8 *data, int len) in adc5_read() argument [all …]
|
D | meson_saradc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 16 #include <linux/nvmem-consumer.h> 96 (8 + (((_chan) - 2) * 3)) 153 * and u-boot source served as reference). These only seem to be relevant on 172 /* temperature sensor calibration information in eFuse */ 378 for (i = 0; i < indio_dev->num_channels; i++) in find_channel_by_num() 379 if (indio_dev->channels[i].channel == num) in find_channel_by_num() 380 return &indio_dev->channels[i]; in find_channel_by_num() 389 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_get_fifo_count() [all …]
|
/linux-6.15/drivers/net/wireless/ath/ath10k/ |
D | core.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 16 #include <linux/nvmem-consumer.h> 28 #include "wmi-ops.h" 57 MODULE_PARM_DESC(skip_otp, "Skip otp failure for calibration in testmode"); 58 MODULE_PARM_DESC(cryptmode, "Crypto mode: 0-hardware, 1-software"); 474 * or 2x2 160Mhz, long-guard-interval. [all …]
|
/linux-6.15/Documentation/devicetree/bindings/thermal/ |
D | qcom-tsens.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 --- 5 $id: http://devicetree.org/schemas/thermal/qcom-tsens.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Amit Kucheria <amitk@kernel.org> 22 - description: msm8960 TSENS based 24 - enum: 25 - qcom,ipq8064-tsens 26 - qcom,msm8960-tsens 28 - description: v0.1 of TSENS [all …]
|
/linux-6.15/drivers/phy/ |
D | phy-xgene.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AppliedMicro X-Gene Multi-purpose PHY driver 10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. 19 * ----------------- 20 * | Internal | |------| 21 * | Ref PLL CMU |----| | ------------- --------- 22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes| 23 * | | | | --------- 24 * External Clock ------| | ------------- 25 * |------| [all …]
|
/linux-6.15/drivers/iio/temperature/ |
D | mlx90635.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mlx90635.c - Melexis MLX90635 contactless IR temperature sensor 7 * Driver for the Melexis MLX90635 I2C 16-bit IR thermopile sensor 32 /* EEPROM addresses - used at startup */ 39 #define MLX90635_EE_Fa 0x0026 /* Fa calibration register 32bit */ 41 #define MLX90635_EE_Ga 0x002C /* Ga calibration register 16bit */ 42 #define MLX90635_EE_Fb 0x002E /* Fb calibration register 16bit */ 43 #define MLX90635_EE_Ea 0x0030 /* Ea calibration register 32bit */ 44 #define MLX90635_EE_Eb 0x0034 /* Eb calibration register 32bit */ 45 #define MLX90635_EE_P_G 0x0038 /* P_G calibration register 16bit */ [all …]
|
/linux-6.15/drivers/net/wireless/ath/ath9k/ |
D | link.c | 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 20 * TX polling - checks if the TX engine is stuck somewhere 28 if (sc->tx99_state) in ath_tx_complete_check() 32 txq = sc->tx.txq_map[i]; in ath_tx_complete_check() 35 if (txq->axq_depth) { in ath_tx_complete_check() 36 if (txq->axq_tx_inprogress) { in ath_tx_complete_check() 41 txq->axq_tx_inprogress = true; in ath_tx_complete_check() 49 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_check() 59 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_rx_inactive_check() 62 interval = jiffies_to_msecs(jiffies - sc->rx_active_check_time); in ath_hw_rx_inactive_check() [all …]
|
/linux-6.15/drivers/phy/xilinx/ |
D | phy-zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-zynqmp.c - PHY driver for Xilinx ZynqMP GT. 5 * Copyright (C) 2018-2020 Xilinx Inc. 27 #include <dt-bindings/phy/phy.h> 33 /* TX De-emphasis parameters */ 38 /* DN Resistor calibration code parameters */ 87 /* Calibration digital logic parameters */ 184 * struct xpsgtr_ssc - structure to hold SSC settings for a lane 198 * struct xpsgtr_phy - representation of a lane 219 * struct xpsgtr_dev - representation of a ZynMP GT device [all …]
|
/linux-6.15/drivers/gpu/host1x/ |
D | mipi.c | 18 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 64 /* for data and clock lanes */ 67 /* for data lanes */ 90 unsigned long data; member 109 /* calibration settings for data lanes */ 114 /* calibration settings for clock lanes */ 139 return readl(mipi->regs + (offset << 2)); in tegra_mipi_readl() 145 writel(value, mipi->regs + (offset << 2)); in tegra_mipi_writel() 153 err = clk_enable(mipi->clk); in tegra_mipi_power_up() 160 if (mipi->soc->needs_vclamp_ref) in tegra_mipi_power_up() [all …]
|
/linux-6.15/Documentation/input/ |
D | gameport-programming.rst | 34 Please also consider enabling the gameport on the card in the ->open() 35 callback if the io is mapped to ISA space - this way it'll occupy the io 37 ->close() callback. You also can select the io address in the ->open() 70 the driver doesn't have to measure them the old way - an ADC is built into 86 return -(mode != GAMEPORT_MODE_COOKED); 95 experimentation, it is the amount of noise in the ADC data. Perfect 97 See analog.c and input.c for handling of fuzz - the fuzz value determines 99 in the data. 105 examples 1+2 or 1+3. Gameports can support internal calibration - see below, 107 more than one gameport instance simultaneously, use the ->private member of [all …]
|
/linux-6.15/drivers/input/keyboard/ |
D | qt1050.c | 1 // SPDX-License-Identifier: GPL-2.0 47 /* Reference data */ 90 /* Calibration and Reset */ 229 err = regmap_read(ts->regmap, QT1050_CHIP_ID, &val); in qt1050_identify() 231 dev_err(&ts->client->dev, "Failed to read chip ID: %d\n", err); in qt1050_identify() 236 dev_err(&ts->client->dev, "ID %d not supported\n", val); in qt1050_identify() 241 err = regmap_read(ts->regmap, QT1050_FW_VERSION, &val); in qt1050_identify() 243 dev_err(&ts->client->dev, "could not read the firmware version\n"); in qt1050_identify() 247 dev_info(&ts->client->dev, "AT42QT1050 firmware version %1d.%1d\n", in qt1050_identify() 256 struct input_dev *input = ts->input; in qt1050_irq_threaded() [all …]
|
/linux-6.15/drivers/scsi/ |
D | sense_codes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817] 9 SENSE_CODE(0x0002, "End-of-partition/medium detected") 11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected") 12 SENSE_CODE(0x0005, "End-of-data detected") 51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress") 64 SENSE_CODE(0x0417, "Logical unit not ready, calibration required") 87 SENSE_CODE(0x0801, "Logical unit communication time-out") 89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)") 102 SENSE_CODE(0x0B01, "Warning - specified temperature exceeded") [all …]
|
/linux-6.15/drivers/iio/light/ |
D | cros_ec_light_prox.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * cros_ec_light_prox - Driver for light and prox sensors behing CrosEC. 31 /* State data for ec_sensors iio driver. */ 44 u16 data = 0; in cros_ec_light_prox_read() local 47 int idx = chan->scan_index; in cros_ec_light_prox_read() 49 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read() 53 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read() 55 (s16 *)&data); in cros_ec_light_prox_read() 58 *val = data; in cros_ec_light_prox_read() 61 ret = -EINVAL; in cros_ec_light_prox_read() [all …]
|
/linux-6.15/Documentation/devicetree/bindings/phy/ |
D | mediatek,tphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek T-PHY Controller 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 The T-PHY controller supports physical layer functionality for a number of 17 Layout differences of banks between T-PHY V1 (mt8173/mt2701) and 18 T-PHY V2 (mt2712) / V3 (mt8195) when works on USB mode: 19 ----------------------------------- 62 added on V2; the FMREG bank for slew rate calibration is not used anymore [all …]
|
/linux-6.15/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 49 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 52 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 : in ath5k_eeprom_bin2freq() 55 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 75 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_eeprom_init_header() 89 if (ah->ah_ee_version < AR5K_EEPROM_VERSION_3_0) in ath5k_eeprom_init_header() 101 eep_max = (eep_max | val) - AR5K_EEPROM_INFO_BASE; in ath5k_eeprom_init_header() [all …]
|
/linux-6.15/drivers/platform/x86/ |
D | apple-gmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> 19 #include <linux/apple-gmux.h> 32 * A `Lattice XP2`_ on pre-retinas, a `Renesas R4F2113`_ on pre-T2 retinas. 41 * dual GPUs but no built-in display.) 45 * to access a pre-retina gmux are infixed ``_pio_``, those for a pre-T2 54 * https://www.nxp.com/docs/en/data-sheet/PCAL6524.pdf 68 /* switcheroo data */ 78 /* debugfs data */ 112 return inb(gmux_data->iostart + port); in gmux_pio_read8() [all …]
|
/linux-6.15/arch/arm64/boot/dts/qcom/ |
D | qcm6490-shift-otter.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h> 13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &rmtfs_mem; 28 chassis-type = "handset"; 36 #address-cells = <2>; [all …]
|
D | qcm6490-fairphone-fp5.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h> 13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &rmtfs_mem; 28 chassis-type = "handset"; 36 #address-cells = <2>; [all …]
|
/linux-6.15/drivers/net/ethernet/intel/ice/ |
D | ice_ptp_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 67 * struct ice_phy_reg_info_eth56g - ETH56G PHY register parameters 106 * Table of constants used during as part of the Vernier calibration of the Tx 113 * different link speeds, either the deskew marker for multi-lane link speeds 114 * or the Reed Solomon gearbox marker for RS-FEC. 134 * struct ice_eth56g_mac_reg_cfg - MAC config values for specific PTP registers 198 * struct ice_cgu_pll_params_e82x - E82X CGU parameters 199 * @refclk_pre_div: Reference clock pre-divisor 289 * struct ice_cgu_pll_params_e825c - E825C CGU parameters 319 /* Table of constants for Vernier calibration on E822 */ [all …]
|
/linux-6.15/drivers/thermal/qcom/ |
D | tsens.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/nvmem-consumer.h> 26 * struct tsens_irq_data - IRQ status and temperature violations 40 * Structure containing data about temperature threshold settings and 61 ssize_t data; in qfprom_read() local 68 ret = nvmem_cell_read(cell, &data); in qfprom_read() 81 if (priv->num_sensors > MAX_SENSORS) in tsens_read_calibration() 82 return -EINVAL; in tsens_read_calibration() 88 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &mode); in tsens_read_calibration() 89 if (ret == -ENOENT) in tsens_read_calibration() [all …]
|
/linux-6.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2500usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 10 Abstract: Data structures and registers for the rt2500usb module. 36 * Default offset is required for RSSI <-> dBm conversion. 238 * ACK_TIMEOUT: ACK Timeout in unit of 1-us. 315 * TXRX_CSR9: TX ACK time-out. 350 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode. 498 * BBP pre-TX registers. 499 * PHY_CSR5: BBP pre-TX CCK. 506 * BBP pre-TX registers. [all …]
|