Searched full:vbatt (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/drivers/power/supply/ |
D | 88pm860x_charger.c | 270 static void stop_charge(struct pm860x_charger_info *info, int vbatt) in stop_charge() argument 274 if (vbatt > CHARGE_THRESHOLD && info->online) in stop_charge() 291 int vbatt; in set_charging_fsm() local 302 vbatt = data.intval / 1000; in set_charging_fsm() 319 dev_dbg(info->dev, "set_charging_fsm:vbatt:%d(mV)\n", vbatt); in set_charging_fsm() 324 if (vbatt < PRECHARGE_THRESHOLD) { in set_charging_fsm() 327 } else if (vbatt > DISCHARGE_THRESHOLD) { in set_charging_fsm() 329 stop_charge(info, vbatt); in set_charging_fsm() 330 } else if (vbatt < DISCHARGE_THRESHOLD) { in set_charging_fsm() 335 if (vbatt < POWEROFF_THRESHOLD) { in set_charging_fsm() [all …]
|
D | lp8788-charger.c | 255 int vbatt; in lp8788_get_battery_capacity() local 276 ret = lp8788_get_vbatt_adc(pchg, &vbatt); in lp8788_get_battery_capacity() 280 val->intval = (vbatt * LP8788_MAX_BATT_CAPACITY) / max_vbatt; in lp8788_get_battery_capacity()
|
D | max17042_battery.c | 176 int temp, vavg, vbatt, ret; in max17042_get_battery_health() local 193 vbatt = val * 625 / 8; in max17042_get_battery_health() 195 vbatt /= 1000; in max17042_get_battery_health() 202 if (vbatt > chip->pdata->vmax + MAX17042_VMAX_TOLERANCE) { in max17042_get_battery_health()
|
D | 88pm860x_battery.c | 186 * voltage value of VBATT in sleep mode is saved in different in measure_vbatt() 834 /* return real vbatt Voltage */ in pm860x_batt_get_prop()
|
/linux-6.12.1/arch/arm/boot/dts/intel/pxa/ |
D | pxa300-raumfeld-controller.dts | 11 reg_vbatt: regulator-vbatt { 13 regulator-name = "vbatt-fixed-supply";
|
/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
D | leds-lp8860.txt | 39 vled-supply = <&vbatt>;
|
D | leds-lm3697.txt | 49 vled-supply = <&vbatt>;
|
D | ti.lm36922.yaml | 98 vled-supply = <&vbatt>;
|
/linux-6.12.1/drivers/iio/adc/ |
D | mxs-lradc-adc.c | 73 VREF_MV_BASE * 4, /* CH7 VBATT */ 91 VREF_MV_BASE * 4, /* CH7 VBATT */ 601 MXS_ADC_CHAN(7, IIO_VOLTAGE, "VBATT"), 637 MXS_ADC_CHAN(7, IIO_VOLTAGE, "VBATT"),
|
/linux-6.12.1/drivers/mfd/ |
D | ucb1x00-assabet.c | 33 UCB1X00_ATTR(vbatt, UCB_ADC_INP_AD1);
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | samsung,s2mps11.yaml | 49 power. Usually the ACOKB is pulled up to VBATT so when PWRHOLD pin goes
|
/linux-6.12.1/include/linux/power/ |
D | charger-manager.h | 134 * If VBATT >= fullbatt_uV, it is assumed to be full.
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | ads7846.c | 495 * external resistors; we assume that vBATT only uses the internal ones. in SHOW() 520 SHOW(in1_input, vbatt, vbatt_adjust) in SHOW()
|
/linux-6.12.1/drivers/hwmon/ |
D | adt7462.c | 157 * 9. Vbatt/FSB_Vtt (pin 26) 472 return "Vbatt"; in voltage_label()
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos4212-tab3.dtsi | 263 regulator-name = "VBATT";
|
D | exynos4412-midas.dtsi | 111 regulator-name = "VBATT";
|