/Linux-v4.19/drivers/iio/adc/ |
D | qcom-vadc-common.c | 115 s64 voltage = 0, result = 0; in qcom_vadc_scale_volt() local 117 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 119 voltage = voltage * prescale->den; in qcom_vadc_scale_volt() 120 result = div64_s64(voltage, prescale->num); in qcom_vadc_scale_volt() 131 s64 voltage = 0, result = 0; in qcom_vadc_scale_therm() local 134 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 137 voltage = div64_s64(voltage, 1000); in qcom_vadc_scale_therm() 141 voltage, &result); in qcom_vadc_scale_therm() 156 s64 voltage = 0; in qcom_vadc_scale_die_temp() local 159 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_die_temp() [all …]
|
/Linux-v4.19/Documentation/hwmon/ |
D | smm665 | 40 Reference voltage on VREF_ADC pin in mV. It should not be necessary to set 41 this parameter unless a non-default reference voltage is used. 87 in1_input 12V input voltage (mV) 88 in2_input 3.3V (VDD) input voltage (mV) 89 in3_input Channel A voltage (mV) 90 in4_input Channel B voltage (mV) 91 in5_input Channel C voltage (mV) 92 in6_input Channel D voltage (mV) 93 in7_input Channel E voltage (mV) 94 in8_input Channel F voltage (mV) [all …]
|
D | max20751 | 44 in1_input Measured voltage. 45 in1_min Minimum input voltage. 46 in1_max Maximum input voltage. 47 in1_lcrit Critical minimum input voltage. 48 in1_crit Critical maximum input voltage. 49 in1_min_alarm Input voltage low alarm. 50 in1_lcrit_alarm Input voltage critical low alarm. 51 in1_min_alarm Input voltage low alarm. 52 in1_max_alarm Input voltage high alarm. 55 in2_input Measured voltage. [all …]
|
D | ina209 | 19 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 35 in0_input shunt voltage (mV) 36 in0_input_highest shunt voltage historical maximum reading (mV) 37 in0_input_lowest shunt voltage historical minimum reading (mV) 38 in0_reset_history reset shunt voltage history 39 in0_max shunt voltage max alarm limit (mV) 40 in0_min shunt voltage min alarm limit (mV) 41 in0_crit_max shunt voltage crit max alarm limit (mV) 42 in0_crit_min shunt voltage crit min alarm limit (mV) 43 in0_max_alarm shunt voltage max alarm limit exceeded [all …]
|
D | ir35221 | 50 in1_input Measured input voltage 51 in1_crit Critical maximum input voltage 52 in1_crit_alarm Input voltage critical high alarm 53 in1_highest Highest input voltage 54 in1_lowest Lowest input voltage 55 in1_min Minimum input voltage 56 in1_min_alarm Input voltage low alarm 59 in[2-3]_input Measured output voltage 60 in[2-3]_lcrit Critical minimum output voltage 61 in[2-3]_lcrit_alarm Output voltage critical low alarm [all …]
|
D | smsc47m192 | 24 These chips support 3 temperature channels and 8 voltage inputs 25 as well as CPU voltage VID input. 33 Voltages are scaled such that the nominal voltage corresponds to 35 each voltage channel is 0V ... 255/192*(nominal voltage), the resolution 36 is 1 bit per (nominal voltage)/192. 37 Both voltage and temperature values are scaled by 1000, the sys files 40 The +12V analog voltage input channel (in4_input) is multiplexed with 41 bit 4 of the encoded CPU voltage. This means that you either get 42 a +12V voltage measurement or a 5 bit CPU VID, but not both. 48 The temperature and voltage readings are updated once every 1.5 seconds. [all …]
|
D | lm25066 | 68 in1_input Measured input voltage. 69 in1_average Average measured input voltage. 70 in1_min Minimum input voltage. 71 in1_max Maximum input voltage. 72 in1_min_alarm Input voltage low alarm. 73 in1_max_alarm Input voltage high alarm. 76 in2_input Measured voltage on VAUX pin 77 in2_min Minimum VAUX voltage (LM25056 only). 78 in2_max Maximum VAUX voltage (LM25056 only). 79 in2_min_alarm VAUX voltage low alarm (LM25056 only). [all …]
|
D | max31785 | 16 management with temperature and remote voltage sensing. Various fan control 39 in[1-6]_crit Critical maximum output voltage 40 in[1-6]_crit_alarm Output voltage critical high alarm 41 in[1-6]_input Measured output voltage 43 in[1-6]_lcrit Critical minimum output voltage 44 in[1-6]_lcrit_alarm Output voltage critical low alarm 45 in[1-6]_max Maximum output voltage 46 in[1-6]_max_alarm Output voltage high alarm 47 in[1-6]_min Minimum output voltage 48 in[1-6]_min_alarm Output voltage low alarm
|
D | zl6100 | 114 in1_input Measured input voltage. 115 in1_min Minimum input voltage. 116 in1_max Maximum input voltage. 117 in1_lcrit Critical minimum input voltage. 118 in1_crit Critical maximum input voltage. 119 in1_min_alarm Input voltage low alarm. 120 in1_max_alarm Input voltage high alarm. 121 in1_lcrit_alarm Input voltage critical low alarm. 122 in1_crit_alarm Input voltage critical high alarm. 125 in2_input Measured voltage on VMON (ZL2004) or VDRV (ZL9101M, [all …]
|
D | ltc2945 | 17 The LTC2945 is a rail-to-rail system monitor that measures current, voltage, 38 registers. If a set of voltage divider resistors is installed, calculate the 39 real voltage by multiplying the reported value with (R1+R2)/R2, where R1 is the 40 value of the divider resistor against the measured voltage and R2 is the value 48 in1_input VIN voltage (mV). Voltage is measured either at 52 in1_lowest Lowest measured voltage 53 in1_highest Highest measured voltage 58 in2_input ADIN voltage (mV) 61 in2_lowest Lowest measured voltage 62 in2_highest Highest measured voltage [all …]
|
/Linux-v4.19/drivers/soc/tegra/ |
D | pmc.c | 137 unsigned int voltage; member 1062 enum tegra_io_pad_voltage voltage) in tegra_io_pad_set_voltage() argument 1071 if (pad->voltage == UINT_MAX) in tegra_io_pad_set_voltage() 1078 value |= BIT(pad->voltage); in tegra_io_pad_set_voltage() 1084 if (voltage == TEGRA_IO_PAD_1800000UV) in tegra_io_pad_set_voltage() 1085 value &= ~BIT(pad->voltage); in tegra_io_pad_set_voltage() 1087 value |= BIT(pad->voltage); in tegra_io_pad_set_voltage() 1108 if (pad->voltage == UINT_MAX) in tegra_io_pad_get_voltage() 1113 if ((value & BIT(pad->voltage)) == 0) in tegra_io_pad_get_voltage() 1653 { .id = TEGRA_IO_PAD_AUDIO, .dpd = 17, .voltage = UINT_MAX }, [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | vctrl.txt | 7 - regulator-min-microvolt : smallest voltage consumers may set 8 - regulator-max-microvolt : largest voltage consumers may set 9 - ctrl-supply : The regulator supplying the control voltage. 10 - ctrl-voltage-range : an array of two integer values describing the range 11 (min/max) of the control voltage. The values specify 12 the control voltage needed to generate the corresponding 13 regulator-min/max-microvolt output voltage. 20 actual output voltage deviates beyond a certain 22 voltage. On larger voltage decreases this can occur 23 undesiredly since the output voltage does not adjust [all …]
|
D | max8997-regulator.txt | 3 The Maxim MAX8997 is a multi-function device which includes voltage and 13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 14 units for buck1 when changing voltage using gpio dvs. Refer to [1] below 17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 18 units for buck2 when changing voltage using gpio dvs. Refer to [1] below 21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 22 units for buck5 when changing voltage using gpio dvs. Refer to [1] below 26 property is specified, the 'max8997,pmic-buck[1/2/5]-dvs-voltage' 27 property should specify atleast one voltage level (which would be a 28 safe operating voltage). [all …]
|
D | samsung,s5m8767.txt | 16 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 17 units for buck2 when changing voltage using gpio dvs. Refer to [1] below 20 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 21 units for buck3 when changing voltage using gpio dvs. Refer to [1] below 24 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 25 units for buck4 when changing voltage using gpio dvs. Refer to [1] below 32 property is specified, the 's5m8767,pmic-buck[2/3/4]-dvs-voltage' 33 property should specify atleast one voltage level (which would be a 34 safe operating voltage). 37 property is specified, then all the eight voltage values for the [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/afe/ |
D | voltage-divider.txt | 4 When an io-channel measures the midpoint of a voltage divider, the 5 interesting voltage is often the voltage over the full resistance 6 of the divider. This binding describes the voltage divider in such 24 - compatible : "voltage-divider" 25 - io-channels : Channel node of a voltage io-channel measuring Vout. 26 - output-ohms : Resistance Rout over which the output voltage is measured. 32 The system voltage is circa 12V, but divided down with a 22/222 33 voltage divider (R = 200 Ohms, Rout = 22 Ohms) and fed to an ADC. 36 compatible = "voltage-divider"; 39 /* Scale the system voltage by 22/222 to fit the ADC range. */
|
/Linux-v4.19/arch/arm64/boot/dts/qcom/ |
D | msm8994-smd-rpm.dtsi | 111 qcom,init-voltage = <1800000>; 117 qcom,init-voltage = <1200000>; 123 qcom,init-voltage = <1800000>; 133 qcom,init-voltage = <2950000>; 140 qcom,init-voltage = <1200000>; 150 qcom,init-voltage = <1800000>; 157 qcom,init-voltage = <2700000>; 164 qcom,init-voltage = <2700000>; 172 qcom,init-voltage = <3000000>; 179 qcom,init-voltage = <1800000>; [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | Kconfig | 6 This framework is designed to provide a generic interface to voltage 8 provide voltage and current control to client or consumer drivers and 14 to both voltage regulators (where voltage output is controllable) and 32 tristate "Fixed voltage regulator support" 34 This driver provides support for fixed voltage regulators, 41 This driver provides a virtual consumer for the voltage and 58 tristate "Marvell 88PG86X voltage regulators" 62 This driver supports Marvell 88PG867 and 88PG868 voltage regulators. 70 This driver supports Marvell 88PM800 voltage regulator chips. 72 the voltage is programmed via I2C interface. [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/power/supply/ |
D | rt9455_charger.txt | 12 When the current in constant-voltage phase drops 15 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 16 - richtek,boost-output-voltage: integer, maximum voltage provided to consumer 20 - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to 21 decrease voltage level when the over current 23 This prevents input voltage drop due to insufficient 41 richtek,battery-regulation-voltage = <4200000>; 42 richtek,boost-output-voltage = <5050000>; 44 richtek,min-input-voltage-regulation = <4500000>;
|
D | bq25890.txt | 7 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 10 constant-voltage phase drops below this value (in uA); 13 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 14 minimum system voltage, the system will be regulated above 15 minimum-sys-voltage setting (in uV); 16 - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 36 ti,battery-regulation-voltage = <4200000>; 40 ti,minimum-sys-voltage = <3600000>; 41 ti,boost-voltage = <5000000>;
|
D | bq24257.txt | 11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV. 14 constant-voltage phase drops below this value (in uA). 27 - ti,ovp-voltage: Configures the over voltage protection voltage (in uV). If 29 - ti,in-dpm-voltage: Configures the threshold input voltage for the dynamic 43 ti,battery-regulation-voltage = <4200000>; 56 ti,battery-regulation-voltage = <4200000>; 60 ti,ovp-voltage = <9500000>; 61 ti,in-dpm-voltage = <4440000>;
|
/Linux-v4.19/drivers/hwmon/ |
D | ltc4245.c | 177 u32 voltage = 0; in ltc4245_get_voltage() local 182 voltage = regval * 55; in ltc4245_get_voltage() 186 voltage = regval * 22; in ltc4245_get_voltage() 190 voltage = regval * 15; in ltc4245_get_voltage() 194 voltage = regval * -55; in ltc4245_get_voltage() 197 voltage = regval * 10; in ltc4245_get_voltage() 205 return voltage; in ltc4245_get_voltage() 213 unsigned int voltage; in ltc4245_get_current() local 233 voltage = regval * 250; /* voltage in uV */ in ltc4245_get_current() 234 curr = voltage / 50; /* sense resistor 50 mOhm */ in ltc4245_get_current() [all …]
|
/Linux-v4.19/drivers/power/supply/ |
D | jz4740-battery.c | 45 long voltage; member 73 long voltage; in jz_battery_read_voltage() local 92 voltage = (long)val; in jz_battery_read_voltage() 94 voltage = t ? t : -ETIMEDOUT; in jz_battery_read_voltage() 102 return voltage; in jz_battery_read_voltage() 109 long voltage; in jz_battery_get_capacity() local 113 voltage = jz_battery_read_voltage(jz_battery); in jz_battery_get_capacity() 115 if (voltage < 0) in jz_battery_get_capacity() 116 return voltage; in jz_battery_get_capacity() 119 ret = ((voltage - info->voltage_min_design) * 100) / voltage_span; in jz_battery_get_capacity() [all …]
|
/Linux-v4.19/drivers/thermal/ |
D | devfreq_cooling.c | 180 unsigned long voltage; in get_voltage() local 193 voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ in get_voltage() 196 if (voltage == 0) { in get_voltage() 202 return voltage; in get_voltage() 219 unsigned long voltage; in get_static_power() local 224 voltage = get_voltage(df, freq); in get_static_power() 226 if (voltage == 0) in get_static_power() 229 return dfc->power_ops->get_static_power(df, voltage); in get_static_power() 246 unsigned long voltage) in get_dynamic_power() argument 254 voltage); in get_dynamic_power() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/dac/ |
D | ad5758.txt | 14 voltage and dynamically regulates the supply voltage, 16 headroom voltage for the output buffer. 19 In this mode, the VDPC+ voltage is user-programmable to 24 current or voltage output at the VIOUT pin. Only one mode 29 * 2: DPC voltage mode 32 Depending on the selected output mode (voltage or current) one of the 37 The array of voltage output ranges must contain two fields: 38 * <0 5000000>: 0 V to 5 V voltage range 39 * <0 10000000>: 0 V to 10 V voltage range 40 * <(-5000000) 5000000>: ±5 V voltage range [all …]
|
/Linux-v4.19/drivers/leds/ |
D | leds-regulator.c | 36 int voltage = regulator_list_voltage(supply, 0); in led_regulator_get_max_brightness() local 38 if (voltage <= 0) in led_regulator_get_max_brightness() 45 ret = regulator_set_voltage(supply, voltage, voltage); in led_regulator_get_max_brightness() 98 int voltage; in regulator_led_brightness_set() local 109 voltage = led_regulator_get_voltage(led->vcc, value); in regulator_led_brightness_set() 111 value, voltage); in regulator_led_brightness_set() 113 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_brightness_set() 116 voltage, ret); in regulator_led_brightness_set()
|