Searched refs:fg_res (Results 1 – 4 of 4) sorted by relevance
132 int fg_res; member242 info->fg_res = ret; in fuel_gauge_update_registers()290 int fg_res = info->fg_res; in fuel_gauge_get_status() local297 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()
396 int fg_res; member
131 .fg_res = 100,
670 val = (val * QLSB_NANO_AMP_HOURS_X10 * 36 * 4) / di->bm->fg_res; in ab8500_fg_inst_curr_finalize()794 (100 * di->bm->fg_res); in ab8500_fg_acc_cur_work()802 (di->bm->fg_res * (di->fg_samples / 4)); in ab8500_fg_acc_cur_work()811 di->bm->fg_res, di->fg_samples, val, di->accu_charge); in ab8500_fg_acc_cur_work()914 __func__, di->bat_temp, resistance, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()915 (di->bm->fg_res / 10) + resistance); in ab8500_fg_battery_resistance()918 resistance += di->bm->fg_res / 10; in ab8500_fg_battery_resistance()