Searched refs:vbatt (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-controller.dts | 11 reg_vbatt: regulator-vbatt { 13 regulator-name = "vbatt-fixed-supply";
|
/openbmc/linux/drivers/mfd/ |
H A D | ucb1x00-assabet.c | 33 UCB1X00_ATTR(vbatt, UCB_ADC_INP_AD1);
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lp8860.txt | 39 vled-supply = <&vbatt>;
|
H A D | leds-lm3692x.txt | 52 vled-supply = <&vbatt>;
|
H A D | leds-lm3697.txt | 49 vled-supply = <&vbatt>;
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ads7846.c | 519 SHOW(in1_input, vbatt, vbatt_adjust) in SHOW()
|