Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Daxp288_fuel_gauge.c132 int fg_res; member
242 info->fg_res = ret; in fuel_gauge_update_registers()
290 int fg_res = info->fg_res; in fuel_gauge_get_status() local
297 if (!(fg_res & FG_REP_CAP_VALID)) in fuel_gauge_get_status()
300 fg_res &= ~FG_REP_CAP_VALID; in fuel_gauge_get_status()
301 if (fg_res == 100) { in fuel_gauge_get_status()
311 if (fg_res < 90 || (pwr_stat & PS_STAT_BAT_CHRG_DIR) || no_current_sense_res) in fuel_gauge_get_status()
383 if (!(info->fg_res & FG_REP_CAP_VALID)) in fuel_gauge_get_property()
385 val->intval = (info->fg_res & FG_REP_CAP_VAL_MASK); in fuel_gauge_get_property()
H A Dab8500-bm.h396 int fg_res; member
H A Dab8500_bmdata.c131 .fg_res = 100,