Searched refs:batt_id (Results 1 – 7 of 7) sorted by relevance
357 di->bm->bat_type[di->bm->batt_id].normal_vol_lvl, in abx500_chargalg_check_charger_enable()358 di->bm->bat_type[di->bm->batt_id].normal_cur_lvl); in abx500_chargalg_check_charger_enable()362 di->bm->bat_type[di->bm->batt_id].normal_vol_lvl, in abx500_chargalg_check_charger_enable()363 di->bm->bat_type[di->bm->batt_id].normal_cur_lvl); in abx500_chargalg_check_charger_enable()793 di->bm->bat_type[di->bm->batt_id].termination_vol || in abx500_chargalg_end_of_charge()796 di->bm->bat_type[di->bm->batt_id].termination_curr && in abx500_chargalg_end_of_charge()819 di->bm->bat_type[di->bm->batt_id].normal_cur_lvl; in init_maxim_chg_curr()821 di->bm->bat_type[di->bm->batt_id].normal_cur_lvl; in init_maxim_chg_curr()924 di->bm->bat_type[di->bm->batt_id].normal_cur_lvl); in handle_maxim_chg_curr()1504 di->bm->batt_id].normal_cur_lvl in abx500_chargalg_algorithm()[all …]
465 id = di->bm->batt_id; in ab8500_btemp_measure_temp()521 di->bm->batt_id = BATTERY_UNKNOWN; in ab8500_btemp_id()541 di->bm->batt_id = i; in ab8500_btemp_id()546 if (di->bm->batt_id == BATTERY_UNKNOWN) { in ab8500_btemp_id()557 di->bm->batt_id == 1) { in ab8500_btemp_id()562 return di->bm->batt_id; in ab8500_btemp_id()836 val->intval = di->bm->bat_type[di->bm->batt_id].name; in ab8500_btemp_get_property()
860 tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl, in ab8500_fg_volt_to_capacity()861 tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements; in ab8500_fg_volt_to_capacity()912 tbl = di->bm->bat_type[di->bm->batt_id].batres_tbl; in ab8500_fg_battery_resistance()913 tbl_size = di->bm->bat_type[di->bm->batt_id].n_batres_tbl_elements; in ab8500_fg_battery_resistance()2233 di->bm->batt_id != BATTERY_UNKNOWN) { in ab8500_fg_get_ext_psy_data()2236 b = &(di->bm->bat_type[di->bm->batt_id]); in ab8500_fg_get_ext_psy_data()3085 di->bm->bat_type[di->bm->batt_id].charge_full_design; in ab8500_fg_probe()3089 di->vbat_nom = di->bm->bat_type[di->bm->batt_id].nominal_voltage; in ab8500_fg_probe()
478 .batt_id = 0,
282 int batt_id; member
444 int batt_id; member
784 batt_id: adc-channel@09 { label