| /kernel/linux/linux-6.6/drivers/iio/magnetometer/ |
| D | yamaha-yas530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance) 8 * YAS532 MS-3R (2011 Samsung Galaxy S4) 9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L) 11 * YAS535 MS-6C 12 * YAS536 MS-3W 13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7) 14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN) 57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */ 58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/mediatek/ |
| D | mtk-svs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Roger Lu <roger.lu@mediatek.com> 11 - Matthias Brugger <matthias.bgg@gmail.com> 12 - Kevin Hilman <khilman@kernel.org> 24 - mediatek,mt8183-svs 25 - mediatek,mt8192-svs 38 clock-names: [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-driver-hid-wiimote | 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 37 device couldn't be detected or loaded. "generic" means, that the 38 device couldn't be detected but supports basic Wii Remote 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 56 balance board. It provides a single line with 3 calibration 63 Calibration data is already applied by the kernel to all input 64 values but may be used by user-space to perform other 72 pro-controller. It provides a single line with 4 calibration [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-driver-hid-wiimote | 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 37 device couldn't be detected or loaded. "generic" means, that the 38 device couldn't be detected but supports basic Wii Remote 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 56 balance board. It provides a single line with 3 calibration 63 Calibration data is already applied by the kernel to all input 64 values but may be used by user-space to perform other 72 pro-controller. It provides a single line with 4 calibration [all …]
|
| D | sysfs-bus-iio-bno055 | 3 Contact: linux-iio@vger.kernel.org 6 application of scale is m/s^2. Note that this doesn't affects 12 Contact: linux-iio@vger.kernel.org 21 Contact: linux-iio@vger.kernel.org 27 Contact: linux-iio@vger.kernel.org 33 Contact: linux-iio@vger.kernel.org 36 Calibration" HW function. 40 Contact: linux-iio@vger.kernel.org 47 Contact: linux-iio@vger.kernel.org 49 Reports the binary calibration data blob for the IMU sensors. [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 #include <asm/intel-family.h> 56 struct cyc2ns_data data[2]; /* 0 + 2*16 = 32 */ member 69 __always_inline void cyc2ns_read_begin(struct cyc2ns_data *data) in cyc2ns_read_begin() argument 79 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin() 80 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in cyc2ns_read_begin() 81 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in cyc2ns_read_begin() 106 * cyc2ns_scale needs to be a 32-bit value so that 32-bit multiplication 107 * (64-bit result) can be used. 112 * -johnstul@us.ibm.com "math is hard, lets go shopping!" [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include <asm/intel-family.h> 59 struct cyc2ns_data data[2]; /* 0 + 2*16 = 32 */ member 72 __always_inline void __cyc2ns_read(struct cyc2ns_data *data) in __cyc2ns_read() argument 80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in __cyc2ns_read() 81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read() 82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in __cyc2ns_read() 87 __always_inline void cyc2ns_read_begin(struct cyc2ns_data *data) in cyc2ns_read_begin() argument 90 __cyc2ns_read(data); in cyc2ns_read_begin() 113 * cyc2ns_scale needs to be a 32-bit value so that 32-bit multiplication [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
| D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/ |
| D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/ |
| D | sun8i_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/nvmem-consumer.h> 95 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp() 102 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp() 104 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp() 106 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp() 112 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp() 115 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp() 116 0x4 * s->id, &val); in sun8i_ths_get_temp() 118 /* ths have no data yet */ in sun8i_ths_get_temp() [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | sun8i_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/nvmem-consumer.h> 96 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp() 103 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp() 105 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp() 107 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp() 110 static int sun8i_ths_get_temp(void *data, int *temp) in sun8i_ths_get_temp() argument 112 struct tsensor *s = data; in sun8i_ths_get_temp() 113 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp() 116 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp() [all …]
|
| D | mtk_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 113 /* The calibration coefficient of sensor */ 117 * Layout of the fuses providing the calibration data 119 * MT8183 has 6 sensors and needs 6 VTS calibration data. 120 * MT8173 has 5 sensors and needs 5 VTS calibration data. 121 * MT2701 has 3 sensors and needs 3 VTS calibration data. 122 * MT2712 has 4 sensors and needs 4 VTS calibration data. 138 * Layout of the fuses providing the calibration data 183 /* The calibration coefficient of sensor */ [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/mediatek/ |
| D | auxadc_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 115 /* The calibration coefficient of sensor */ 119 #define MT8173_TEMP_MIN -20000 123 * Layout of the fuses providing the calibration data 125 * MT8183 has 6 sensors and needs 6 VTS calibration data. 126 * MT8173 has 5 sensors and needs 5 VTS calibration data. 127 * MT2701 has 3 sensors and needs 3 VTS calibration data. 128 * MT2712 has 4 sensors and needs 4 VTS calibration data. 144 * Layout of the fuses providing the calibration data [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/partitions/ |
| D | tplink,safeloader-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TP-Link SafeLoader partitions 10 TP-Link home routers store various data on flash (e.g. bootloader, 11 flash layout, firmware, product info, configuration, calibration 12 data). That requires flash partitioning. 14 Flash space layout of TP-Link devices is stored on flash itself using 15 a custom ASCII-based format. That format was first found in TP-Link [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-ab8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 69 /* Request a data read */ in ab8500_rtc_read_time() 135 /* Request a data write */ in ab8500_rtc_set_time() 154 alarm->enabled = 1; in ab8500_rtc_read_alarm() 156 alarm->enabled = 0; in ab8500_rtc_read_alarm() 158 alarm->pending = 0; in ab8500_rtc_read_alarm() 171 rtc_time64_to_tm(secs, &alarm->time); in ab8500_rtc_read_alarm() 191 secs = rtc_tm_to_time64(&alarm->time); in ab8500_rtc_set_alarm() 195 * Since our RTC doesn't support alarm resolution less than 1min, in ab8500_rtc_set_alarm() [all …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | cb_pcidda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for the ComputerBoards / MeasurementComputing PCI-DDA series. 9 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 15 * Description: MeasurementComputing PCI-DDA series 16 * Devices: [Measurement Computing] PCI-DDA08/12 (pci-dda08/12), 17 * PCI-DDA04/12 (pci-dda04/12), PCI-DDA02/12 (pci-dda02/12), 18 * PCI-DDA08/16 (pci-dda08/16), PCI-DDA04/16 (pci-dda04/16), 19 * PCI-DDA02/16 (pci-dda02/16) 51 #define DACALIBRATION1 4 /* D/A CALIBRATION REGISTER 1 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | cb_pcidda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for the ComputerBoards / MeasurementComputing PCI-DDA series. 9 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 15 * Description: MeasurementComputing PCI-DDA series 16 * Devices: [Measurement Computing] PCI-DDA08/12 (pci-dda08/12), 17 * PCI-DDA04/12 (pci-dda04/12), PCI-DDA02/12 (pci-dda02/12), 18 * PCI-DDA08/16 (pci-dda08/16), PCI-DDA04/16 (pci-dda04/16), 19 * PCI-DDA02/16 (pci-dda02/16) 53 #define DACALIBRATION1 4 /* D/A CALIBRATION REGISTER 1 */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/firmware/ |
| D | built-in-fw.rst | 2 Built-in firmware 5 Firmware can be built-in to the kernel, this means building the firmware 8 directly. You can enable built-in firmware using the kernel configuration 18 * Firmware is needed for accessing the boot device, and the user doesn't 22 able to make use of built-in firmware: 24 * Legalese - firmware is non-GPL compatible 28 * Some firmware files may be really large in size. The remote-proc subsystem 31 dynamically, an example is calibration data for some WiFi chipsets. This 32 calibration data can be unique per sold device.
|
| /kernel/linux/linux-5.10/Documentation/driver-api/firmware/ |
| D | built-in-fw.rst | 2 Built-in firmware 5 Firmware can be built-in to the kernel, this means building the firmware 8 directly. You can enable built-in firmware using the kernel configuration 18 * Firmware is needed for accessing the boot device, and the user doesn't 22 able to make use of built-in firmware: 24 * Legalese - firmware is non-GPL compatible 28 * Some firmware files may be really large in size. The remote-proc subsystem 31 dynamically, an example is calibration data for some WiFi chipsets. This 32 calibration data can be unique per sold device.
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 11 #include <linux/dma-mapping.h> 15 #include <linux/iio/timer/stm32-lptim-trigger.h> 16 #include <linux/iio/timer/stm32-timer-trigger.h> 29 #include "stm32-adc-core.h" 31 /* Number of linear calibration shadow registers / LINCALRDYW control bits */ 55 /* extsel - trigger mux selection value */ 81 * struct stm32_adc_trig_info - ADC trigger info 91 * struct stm32_adc_calib - optional adc calibration data [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/thermal/ |
| D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /kernel/linux/linux-5.10/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() 65 ieee80211_queue_delayed_work(sc->hw, &sc->hw_check_work, in ath_hw_check_work() 74 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check() [all …]
|
| /kernel/linux/linux-6.6/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() 65 ieee80211_queue_delayed_work(sc->hw, &sc->hw_check_work, in ath_hw_check_work() 74 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
| D | test_sony.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 43 for x in range(-32000, 32000, 4000): 51 # to inverse calibration, followed by calibration by hid-sony. 52 assert x - 1 <= value <= x + 1 54 for y in range(-32000, 32000, 4000): 61 assert y - 1 <= value <= y + 1 63 for z in range(-32000, 32000, 4000): 70 assert z - 1 <= value <= z + 1 76 for rx in range(-2000000, 2000000, 200000): [all …]
|