| /Linux-v5.15/drivers/power/supply/ |
| D | twl4030_madc_battery.c | 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() 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-v5.15/drivers/rtc/ |
| D | rtc-ab8500.c | 222 static int ab8500_rtc_set_calibration(struct device *dev, int calibration) in ab8500_rtc_set_calibration() argument 234 if ((calibration < -127) || (calibration > 127)) { in ab8500_rtc_set_calibration() 244 if (calibration >= 0) in ab8500_rtc_set_calibration() 245 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration() 247 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration() 255 static int ab8500_rtc_get_calibration(struct device *dev, int *calibration) in ab8500_rtc_get_calibration() argument 269 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration() 271 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration() 282 int calibration = 0; in ab8500_sysfs_store_rtc_calibration() local 284 if (sscanf(buf, " %i ", &calibration) != 1) { in ab8500_sysfs_store_rtc_calibration() [all …]
|
| D | rtc-tps65910.c | 202 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 …]
|
| /Linux-v5.15/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-adc-ad7192 | 26 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.
|
| D | sysfs-bus-iio-chemical-vz89x | 6 Get the raw calibration VOC value from the sensor. 7 This value has little application outside of calibration.
|
| D | sysfs-bus-i2c-devices-hm6352 | 15 What: /sys/bus/i2c/devices/.../calibration 19 Description: Sets the calibration on or off (1 = on, 0 = off). See the
|
| D | sysfs-bus-dfl-devices-emif | 5 Description: Read-only. It indicates if the calibration failed on this 6 memory interface. "1" for calibration failure, "0" for OK.
|
| D | sysfs-driver-hid-wiimote | 56 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-v5.15/Documentation/devicetree/bindings/net/wireless/ |
| D | qcom,ath10k.txt | 9 PCI based devices uses compatible string "qcom,ath10k" and takes calibration 10 data along with board specific data via "qcom,ath10k-calibration-data". 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 58 - qcom,ath10k-calibration-variant: string to search for in the board-2.bin 61 - qcom,ath10k-calibration-data : calibration data + board specific data 64 - qcom,ath10k-pre-calibration-data : pre calibration data as an array, 125 qcom,ath10k-calibration-data = [ 01 02 03 ... ]; [all …]
|
| D | marvell-8xxx.txt | 20 represent calibration data downloaded to the device during 43 Tx power limit calibration data is configured in below example. 44 The calibration data is an array of unsigned values, the length
|
| /Linux-v5.15/drivers/thermal/ |
| D | qoriq_thermal.c | 175 const u32 *calibration; in qoriq_tmu_calibration() local 194 calibration = of_get_property(np, "fsl,tmu-calibration", &len); in qoriq_tmu_calibration() 195 if (calibration == NULL || len % 8) { in qoriq_tmu_calibration() 200 for (i = 0; i < len; i += 8, calibration += 2) { in qoriq_tmu_calibration() 201 val = of_read_number(calibration, 1); in qoriq_tmu_calibration() 203 val = of_read_number(calibration + 1, 1); in qoriq_tmu_calibration()
|
| /Linux-v5.15/Documentation/hwmon/ |
| D | ina209.rst | 27 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-v5.15/Documentation/devicetree/bindings/mmc/ |
| D | nvidia,tegra20-sdhci.txt | 64 calibration offsets for 3.3 V signaling modes. 67 calibration offsets for 1.8 V signaling modes. 70 strength used as a fallback in case the automatic calibration times 74 strength used as a fallback in case the automatic calibration times 78 calibration offsets for SDR104 mode. 81 calibration offsets for HS400 mode. 88 Notes on the pad calibration pull up and pulldown offset values:
|
| /Linux-v5.15/Documentation/devicetree/bindings/sound/ |
| D | rt1011.txt | 26 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-v5.15/Documentation/devicetree/bindings/thermal/ |
| D | mediatek-thermal.txt | 30 - nvmem-cells: A phandle to the calibration data provided by a nvmem device. If 32 - nvmem-cell-names: Should be "calibration-data" 48 nvmem-cell-names = "calibration-data";
|
| /Linux-v5.15/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra114-mipi.txt | 1 NVIDIA Tegra MIPI pad calibration controller 14 phandle to refer to the calibration controller node and a bitmask of the pads
|
| /Linux-v5.15/Documentation/usb/ |
| D | mtouchusb.rst | 13 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-v5.15/drivers/iio/chemical/ |
| D | atlas-sensor.c | 352 int (*calibration)(struct atlas_data *data); member 361 .calibration = &atlas_check_ph_calibration, 368 .calibration = &atlas_check_ec_calibration, 375 .calibration = &atlas_check_orp_calibration, 382 .calibration = &atlas_check_do_calibration, 663 ret = chip->calibration(data); in atlas_probe()
|
| /Linux-v5.15/Documentation/devicetree/bindings/phy/ |
| D | qcom,usb-hsic-phy.txt | 22 Definition: Should contain clock specifier for phy, calibration and 23 a calibration sleep clock
|
| /Linux-v5.15/Documentation/driver-api/firmware/ |
| D | built-in-fw.rst | 31 dynamically, an example is calibration data for some WiFi chipsets. This 32 calibration data can be unique per sold device.
|
| /Linux-v5.15/drivers/thermal/tegra/ |
| D | soctherm-fuse.c | 109 u32 *calibration) in tegra_calc_tsensor_calib() argument 153 *calibration = calib; in tegra_calc_tsensor_calib()
|
| /Linux-v5.15/drivers/iio/magnetometer/ |
| D | yamaha-yas530.c | 134 struct yas5xx_calibration calibration; member 266 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_linearize() 318 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_get_measure() 578 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_calibration_data() 626 struct yas5xx_calibration *c = &yas5xx->calibration; in yas532_get_calibration_data() 680 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_dump_calibration() 808 val = FIELD_PREP(YAS5XX_CONFIG_CCK_MASK, yas5xx->calibration.dck); in yas5xx_power_on()
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| D | qcom-ipq4018-jalapeno.dts | 187 qcom,ath10k-calibration-variant = "8devices-Jalapeno"; 193 qcom,ath10k-calibration-variant = "8devices-Jalapeno";
|
| /Linux-v5.15/arch/arm64/boot/dts/mediatek/ |
| D | mt8183-kukui-jacuzzi-fennel14.dts | 15 qcom,ath10k-calibration-variant = "GO_FENNEL14";
|
| /Linux-v5.15/Documentation/input/devices/ |
| D | cs461x.rst | 22 behavior in my case was not raised the requirement of joystick calibration. 23 So the driver have no code to perform hardware related calibration.
|