Home
last modified time | relevance | path

Searched refs:calibration (Results 1 – 25 of 101) sorted by relevance

12345

/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
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
268 if (sscanf(buf, " %i ", &calibration) != 1) { in ab8500_sysfs_store_rtc_calibration()
[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()
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()
290 tmp = calibration * (s64)PPB_MULT; 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()
275 tmp = calibration * PPB_MULT; in tps6594_rtc_read_offset()
300 int calibration; in tps6594_rtc_set_offset() local
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-bno05549 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-bus-iio-chemical-vz89x6 Get the raw calibration VOC value from the sensor.
7 This value has little application outside of calibration.
H A Dsysfs-bus-iio-cdc-ad77466 Write 1 to trigger a calibration of the calibbias or
11 calibration".
H A Dsysfs-bus-i2c-devices-hm635215 What: /sys/bus/i2c/devices/.../calibration
19 Description: Sets the calibration on or off (1 = on, 0 = off). See the
H A Dsysfs-bus-dfl-devices-emif5 Description: Read-only. It indicates if the calibration failed on this
6 memory interface. "1" for calibration failure, "0" for OK.
H A Dsysfs-bus-iio-chemical-sunrise-co26 Writing '1' triggers a 'Factory' calibration cycle.
13 Writing '1' triggers a 'Background' calibration cycle.
H A Dsysfs-driver-hid-wiimote56 balance board. It provides a single line with 3 calibration
72 pro-controller. It provides a single line with 4 calibration
83 You can write "scan\n" into this file to re-trigger calibration.
85 set the calibration values manually.
/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/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()
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()
/linux/Documentation/devicetree/bindings/sound/
H A Drt1011.txt26 u32. The temperature was measured while doing the calibration. Units: Celsius degree
29 u32. This is r0 calibration data which was measured in factory mode.
/linux/Documentation/usb/
H A Dmtouchusb.rst13 Unfortunately no calibration support at this time
54 the controller. This means calibration must be performed within the
70 such as calibration, etc once/if it becomes available.
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-ipq4018-ap120c-ac.dtsi246 nvmem-cell-names = "pre-calibration";
252 nvmem-cell-names = "pre-calibration";
254 qcom,calibration-variant = "ALFA-Network-AP120C-AC";
H A Dqcom-ipq4018-jalapeno.dts182 qcom,calibration-variant = "8devices-Jalapeno";
188 qcom,calibration-variant = "8devices-Jalapeno";
/linux/drivers/iio/chemical/
H A Datlas-sensor.c348 int (*calibration)(struct atlas_data *data); member
357 .calibration = &atlas_check_ph_calibration,
364 .calibration = &atlas_check_ec_calibration,
371 .calibration = &atlas_check_orp_calibration,
378 .calibration = &atlas_check_do_calibration,
646 ret = chip->calibration(data); in atlas_probe()
/linux/Documentation/driver-api/firmware/
H A Dbuilt-in-fw.rst31 dynamically, an example is calibration data for some WiFi chipsets. This
32 calibration data can be unique per sold device.
/linux/drivers/net/phy/mediatek/
H A DKconfig44 the MT7981 and MT7988 SoCs. These PHYs need calibration data
50 which need no efuse calibration data.
/linux/Documentation/sound/codecs/
H A Dcs35l56.rst218 Factory calibration data in EFI was written to the amplifier.
238 Driver was not able to write EFI calibration data to firmware registers.
248 Failed to write calibration
252 Failed to read calibration data from EFI
253 Factory calibration data in EFI is missing, empty or corrupt.
257 No calibration for silicon ID
258 The factory calibration data in EFI does not match this hardware.
260 motherboard without going through manufacturer calibration process to
261 generate calibration data for the new amplifier.
/linux/Documentation/iio/
H A Dade9000.rst121 Fine-tuning calibration gains applied in the digital domain for each channel type.
125 Hardware calibration offsets applied by the device internally:
241 Configure calibration gains:
245 # Set current channel 0 calibration gain
247 # Set voltage channel 0 calibration gain
/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c227 struct yas5xx_calibration calibration; member
371 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_measure()
436 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_linearize()
505 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_measure()
820 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_calibration_data()
872 struct yas5xx_calibration *c = &yas5xx->calibration; in yas532_get_calibration_data()
927 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_get_calibration_data()
1124 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_dump_calibration()
1147 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_dump_calibration()
1277 val = FIELD_PREP(YAS5XX_CONFIG_CCK_MASK, yas5xx->calibration.dck); in yas530_power_on()
/linux/Documentation/input/devices/
H A Dcs461x.rst22 behavior in my case was not raised the requirement of joystick calibration.
23 So the driver have no code to perform hardware related calibration.
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-jacuzzi-juniper.dtsi25 qcom,ath10k-calibration-variant = "GO_JUNIPER";
H A Dmt8183-kukui-jacuzzi-fennel14-sku2.dts17 qcom,ath10k-calibration-variant = "GO_FENNEL14";

12345