Searched refs:fg_res (Results 1 – 4 of 4) sorted by relevance
125 int fg_res; member231 info->fg_res = ret; in fuel_gauge_update_registers()275 int fg_res = info->fg_res; in fuel_gauge_get_status() local282 if (!(fg_res & FG_REP_CAP_VALID)) in fuel_gauge_get_status()285 fg_res &= ~FG_REP_CAP_VALID; in fuel_gauge_get_status()286 if (fg_res == 100) { in fuel_gauge_get_status()296 if (fg_res < 90 || (pwr_stat & PS_STAT_BAT_CHRG_DIR)) in fuel_gauge_get_status()368 if (!(info->fg_res & FG_REP_CAP_VALID)) in fuel_gauge_get_property()370 val->intval = (info->fg_res & FG_REP_CAP_VAL_MASK); in fuel_gauge_get_property()
515 int fg_res; member
673 (1000 * di->bm->fg_res); in ab8500_fg_inst_curr_finalize()797 (100 * di->bm->fg_res); in ab8500_fg_acc_cur_work()806 (1000 * di->bm->fg_res * (di->fg_samples / 4)); in ab8500_fg_acc_cur_work()815 di->bm->fg_res, di->fg_samples, val, di->accu_charge); in ab8500_fg_acc_cur_work()936 __func__, di->bat_temp, resist, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()937 (di->bm->fg_res / 10) + resist); in ab8500_fg_battery_resistance()940 resist += di->bm->fg_res / 10; in ab8500_fg_battery_resistance()
473 .fg_res = 100,