Home
last modified time | relevance | path

Searched full:calibration (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/linux-6.12.1/drivers/soc/tegra/fuse/
Dfuse-tegra30.c156 .name = "xusb-pad-calibration",
168 .name = "sata-calibration",
215 .cell_name = "xusb-pad-calibration",
217 .con_id = "calibration",
220 .cell_name = "sata-calibration",
222 .con_id = "calibration",
316 .name = "xusb-pad-calibration",
328 .name = "sata-calibration",
364 .name = "gpu-calibration",
370 .name = "xusb-pad-calibration-ext",
[all …]
/linux-6.12.1/drivers/power/supply/
Dtwl4030_madc_battery.c78 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()
90 for (i = 0; calibration[i+1].voltage >= 0; i++) { in twl4030_madc_bat_voltscale()
91 if (volt <= calibration[i].voltage && in twl4030_madc_bat_voltscale()
92 volt >= calibration[i+1].voltage) { in twl4030_madc_bat_voltscale()
94 res = calibration[i].level - in twl4030_madc_bat_voltscale()
95 ((calibration[i].voltage - volt) * in twl4030_madc_bat_voltscale()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-bno05536 Calibration" HW function.
49 Reports the binary calibration data blob for the IMU sensors.
56 Can be 0 (calibration non even enabled) or 1 to 5 where the greater
57 the number, the better the calibration status.
64 Can be 0 (calibration non even enabled) or 1 to 5 where the greater
65 the number, the better the calibration status.
72 Can be 0 (calibration non even enabled) or 1 to 5 where the greater
73 the number, the better the calibration status.
80 Can be 0 (calibration non even enabled) or 1 to 5 where the greater
81 the number, the better the calibration status.
Dsysfs-bus-iio-adc-ad719226 Initiates the system calibration procedure. This is done on a
27 single channel at a time. Write '1' to start the calibration.
40 Reading returns a list with the possible calibration modes.
49 Sets up the calibration mode used in the system calibration
50 procedure. Reading returns the current calibration mode.
51 Writing sets the system calibration mode.
Dsysfs-driver-hid-wiimote56 balance board. It provides a single line with 3 calibration
63 Calibration data is already applied by the kernel to all input
72 pro-controller. It provides a single line with 4 calibration
78 Calibration data is already applied by the kernel to all input
82 Calibration data is detected by the kernel during device setup.
83 You can write "scan\n" into this file to re-trigger calibration.
85 set the calibration values manually.
Dsysfs-bus-iio-frequency-admv101317 Read/write value for the Local Oscillatior Feedthrough Offset Calibration I Positive
24 Read/write value for the Local Oscillatior Feedthrough Offset Calibration Q Positive side.
30 Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration I Negative
37 Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration Q Negative
/linux-6.12.1/Documentation/iio/
Dbno055.rst20 2. Calibration
28 the IMU has successfully autocalibrated) and to the calibration data blob.
32 with this calibration data. This saves the user from performing the
33 calibration procedure every time (which consist of moving the IMU in
36 The driver looks for calibration data file using two different names: first
39 IMU instance. If this file is not found, then a "generic" calibration file
43 Valid calibration file names would be e.g.
48 offsets from calibration data (if any), so that the user can apply them to
/linux-6.12.1/drivers/rtc/
Drtc-ab8500.c206 static int ab8500_rtc_set_calibration(struct device *dev, int calibration) in ab8500_rtc_set_calibration() argument
212 * Check that the calibration value (which is in units of 0.5 in ab8500_rtc_set_calibration()
218 if ((calibration < -127) || (calibration > 127)) { in ab8500_rtc_set_calibration()
228 if (calibration >= 0) in ab8500_rtc_set_calibration()
229 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration()
231 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration()
239 static int ab8500_rtc_get_calibration(struct device *dev, int *calibration) in ab8500_rtc_get_calibration() argument
253 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration()
255 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration()
266 int calibration = 0; in ab8500_sysfs_store_rtc_calibration() local
[all …]
Drtc-tps65910.c202 static int tps65910_rtc_set_calibration(struct device *dev, int calibration) in tps65910_rtc_set_calibration() argument
219 if ((calibration < -32768) || (calibration > 32766)) { in tps65910_rtc_set_calibration()
220 dev_err(dev, "RTC calibration value out of range: %d\n", in tps65910_rtc_set_calibration()
221 calibration); in tps65910_rtc_set_calibration()
225 value = (s16)calibration; in tps65910_rtc_set_calibration()
247 static int tps65910_rtc_get_calibration(struct device *dev, int *calibration) in tps65910_rtc_get_calibration() argument
261 *calibration = 0; in tps65910_rtc_get_calibration()
274 *calibration = (s16)value; in tps65910_rtc_get_calibration()
281 int calibration; in tps65910_read_offset() local
285 ret = tps65910_rtc_get_calibration(dev, &calibration); in tps65910_read_offset()
[all …]
Drtc-tps6594.c208 static int tps6594_rtc_set_calibration(struct device *dev, int calibration) in tps6594_rtc_set_calibration() argument
222 if (calibration < S16_MIN + 1 || calibration > S16_MAX) in tps6594_rtc_set_calibration()
225 value = cpu_to_le16(calibration); in tps6594_rtc_set_calibration()
238 static int tps6594_rtc_get_calibration(struct device *dev, int *calibration) in tps6594_rtc_get_calibration() argument
251 *calibration = 0; in tps6594_rtc_get_calibration()
260 *calibration = le16_to_cpu(value); in tps6594_rtc_get_calibration()
267 int calibration; in tps6594_rtc_read_offset() local
271 ret = tps6594_rtc_get_calibration(dev, &calibration); in tps6594_rtc_read_offset()
275 // Convert from RTC calibration register format to ppb format. in tps6594_rtc_read_offset()
276 tmp = calibration * PPB_MULT; in tps6594_rtc_read_offset()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/b43/
Dphy_lp.h322 #define B2062_N_IQ_CALIB B43_LP_NORTH(0x016) /* IQ Calibration (north) */
390 #define B2062_N_IQ_CALIB_CTL0 B43_LP_NORTH(0x05A) /* IQ Calibration Control 0 (north) */
391 #define B2062_N_IQ_CALIB_CTL1 B43_LP_NORTH(0x05B) /* IQ Calibration Control 1 (north) */
392 #define B2062_N_IQ_CALIB_CTL2 B43_LP_NORTH(0x05C) /* IQ Calibration Control 2 (north) */
393 #define B2062_N_CALIB_TS B43_LP_NORTH(0x05D) /* Calibration TS (north) */
394 #define B2062_N_CALIB_CTL0 B43_LP_NORTH(0x05E) /* Calibration Control 0 (north) */
395 #define B2062_N_CALIB_CTL1 B43_LP_NORTH(0x05F) /* Calibration Control 1 (north) */
396 #define B2062_N_CALIB_CTL2 B43_LP_NORTH(0x060) /* Calibration Control 2 (north) */
397 #define B2062_N_CALIB_CTL3 B43_LP_NORTH(0x061) /* Calibration Control 3 (north) */
398 #define B2062_N_CALIB_CTL4 B43_LP_NORTH(0x062) /* Calibration Control 4 (north) */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dqcom,pm8018-adc.yaml71 Note that channels c, d and f must be present for calibration.
72 These three nodes are used for absolute and ratiometric calibration
75 an interpolation calibration for all other ADCs.
92 Channel calibration type. If this property is specified
94 calibration. The available references are specified in the
96 to also specify this reference if ratiometric calibration
101 known as an absolute calibration.
103 The reference voltage pairs when using ratiometric calibration:
/linux-6.12.1/sound/soc/codecs/
Dcs-amp-lib.c56 dev_dbg(dsp->dev, "Calibration: Ambient=%#x, Status=%#x, CalR=%d\n", in _cs_amp_write_cal_coeffs()
60 dev_info(dsp->dev, "Calibration disabled due to missing firmware controls\n"); in _cs_amp_write_cal_coeffs()
84 * cs_amp_write_cal_coeffs - Write calibration data to firmware controls.
87 * @data: Pointer to calibration data.
147 dev_dbg(dev, "Calibration: Size=%d, Amp Count=%d\n", efi_data->size, efi_data->count); in cs_amp_get_cal_efi_buffer()
160 dev_err(dev, "Failed to read calibration data from EFI: %d\n", ret); in cs_amp_get_cal_efi_buffer()
213 dev_warn(dev, "Calibration entry %d does not match silicon ID", amp_index); in _cs_amp_get_efi_calibration_data()
220 dev_warn(dev, "No calibration for silicon ID %#llx\n", target_uid); in _cs_amp_get_efi_calibration_data()
230 * cs_amp_get_efi_calibration_data - get an entry from calibration data in EFI.
240 * Search the calibration data for a non-zero calTarget that matches
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mmc/
Dnvidia,tegra20-sdhci.yaml113 description: Specify drive strength calibration offsets for 1.8 V
119 automatic calibration times out on a 1.8 V signaling mode.
123 description: Specify drive strength calibration offsets for 3.3 V
129 automatic calibration times out on a 3.3 V signaling mode.
133 description: Specify drive strength calibration offsets for SDR104 mode.
137 description: Specify drive strength calibration offsets for HS400 mode.
141 description: Specify drive strength calibration offsets for 1.8 V
147 automatic calibration times out on a 1.8 V signaling mode.
151 description: Specify drive strength calibration offsets for 3.3 V
164 automatic calibration times out on a 3.3 V signaling mode.
[all …]
/linux-6.12.1/arch/x86/kernel/
Dtsc.c505 * or PIT for the fast calibration to work.
632 pr_info("Fast TSC calibration failed\n"); in quick_pit_calibrate()
651 pr_info("Fast TSC calibration using PIT\n"); in quick_pit_calibrate()
762 * Run 5 calibration loops to get the lowest frequency value in pit_hpet_ptimer_calibrate_cpu()
763 * (the best estimate). We use two different calibration modes in pit_hpet_ptimer_calibrate_cpu()
782 * calibration delay loop as we have to wait for a certain in pit_hpet_ptimer_calibrate_cpu()
797 * calibration, which will take at least 50ms, and in pit_hpet_ptimer_calibrate_cpu()
806 /* Pick the lowest PIT TSC calibration so far */ in pit_hpet_ptimer_calibrate_cpu()
830 * If both calibration results are inside a 10% window in pit_hpet_ptimer_calibrate_cpu()
831 * then we can be sure, that the calibration in pit_hpet_ptimer_calibrate_cpu()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/soc/mediatek/
Dmtk-svs.yaml47 Phandle to the calibration data provided by a nvmem device.
54 - const: svs-calibration-data
55 - const: t-calibration-data
92 nvmem-cell-names = "svs-calibration-data", "t-calibration-data";
/linux-6.12.1/drivers/thermal/
Damlogic_thermal.c15 * A B m n : calibration parameters
16 * u_efuse : fused calibration value, it's a signed 16 bits value
68 * @A: calibration parameters
69 * @B: calibration parameters
70 * @m: calibration parameters
71 * @n: calibration parameters
84 * @u_efuse_off: register offset to read fused calibration value
85 * @calibration_parameters: calibration parameters structure pointer
149 "tsensor thermal calibration not supported: 0x%x!\n", in amlogic_thermal_initialize()
Dqoriq_thermal.c189 const u32 *calibration; in qoriq_tmu_calibration() local
209 calibration = of_get_property(np, "fsl,tmu-calibration", &len); in qoriq_tmu_calibration()
210 if (calibration == NULL || len % 8) { in qoriq_tmu_calibration()
211 dev_err(dev, "invalid calibration data.\n"); in qoriq_tmu_calibration()
215 for (i = 0; i < len; i += 8, calibration += 2) { in qoriq_tmu_calibration()
216 val = of_read_number(calibration, 1); in qoriq_tmu_calibration()
218 val = of_read_number(calibration + 1, 1); in qoriq_tmu_calibration()
335 ret = qoriq_tmu_calibration(dev, data); /* TMU calibration */ in qoriq_tmu_probe()
/linux-6.12.1/Documentation/devicetree/bindings/net/wireless/
Dmarvell,sd8787.yaml39 description: Calibration data for the 2GHz band.
44 description: Calibration data for sub-band 0 in the 5GHz band.
49 description: Calibration data for sub-band 1 in the 5GHz band.
54 description: Calibration data for sub-band 2 in the 5GHz band.
59 description: Calibration data for sub-band 3 in the 5GHz band.
/linux-6.12.1/drivers/iio/chemical/
Datlas-sensor.c257 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ph_calibration()
260 dev_warn(dev, "device missing mid point calibration\n"); in atlas_check_ph_calibration()
263 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ph_calibration()
292 dev_warn(dev, "device missing dry point calibration\n"); in atlas_check_ec_calibration()
295 dev_warn(dev, "device using single point calibration\n"); in atlas_check_ec_calibration()
298 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ec_calibration()
301 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ec_calibration()
339 dev_warn(dev, "device missing atmospheric pressure calibration\n"); in atlas_check_do_calibration()
342 dev_warn(dev, "device missing dissolved oxygen calibration\n"); in atlas_check_do_calibration()
352 int (*calibration)(struct atlas_data *data); member
[all …]
/linux-6.12.1/drivers/iio/magnetometer/
Dyamaha-yas530.c153 /* Linearization calibration x, y1, y2 */
156 /* Temperature compensation calibration */
158 /* Misc calibration coefficients */
179 * @get_calibration_data: function pointer to get calibration data
180 * @dump_calibration: function pointer to dump calibration for debugging
211 * @calibration: calibration settings from the OTP storage
226 struct yas5xx_calibration calibration; member
370 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_measure()
406 /* The second version of YAS537 needs to include calibration coefficients */ in yas537_measure()
434 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_linearize()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/rtc/
Dxlnx,zynqmp-rtc.yaml47 calibration:
49 calibration value for 1 sec period which will
50 be programmed directly to calibration register.
80 calibration = <0x198233>;
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dallwinner,sun8i-a83t-ths.yaml51 description: Calibration data for thermal sensors
54 const: calibration
149 nvmem-cell-names = "calibration";
162 nvmem-cell-names = "calibration";
175 nvmem-cell-names = "calibration";
/linux-6.12.1/Documentation/hwmon/
Dina209.rst27 calibration multiplier to scale the displayed current and power values.
83 The power and current registers in this chip require that the calibration
87 the ina2xx driver for this purpose. If calibration register data is not provided
88 via platform data, the driver checks if the calibration register has been
91 programmed into the calibration register.
/linux-6.12.1/init/
Dcalibrate.c2 /* calibrate.c: default delay calibration
96 * >= 12.5% apart, redo calibration. in calibrate_delay_direct()
180 * For the boot cpu we can skip the delay calibration and assign it a value
183 * the cpu frequency, hence do the calibration for those.
254 * Check if cpu calibration delay is already known. For example,
256 * with the same calibration delay.
258 * Architectures should override this function if a faster calibration
267 * Indicate the cpu delay calibration is done. This can be used by

12345678910>>...33