/Linux-v5.10/drivers/iio/adc/ |
D | qcom-vadc-common.c | 388 s64 voltage = 0, result = 0; in qcom_vadc_scale_volt() local 390 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 392 voltage = voltage * prescale->den; in qcom_vadc_scale_volt() 393 result = div64_s64(voltage, prescale->num); in qcom_vadc_scale_volt() 404 s64 voltage = 0; in qcom_vadc_scale_therm() local 407 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 410 voltage = div64_s64(voltage, 1000); in qcom_vadc_scale_therm() 414 voltage, result_mdec); in qcom_vadc_scale_therm() 428 s64 voltage = 0; in qcom_vadc_scale_die_temp() local 431 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_die_temp() [all …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | smm665.rst | 67 Reference voltage on VREF_ADC pin in mV. It should not be necessary to set 68 this parameter unless a non-default reference voltage is used. 116 in1_input 12V input voltage (mV) 117 in2_input 3.3V (VDD) input voltage (mV) 118 in3_input Channel A voltage (mV) 119 in4_input Channel B voltage (mV) 120 in5_input Channel C voltage (mV) 121 in6_input Channel D voltage (mV) 122 in7_input Channel E voltage (mV) 123 in8_input Channel F voltage (mV) [all …]
|
D | max20751.rst | 50 in1_input Measured voltage. 51 in1_min Minimum input voltage. 52 in1_max Maximum input voltage. 53 in1_lcrit Critical minimum input voltage. 54 in1_crit Critical maximum input voltage. 55 in1_min_alarm Input voltage low alarm. 56 in1_lcrit_alarm Input voltage critical low alarm. 57 in1_min_alarm Input voltage low alarm. 58 in1_max_alarm Input voltage high alarm. 61 in2_input Measured voltage. [all …]
|
D | ina209.rst | 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 40 in0_input shunt voltage (mV) 41 in0_input_highest shunt voltage historical maximum reading (mV) 42 in0_input_lowest shunt voltage historical minimum reading (mV) 43 in0_reset_history reset shunt voltage history 44 in0_max shunt voltage max alarm limit (mV) 45 in0_min shunt voltage min alarm limit (mV) 46 in0_crit_max shunt voltage crit max alarm limit (mV) 47 in0_crit_min shunt voltage crit min alarm limit (mV) 48 in0_max_alarm shunt voltage max alarm limit exceeded [all …]
|
D | ir35221.rst | 54 in1_input Measured input voltage 55 in1_crit Critical maximum input voltage 56 in1_crit_alarm Input voltage critical high alarm 57 in1_highest Highest input voltage 58 in1_lowest Lowest input voltage 59 in1_min Minimum input voltage 60 in1_min_alarm Input voltage low alarm 63 in[2-3]_input Measured output voltage 64 in[2-3]_lcrit Critical minimum output voltage 65 in[2-3]_lcrit_alarm Output voltage critical low alarm [all …]
|
D | ir38064.rst | 41 in1_input Measured input voltage 42 in1_crit Critical maximum input voltage 43 in1_crit_alarm Input voltage critical high alarm 44 in1_min Minimum input voltage 45 in1_min_alarm Input voltage low alarm 48 in2_input Measured output voltage 49 in2_lcrit Critical minimum output voltage 50 in2_lcrit_alarm Output voltage critical low alarm 51 in2_crit Critical maximum output voltage 52 in2_crit_alarm Output voltage critical high alarm [all …]
|
D | smsc47m192.rst | 35 These chips support 3 temperature channels and 8 voltage inputs 36 as well as CPU voltage VID input. 44 Voltages are scaled such that the nominal voltage corresponds to 46 each voltage channel is 0V ... 255/192*(nominal voltage), the resolution 47 is 1 bit per (nominal voltage)/192. 48 Both voltage and temperature values are scaled by 1000, the sys files 51 The +12V analog voltage input channel (in4_input) is multiplexed with 52 bit 4 of the encoded CPU voltage. This means that you either get 53 a +12V voltage measurement or a 5 bit CPU VID, but not both. 59 The temperature and voltage readings are updated once every 1.5 seconds. [all …]
|
D | isl68137.rst | 407 digital multiphase voltage regulators (raa_dmpvr2). The ISL68137 is a digital 411 and 'hv' for high voltage single-rail devices. Consult the individual datasheets 425 For 2nd generation Renesas digital multiphase voltage regulators, only the 445 in1_input Measured input voltage 446 in1_lcrit Critical minimum input voltage 447 in1_lcrit_alarm Input voltage critical low alarm 448 in1_crit Critical maximum input voltage 449 in1_crit_alarm Input voltage critical high alarm 452 in[2-3]_input Measured output voltage 453 in[2-3]_lcrit Critical minimum output voltage [all …]
|
D | bcm54140.rst | 20 The AVDDL is a 1.0V analogue voltage, the AVDDH is a 3.3V analogue voltage. 30 in0_input Measured AVDDL voltage. 31 in0_min Minimum AVDDL voltage. 32 in0_max Maximum AVDDL voltage. 33 in0_alarm AVDDL voltage alarm. 36 in1_input Measured AVDDH voltage. 37 in1_min Minimum AVDDH voltage. 38 in1_max Maximum AVDDH voltage. 39 in1_alarm AVDDH voltage alarm.
|
D | lm25066.rst | 97 in1_input Measured input voltage. 98 in1_average Average measured input voltage. 99 in1_min Minimum input voltage. 100 in1_max Maximum input voltage. 101 in1_min_alarm Input voltage low alarm. 102 in1_max_alarm Input voltage high alarm. 105 in2_input Measured voltage on VAUX pin 106 in2_min Minimum VAUX voltage (LM25056 only). 107 in2_max Maximum VAUX voltage (LM25056 only). 108 in2_min_alarm VAUX voltage low alarm (LM25056 only). [all …]
|
D | ina2xx.rst | 62 interface. The INA219 monitors both shunt drop and supply voltage, with 66 interface. The INA220 monitors both shunt drop and supply voltage. 69 The INA226 monitors both a shunt voltage drop and bus supply voltage. 72 with an I2C interface. The chips monitor both a shunt voltage drop and 73 bus supply voltage. 82 bus and shunt voltage conversion times multiplied by the averaging rate. We 91 in0_input Shunt voltage(mV) channel 92 in1_input Bus voltage(mV) channel 102 in0_lcrit Critical low shunt voltage 103 in0_crit Critical high shunt voltage [all …]
|
D | zl6100.rst | 166 in1_input Measured input voltage. 167 in1_min Minimum input voltage. 168 in1_max Maximum input voltage. 169 in1_lcrit Critical minimum input voltage. 170 in1_crit Critical maximum input voltage. 171 in1_min_alarm Input voltage low alarm. 172 in1_max_alarm Input voltage high alarm. 173 in1_lcrit_alarm Input voltage critical low alarm. 174 in1_crit_alarm Input voltage critical high alarm. 177 in2_input Measured voltage on VMON (ZL2004) or VDRV (ZL9101M, [all …]
|
D | inspur-ipsps1.rst | 44 in1_alarm Input voltage under-voltage alarm. 45 in1_input Measured input voltage in mV. 47 in2_input Measured output voltage in mV. 49 in2_lcrit Critical minimum output voltage 50 in2_lcrit_alarm Output voltage critical low alarm 51 in2_max Maximum output voltage 52 in2_max_alarm Output voltage high alarm 53 in2_min Minimum output voltage 54 in2_min_alarm Output voltage low alarm
|
D | max31785.rst | 20 management with temperature and remote voltage sensing. Various fan control 44 in[1-6]_crit Critical maximum output voltage 45 in[1-6]_crit_alarm Output voltage critical high alarm 46 in[1-6]_input Measured output voltage 48 in[1-6]_lcrit Critical minimum output voltage 49 in[1-6]_lcrit_alarm Output voltage critical low alarm 50 in[1-6]_max Maximum output voltage 51 in[1-6]_max_alarm Output voltage high alarm 52 in[1-6]_min Minimum output voltage 53 in[1-6]_min_alarm Output voltage low alarm
|
/Linux-v5.10/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-v5.10/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-v5.10/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 | 14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 17 constant-voltage phase drops below this value (in uA); 20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 21 minimum system voltage, the system will be regulated above 22 minimum-sys-voltage setting (in uV); 23 - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 38 - ti,ibatcomp-clamp-microvolt: integer, maximum charging voltage adjustment due 39 to expected voltage drop on in-series resistor; 50 ti,battery-regulation-voltage = <4200000>; 54 ti,minimum-sys-voltage = <3600000>; [all …]
|
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-v5.10/drivers/thermal/ |
D | devfreq_cooling.c | 138 unsigned long voltage; in get_voltage() local 151 voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ in get_voltage() 154 if (voltage == 0) { in get_voltage() 160 return voltage; in get_voltage() 177 unsigned long voltage; in get_static_power() local 182 voltage = get_voltage(df, freq); in get_static_power() 184 if (voltage == 0) in get_static_power() 187 return dfc->power_ops->get_static_power(df, voltage); in get_static_power() 204 unsigned long voltage) in get_dynamic_power() argument 212 voltage); in get_dynamic_power() [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | ltc4245.c | 174 u32 voltage = 0; in ltc4245_get_voltage() local 179 voltage = regval * 55; in ltc4245_get_voltage() 183 voltage = regval * 22; in ltc4245_get_voltage() 187 voltage = regval * 15; in ltc4245_get_voltage() 191 voltage = regval * -55; in ltc4245_get_voltage() 194 voltage = regval * 10; in ltc4245_get_voltage() 202 return voltage; in ltc4245_get_voltage() 210 unsigned int voltage; in ltc4245_get_current() local 230 voltage = regval * 250; /* voltage in uV */ in ltc4245_get_current() 231 curr = voltage / 50; /* sense resistor 50 mOhm */ in ltc4245_get_current() [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | Kconfig | 8 This framework is designed to provide a generic interface to voltage 10 provide voltage and current control to client or consumer drivers and 16 to both voltage regulators (where voltage output is controllable) and 34 tristate "Fixed voltage regulator support" 36 This driver provides support for fixed voltage regulators, 43 This driver provides a virtual consumer for the voltage and 60 tristate "Marvell 88PG86X voltage regulators" 64 This driver supports Marvell 88PG867 and 88PG868 voltage regulators. 72 This driver supports Marvell 88PM800 voltage regulator chips. 74 the voltage is programmed via I2C interface. [all …]
|
/Linux-v5.10/drivers/leds/ |
D | leds-regulator.c | 32 int voltage = regulator_list_voltage(supply, 0); in led_regulator_get_max_brightness() local 34 if (voltage <= 0) in led_regulator_get_max_brightness() 41 ret = regulator_set_voltage(supply, voltage, voltage); in led_regulator_get_max_brightness() 94 int voltage; in regulator_led_brightness_set() local 105 voltage = led_regulator_get_voltage(led->vcc, value); in regulator_led_brightness_set() 107 value, voltage); in regulator_led_brightness_set() 109 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_brightness_set() 112 voltage, ret); in regulator_led_brightness_set()
|