| /linux/drivers/power/supply/ |
| A D | twl4030_madc_battery.c | 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() 91 if (volt <= calibration[i].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() 96 (calibration[i].level - in twl4030_madc_bat_voltscale() 97 calibration[i+1].level)) / in twl4030_madc_bat_voltscale() 98 (calibration[i].voltage - in twl4030_madc_bat_voltscale() [all …]
|
| /linux/drivers/rtc/ |
| A D | rtc-ab8500.c | 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() 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() 273 retval = ab8500_rtc_set_calibration(dev, calibration); in ab8500_sysfs_store_rtc_calibration() 282 int calibration = 0; in ab8500_sysfs_show_rtc_calibration() local [all …]
|
| A D | rtc-tps65910.c | 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() 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() 305 int calibration; in tps65910_set_offset() local 322 calibration = (int)-tmp; in tps65910_set_offset() [all …]
|
| /linux/Documentation/ABI/testing/ |
| A 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.
|
| A 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.
|
| A 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
|
| A 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.
|
| A 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/Documentation/devicetree/bindings/net/wireless/ |
| A 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 …]
|
| A D | qca,ath9k.yaml | 55 - description: Reference to an nvmem node for calibration data 60 - const: calibration 88 nvmem-cell-names = "mac-address", "calibration";
|
| A 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/Documentation/devicetree/bindings/iio/adc/ |
| A D | qcom,pm8018-adc.yaml | 71 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:
|
| A D | qcom,spmi-vadc.yaml | 64 reference point channels, are used for result calibration and their channel 112 Channel calibration type. 115 channel calibration. If property is not found, channel will be 117 known as absolute calibration. 120 the VDD reference (1.875V) and GND for channel calibration. If 122 reference channels, also known as absolute calibration.
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| A D | xlnx,zynqmp-rtc.yaml | 34 calibration: 36 calibration value for 1 sec period which will 37 be programmed directly to calibration register. 63 calibration = <0x198233>;
|
| /linux/drivers/thermal/ |
| A 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/Documentation/devicetree/bindings/thermal/ |
| A D | allwinner,sun8i-a83t-ths.yaml | 50 const: calibration 132 nvmem-cell-names = "calibration"; 145 nvmem-cell-names = "calibration"; 158 nvmem-cell-names = "calibration";
|
| A D | qoriq-thermal.yaml | 38 fsl,tmu-calibration: 41 A list of cell pairs containing temperature calibration data, as 69 - fsl,tmu-calibration 81 fsl,tmu-calibration = <0x00000000 0x00000025>,
|
| A 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";
|
| A D | imx-thermal.yaml | 34 - description: Phandle to the calibration data provided by ocotp 50 TEMPMON calibration data, e.g. OCOTP on imx6q. The details about 51 calibration data can be found in SoC Reference Manual.
|
| /linux/Documentation/hwmon/ |
| A 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/Documentation/devicetree/bindings/mmc/ |
| A 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/Documentation/devicetree/bindings/phy/ |
| A D | mediatek,dsi-phy.yaml | 49 description: A phandle to the calibration data provided by a nvmem device, 54 - const: calibration-data 83 nvmem-cell-names = "calibration-data";
|
| /linux/Documentation/devicetree/bindings/sound/ |
| A 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.
|
| A D | maxim,max98390.yaml | 21 description: The calculated temperature data was measured while doing the calibration. 27 description: This is r0 calibration data which was measured in factory mode.
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| A 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
|