Home
last modified time | relevance | path

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

12345678910>>...21

/linux/Documentation/ABI/testing/
H A 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.
H A 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.
H A 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
H A Dsysfs-bus-iio-chemical-sunrise-co26 Writing '1' triggers a 'Factory' calibration cycle.
13 Writing '1' triggers a 'Background' calibration cycle.
25 - 'error_calibration': Calibration has failed
/linux/drivers/rtc/
H A 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 …]
H A 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 …]
H A Drtc-tps6594.c207 static int tps6594_rtc_set_calibration(struct device *dev, int calibration) in tps6594_rtc_set_calibration() argument
221 if (calibration < S16_MIN + 1 || calibration > S16_MAX) in tps6594_rtc_set_calibration()
224 value = cpu_to_le16(calibration); in tps6594_rtc_set_calibration()
237 static int tps6594_rtc_get_calibration(struct device *dev, int *calibration) in tps6594_rtc_get_calibration() argument
250 *calibration = 0; in tps6594_rtc_get_calibration()
259 *calibration = le16_to_cpu(value); in tps6594_rtc_get_calibration()
266 int calibration; in tps6594_rtc_read_offset() local
270 ret = tps6594_rtc_get_calibration(dev, &calibration); in tps6594_rtc_read_offset()
274 // Convert from RTC calibration register format to ppb format. in tps6594_rtc_read_offset()
275 tmp = calibration * PPB_MULT; in tps6594_rtc_read_offset()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A 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/sound/soc/codecs/
H A Dcs-amp-lib.c139 dev_dbg(dsp->dev, "Calibration: Ambient=%#x, Status=%#x, CalR=%d\n", in _cs_amp_write_cal_coeffs()
143 dev_info(dsp->dev, "Calibration disabled due to missing firmware controls\n"); in _cs_amp_write_cal_coeffs()
175 dev_info(dsp->dev, "Calibration disabled due to missing firmware controls\n"); in _cs_amp_read_cal_coeffs()
206 * cs_amp_write_cal_coeffs - Write calibration data to firmware controls. in cs_amp_write_cal_coeffs()
209 * @data: Pointer to calibration data. in cs_amp_write_cal_coeffs()
225 * cs_amp_read_cal_coeffs - Read calibration data from firmware controls. in cs_amp_read_cal_coeffs()
228 * @data: Pointer to calibration data where results will be written. in cs_amp_read_cal_coeffs()
244 * cs_amp_write_ambient_temp - write value to calibration ambient temperature in cs_amp_write_ambient_temp()
383 dev_dbg(dev, "Calibration: Size=%d, Amp Count=%d\n", efi_data->size, efi_data->count); in cs_amp_set_cal_efi_buffer()
400 dev_err(dev, "Failed to read calibration dat in _cs_amp_get_efi_calibration_data()
[all...]
/linux/Documentation/devicetree/bindings/soc/mediatek/
H A 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/Documentation/sound/codecs/
H A Dcs35l56.rst175 [11.401536] cs35l56 sdw:0:0:01fa:3556:01:0: Calibration applied
189 [10.655237] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Calibration applied
217 Calibration applied
218 Factory calibration data in EFI was written to the amplifier.
237 Calibration disabled due to missing firmware controls
238 Driver was not able to write EFI calibration data to firmware registers.
248 Failed to write calibration
249 Same meaning and cause as "Calibration disabled due to missing firmware
252 Failed to read calibration data from EFI
253 Factory calibration data in EFI is missing, empty or corrupt.
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,spmi-vadc-common.yaml55 Channel calibration type.
58 channel calibration. If property is not found, channel will be
60 known as absolute calibration.
63 calibration. If property is not found, channel will be calibrated
64 with 0V and 1.25V reference channels, also known as absolute calibration.
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dqcom,ath12k-wsi.yaml55 qcom,calibration-variant:
58 String to uniquely identify variant of the calibration data for designs
61 qcom,ath12k-calibration-variant:
65 String to uniquely identify variant of the calibration data for designs
113 qcom,calibration-variant = "RDP433_1";
149 qcom,calibration-variant = "RDP433_2";
186 qcom,calibration-variant = "RDP433_3";
/linux/drivers/iio/chemical/
H A Datlas-sensor.c253 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ph_calibration()
256 dev_warn(dev, "device missing mid point calibration\n"); in atlas_check_ph_calibration()
259 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ph_calibration()
288 dev_warn(dev, "device missing dry point calibration\n"); in atlas_check_ec_calibration()
291 dev_warn(dev, "device using single point calibration\n"); in atlas_check_ec_calibration()
294 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ec_calibration()
297 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ec_calibration()
335 dev_warn(dev, "device missing atmospheric pressure calibration\n"); in atlas_check_do_calibration()
338 dev_warn(dev, "device missing dissolved oxygen calibration\n"); in atlas_check_do_calibration()
348 int (*calibration)(struct atlas_data *data); member
[all …]
/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c152 /* Linearization calibration x, y1, y2 */
155 /* Temperature compensation calibration */
157 /* Misc calibration coefficients */
179 * @get_calibration_data: function pointer to get calibration data
180 * @dump_calibration: function pointer to dump calibration for debugging
212 * @calibration: calibration settings from the OTP storage
227 struct yas5xx_calibration calibration; member
371 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_measure()
408 /* The second version of YAS537 needs to include calibration coefficients */ in yas537_measure()
436 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_linearize()
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A 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/Documentation/hwmon/
H A 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/init/
H A Dcalibrate.c2 /* calibrate.c: default delay calibration
98 * >= 12.5% apart, redo calibration. in calibrate_delay_direct()
182 * For the boot cpu we can skip the delay calibration and assign it a value
185 * the cpu frequency, hence do the calibration for those.
256 * Check if cpu calibration delay is already known. For example,
258 * with the same calibration delay.
260 * Architectures should override this function if a faster calibration
269 * Indicate the cpu delay calibration is done. This can be used by
/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c50 * - Automatic Gain Control (AGC) calibration
52 * - Noise Floor calibration
54 * - I/Q imbalance calibration (QAM correction)
56 * - Calibration due to thermal changes (gain_F)
461 /* Skip if gain calibration is inactive or in ath5k_hw_request_rfgain_probe()
669 * ath5k_hw_gainf_calibrate() - Do a gain_F calibration
672 * Main callback for thermal RF gain calibration engine
747 * with Gain_F calibration
1487 PHY calibration
1491 * DOC: PHY Calibration routines
[all …]
/linux/drivers/iio/temperature/
H A Dmlx90632.c36 #define MLX90632_EE_P_R 0x240c /* P_R calibration register 32bit */
37 #define MLX90632_EE_P_G 0x240e /* P_G calibration register 32bit */
38 #define MLX90632_EE_P_T 0x2410 /* P_T calibration register 32bit */
39 #define MLX90632_EE_P_O 0x2412 /* P_O calibration register 32bit */
40 #define MLX90632_EE_Aa 0x2414 /* Aa calibration register 32bit */
41 #define MLX90632_EE_Ab 0x2416 /* Ab calibration register 32bit */
42 #define MLX90632_EE_Ba 0x2418 /* Ba calibration register 32bit */
43 #define MLX90632_EE_Bb 0x241a /* Bb calibration register 32bit */
44 #define MLX90632_EE_Ca 0x241c /* Ca calibration register 32bit */
45 #define MLX90632_EE_Cb 0x241e /* Cb calibration register 32bit */
[all …]
/linux/drivers/thermal/
H A Dqoriq_thermal.c226 const u32 *calibration; in qoriq_tmu_calibration() local
246 calibration = of_get_property(np, "fsl,tmu-calibration", &len); in qoriq_tmu_calibration()
247 if (calibration == NULL || len % 8) { in qoriq_tmu_calibration()
248 dev_err(dev, "invalid calibration data.\n"); in qoriq_tmu_calibration()
252 for (i = 0; i < len; i += 8, calibration += 2) { in qoriq_tmu_calibration()
253 val = of_read_number(calibration, 1); in qoriq_tmu_calibration()
255 val = of_read_number(calibration + 1, 1); in qoriq_tmu_calibration()
373 ret = qoriq_tmu_calibration(dev, data); /* TMU calibration */ in qoriq_tmu_probe()
H A Dsun8i_thermal.c137 * do this, the correct calibration formula is hard to know. in sun8i_ths_get_temp()
250 * The calibration data on the H6 is the ambient temperature and in sun50i_h6_ths_calibrate()
256 * register values and this will become a calibration offset. in sun50i_h6_ths_calibrate()
273 * Calibration data is CALIBRATE_DEFAULT - (calculated in sun50i_h6_ths_calibrate()
282 * Calibration value more than 12-bit, but calibration in sun50i_h6_ths_calibrate()
284 * still work without calibration, although the data in sun50i_h6_ths_calibrate()
309 calcell = nvmem_cell_get(dev, "calibration"); in sun8i_ths_calibrate()
314 * Even if the external calibration data stored in sid is in sun8i_ths_calibrate()
318 * The default value of calibration register is 0x800 for in sun8i_ths_calibrate()
319 * every sensor, and the calibration value is usually 0x7xx in sun8i_ths_calibrate()
[all …]
/linux/drivers/iio/adc/
H A Dstm32-adc.c33 /* Number of linear calibration shadow registers / LINCALRDYW control bits */
122 * struct stm32_adc_calib - optional adc calibration data
123 * @lincalfact: Linearity calibration factor
124 * @lincal_saved: Indicates that linear calibration factors are saved
145 * @vrefint_cal: vrefint calibration value from nvmem
203 * @has_linearcal: linear calibration support flag
256 * @cal: optional calibration data on some devices
1046 * stm32h7_adc_read_selfcalib() - read calibration shadow regs, save result
1056 /* Read linearity calibration */ in stm32h7_adc_read_selfcalib()
1083 * stm32h7_adc_restore_selfcalib() - Restore saved self-calibration result
[all …]
/linux/drivers/phy/marvell/
H A Dphy-mvebu-a3700-utmi.c127 /* Wait for PLL calibration */ in mvebu_a3700_utmi_phy_power_on()
132 dev_err(dev, "Failed to end USB2 PLL calibration\n"); in mvebu_a3700_utmi_phy_power_on()
136 /* Wait for impedance calibration */ in mvebu_a3700_utmi_phy_power_on()
141 dev_err(dev, "Failed to end USB2 impedance calibration\n"); in mvebu_a3700_utmi_phy_power_on()
145 /* Wait for squelch calibration */ in mvebu_a3700_utmi_phy_power_on()
150 dev_err(dev, "Failed to end USB2 unknown calibration\n"); in mvebu_a3700_utmi_phy_power_on()
/linux/drivers/media/tuners/
H A Dfc0011.c51 FC11_VCOCAL_RUN = 0, /* VCO calibration run */
52 FC11_VCOCAL_VALUEMASK = 0x3F, /* VCO calibration value mask */
53 FC11_VCOCAL_OK = 0x40, /* VCO calibration Ok */
54 FC11_VCOCAL_RESET = 0x80, /* VCO calibration reset */
132 /* Initiate VCO calibration */
147 /* Read VCO calibration value */
289 /* VCO calibration */ in fc0011_set_params()
316 /* VCO calibration */ in fc0011_set_params()
327 "Failed to read VCO calibration value (got %02X)\n", in fc0011_set_params()

12345678910>>...21