Home
last modified time | relevance | path

Searched full:vbatt (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/power/supply/
D88pm860x_charger.c270 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 …]
Dlp8788-charger.c255 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()
Dmax17042_battery.c176 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()
D88pm860x_battery.c186 * 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/
Dpxa300-raumfeld-controller.dts11 reg_vbatt: regulator-vbatt {
13 regulator-name = "vbatt-fixed-supply";
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-lp8860.txt39 vled-supply = <&vbatt>;
Dleds-lm3697.txt49 vled-supply = <&vbatt>;
Dti.lm36922.yaml98 vled-supply = <&vbatt>;
/linux-6.12.1/drivers/iio/adc/
Dmxs-lradc-adc.c73 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/
Ducb1x00-assabet.c33 UCB1X00_ATTR(vbatt, UCB_ADC_INP_AD1);
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dsamsung,s2mps11.yaml49 power. Usually the ACOKB is pulled up to VBATT so when PWRHOLD pin goes
/linux-6.12.1/include/linux/power/
Dcharger-manager.h134 * If VBATT >= fullbatt_uV, it is assumed to be full.
/linux-6.12.1/drivers/input/touchscreen/
Dads7846.c495 * 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/
Dadt7462.c157 * 9. Vbatt/FSB_Vtt (pin 26)
472 return "Vbatt"; in voltage_label()
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos4212-tab3.dtsi263 regulator-name = "VBATT";
Dexynos4412-midas.dtsi111 regulator-name = "VBATT";