Home
last modified time | relevance | path

Searched +full:calibration +full:- +full:data (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/Linux-v5.15/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath10k.txt4 - compatible: Should be one of the following:
6 * "qcom,ipq4019-wifi"
7 * "qcom,wcn3990-wifi"
9 PCI based devices uses compatible string "qcom,ath10k" and takes calibration
10 data along with board specific data via "qcom,ath10k-calibration-data".
13 AHB based devices (i.e. ipq4019) uses compatible string "qcom,ipq4019-wifi"
15 "qcom,ath10k-calibration-data"). It uses "qcom,ath10k-pre-calibration-data"
16 to carry pre calibration data.
18 In general, entry "qcom,ath10k-pre-calibration-data" and
19 "qcom,ath10k-calibration-data" conflict with each other and only one
[all …]
Dmarvell-8xxx.txt2 ------
10 - compatible : should be one of the following:
19 - marvell,caldata* : A series of properties with marvell,caldata prefix,
20 represent calibration data downloaded to the device during
21 initialization. This is an array of unsigned 8-bit values.
24 "marvell,caldata-txpwrlimit-2g" (length = 566).
25 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502).
26 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688).
27 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750).
28 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502).
[all …]
/Linux-v5.15/drivers/thermal/
Damlogic_thermal.c1 // SPDX-License-Identifier: GPL-2.0+
10 * U = ---------, Uptat = ---------
13 * Temperature = A * ( Uptat + u_efuse / 2^16 )- B
15 * A B m n : calibration parameters
16 * u_efuse : fused calibration value, it's a signed 16 bits value
71 * @A: calibration parameters
72 * @B: calibration parameters
73 * @m: calibration parameters
74 * @n: calibration parameters
87 * @u_efuse_off: register offset to read fused calibration value
[all …]
Dqoriq_thermal.c1 // SPDX-License-Identifier: GPL-2.0
67 * Thermal zone data
82 return container_of(s, struct qoriq_tmu_data, sensor[s->id]); in qoriq_sensor_to_data()
109 if (regmap_read_poll_timeout(qdata->regmap, in tmu_get_temp()
110 REGS_TRITSR(qsensor->id), in tmu_get_temp()
115 return -ENODATA; in tmu_get_temp()
117 if (qdata->ver == TMU_VER1) in tmu_get_temp()
134 if (qdata->ver == TMU_VER1) { in qoriq_tmu_register_tmu_zone()
135 regmap_write(qdata->regmap, REGS_TMR, in qoriq_tmu_register_tmu_zone()
138 regmap_write(qdata->regmap, REGS_V2_TMSR, TMR_MSITE_ALL); in qoriq_tmu_register_tmu_zone()
[all …]
Dsun8i_thermal.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/nvmem-consumer.h>
97 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp()
104 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp()
106 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp()
108 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp()
111 static int sun8i_ths_get_temp(void *data, int *temp) in sun8i_ths_get_temp() argument
113 struct tsensor *s = data; in sun8i_ths_get_temp()
114 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp()
117 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp()
[all …]
Dmtk_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/nvmem-consumer.h>
115 /* The calibration coefficient of sensor */
119 * Layout of the fuses providing the calibration data
121 * MT8183 has 6 sensors and needs 6 VTS calibration data.
122 * MT8173 has 5 sensors and needs 5 VTS calibration data.
123 * MT2701 has 3 sensors and needs 3 VTS calibration data.
124 * MT2712 has 4 sensors and needs 4 VTS calibration data.
140 * Layout of the fuses providing the calibration data
185 /* The calibration coefficient of sensor */
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-driver-hid-wiimote24 Starting with kernel-version 3.11 Motion Plus hotplugging is
26 extension. You will get uevent notifications for the motion-plus
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
73 values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data
74 is prefixed with a +/-. Each value is a signed 16bit number.
[all …]
/Linux-v5.15/drivers/iio/temperature/
Dmlx90632.c1 // SPDX-License-Identifier: GPL-2.0
3 * mlx90632.c - Melexis MLX90632 contactless IR temperature sensor
7 * Driver for the Melexis MLX90632 I2C 16-bit IR thermopile sensor
29 /* EEPROM addresses - used at startup */
33 #define MLX90632_EE_P_R 0x240c /* P_R calibration register 32bit */
34 #define MLX90632_EE_P_G 0x240e /* P_G calibration register 32bit */
35 #define MLX90632_EE_P_T 0x2410 /* P_T calibration register 32bit */
36 #define MLX90632_EE_P_O 0x2412 /* P_O calibration register 32bit */
37 #define MLX90632_EE_Aa 0x2414 /* Aa calibration register 32bit */
38 #define MLX90632_EE_Ab 0x2416 /* Ab calibration register 32bit */
[all …]
/Linux-v5.15/drivers/iio/chemical/
Datlas-sensor.c1 // SPDX-License-Identifier: GPL-2.0+
3 * atlas-sensor.c - Support for Atlas Scientific OEM SM sensors
5 * Copyright (C) 2015-2019 Konsulko Group
94 /* 96-bit data + 32-bit pad + 64-bit timestamp */
108 for (; spec->type != IIO_TIMESTAMP; spec++) in atlas_buffer_num_channels()
135 .scan_index = -1
179 .scan_index = -1
221 .scan_index = -1
241 static int atlas_check_ph_calibration(struct atlas_data *data) in atlas_check_ph_calibration() argument
243 struct device *dev = &data->client->dev; in atlas_check_ph_calibration()
[all …]
/Linux-v5.15/drivers/rtc/
Drtc-ab8500.c1 // 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()
196 * return -EINVAL, so UIE EMUL can take it up, incase of UIE_ON in ab8500_rtc_set_alarm()
[all …]
/Linux-v5.15/arch/x86/kernel/
Dtsc.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #include <asm/intel-family.h>
57 struct cyc2ns_data data[2]; /* 0 + 2*16 = 32 */ member
70 __always_inline void cyc2ns_read_begin(struct cyc2ns_data *data) in cyc2ns_read_begin() argument
80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin()
81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in cyc2ns_read_begin()
82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in cyc2ns_read_begin()
107 * cyc2ns_scale needs to be a 32-bit value so that 32-bit multiplication
108 * (64-bit result) can be used.
113 * -johnstul@us.ibm.com "math is hard, lets go shopping!"
[all …]
/Linux-v5.15/drivers/iio/magnetometer/
Dyamaha-yas530.c1 // 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, Xiaomi)
14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN)
49 #define YAS5XX_OFFSET_X 0x85 /* [-31 .. 31] */
50 #define YAS5XX_OFFSET_Y1 0x86 /* [-31 .. 31] */
[all …]
/Linux-v5.15/Documentation/hwmon/
Dina209.rst6 * Burr-Brown / Texas Instruments INA209
10 Addresses scanned: -
16 - Paul Hays <Paul.Hays@cattail.ca>
17 - Ira W. Snyder <iws@ovro.caltech.edu>
18 - Guenter Roeck <linux@roeck-us.net>
22 -----------
24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side
27 calibration multiplier to scale the displayed current and power values.
31 -------------
76 update_interval data conversion time; affects number of samples used
[all …]
/Linux-v5.15/drivers/comedi/drivers/
Djr3_pci.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 * The raw data is stored in a format which facilitates rapid
30 * format for a single channel of data. Each channel takes four,
31 * two-byte words.
38 * Raw_data is the raw data received directly from the sensor. The
39 * sensor data stream is capable of representing 16 different
42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel
43 * 7 contains the sensor's calibration data. The use of channels 8-15
55 * filtered force data.
139 * was detected in the on-board RAM during the power-up
[all …]
Dcb_pcidda.c1 // 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 …]
Dadv_pci1724.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Comedi driver for the Advantech PCI-1724U card.
9 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
15 * Description: Advantech PCI-1724U
16 * Devices: [Advantech] PCI-1724U (adv_pci1724)
18 * Updated: 2013-02-09
24 * Subdevice 1 is the offset calibration for the analog output.
25 * Subdevice 2 is the gain calibration for the analog output.
27 * The calibration offset and gains have quite a large effect on the
[all …]
/Linux-v5.15/drivers/power/supply/
Dtwl4030_madc_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
57 return (madc_read(bt->channel_ichg) > 0) ? 1 : 0; in twl4030_madc_bat_get_charging_status()
62 return madc_read(bt->channel_vbat); in twl4030_madc_bat_get_voltage()
67 return madc_read(bt->channel_ichg) * 1000; in twl4030_madc_bat_get_current()
72 return madc_read(bt->channel_temp) * 10; in twl4030_madc_bat_get_temp()
78 struct twl4030_madc_bat_calibration *calibration; in twl4030_madc_bat_voltscale() local
83 calibration = bat->pdata->charging; in twl4030_madc_bat_voltscale()
85 calibration = bat->pdata->discharging; in twl4030_madc_bat_voltscale()
87 if (volt > calibration[0].voltage) { in twl4030_madc_bat_voltscale()
88 res = calibration[0].level; in twl4030_madc_bat_voltscale()
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath5k/
Dphy.c2 * 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 …]
/Linux-v5.15/drivers/thermal/st/
Dst_thermal.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited
25 struct device *dev = sensor->dev; in st_thermal_alloc_regfields()
26 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields()
27 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields()
29 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
32 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
35 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
36 reg_fields[DATA]); in st_thermal_alloc_regfields()
38 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Dmediatek,dsi-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
12 - Philipp Zabel <p.zabel@pengutronix.de>
13 - Chunfeng Yun <chunfeng.yun@mediatek.com>
15 description: The MIPI DSI PHY supports up to 4-lane output.
19 pattern: "^dsi-phy@[0-9a-f]+$"
23 - items:
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/thermal/
Dmediatek-thermal.txt4 which measures the on-SoC temperatures. This device does not have its own ADC,
11 - compatible:
12 - "mediatek,mt8173-thermal" : For MT8173 family of SoCs
13 - "mediatek,mt2701-thermal" : For MT2701 family of SoCs
14 - "mediatek,mt2712-thermal" : For MT2712 family of SoCs
15 - "mediatek,mt7622-thermal" : For MT7622 SoC
16 - "mediatek,mt8183-thermal" : For MT8183 family of SoCs
17 - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs
18 - reg: Address range of the thermal controller
19 - interrupts: IRQ for the thermal controller
[all …]
Dimx-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/imx-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Anson Huang <Anson.Huang@nxp.com>
16 - fsl,imx6q-tempmon
17 - fsl,imx6sx-tempmon
18 - fsl,imx7d-tempmon
32 nvmem-cells:
[all …]
Dallwinner,sun8i-a83t-ths.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vasily Khoruzhick <anarsoul@gmail.com>
11 - Yangtao Li <tiny.windzz@gmail.com>
16 - allwinner,sun8i-a83t-ths
17 - allwinner,sun8i-h3-ths
18 - allwinner,sun8i-r40-ths
19 - allwinner,sun50i-a64-ths
[all …]
/Linux-v5.15/drivers/iio/adc/
Dstm32-adc.c1 // 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 …]
/Linux-v5.15/drivers/phy/marvell/
Dphy-mvebu-a3700-utmi.c1 // SPDX-License-Identifier: GPL-2.0
59 * struct mvebu_a3700_utmi_caps - PHY capabilities
62 * - The UTMI PHY wired to the USB3/USB2 controller (otg)
63 * - The UTMI PHY wired to the USB2 controller (host only)
72 * struct mvebu_a3700_utmi - PHY driver data
89 struct device *dev = &phy->dev; in mvebu_a3700_utmi_phy_power_on()
90 int usb32 = utmi->caps->usb32; in mvebu_a3700_utmi_phy_power_on()
98 reg = readl(utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on()
102 writel(reg, utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on()
105 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on()
[all …]

12345678910>>...20