Home
last modified time | relevance | path

Searched refs:ccnt_data (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A D88pm860x_battery.c148 static struct ccnt ccnt_data; variable
406 calc_ccnt(info, &ccnt_data); in pm860x_coulomb_handler()
426 clear_ccnt(info, &ccnt_data); in pm860x_batt_handler()
720 ret = calc_ccnt(info, &ccnt_data); in calc_capacity()
725 if (ccnt_data.total_dischg - ccnt_data.total_chg <= data) { in calc_capacity()
727 data + ccnt_data.total_chg - ccnt_data.total_dischg; in calc_capacity()
729 clear_ccnt(info, &ccnt_data); in calc_capacity()
879 clear_ccnt(info, &ccnt_data); in pm860x_batt_set_prop()