Searched refs:measure_vbatt (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | 88pm860x_battery.c | 170 static int measure_vbatt(struct pm860x_battery_info *info, int state, in measure_vbatt() function 341 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in calc_ocv() 381 ret = measure_vbatt(info, OCV_MODE_SLEEP, &ocv); in calc_soc() 633 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in calc_resistor() 651 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in calc_resistor() 674 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in calc_resistor() 753 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in calc_capacity() 835 ret = measure_vbatt(info, OCV_MODE_ACTIVE, &data); in pm860x_batt_get_prop()
|