Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/power/
Dab8500_btemp.c477 di->bat->bat_type[id].r_to_t_tbl, in ab8500_btemp_measure_temp()
478 di->bat->bat_type[id].n_temp_tbl_elements, rbat); in ab8500_btemp_measure_temp()
494 di->bat->bat_type[id].r_to_t_tbl, in ab8500_btemp_measure_temp()
495 di->bat->bat_type[id].n_temp_tbl_elements, rntc); in ab8500_btemp_measure_temp()
526 if ((res <= di->bat->bat_type[i].resis_high) && in ab8500_btemp_id()
527 (res >= di->bat->bat_type[i].resis_low)) { in ab8500_btemp_id()
533 di->bat->bat_type[i].resis_low, res, in ab8500_btemp_id()
534 di->bat->bat_type[i].resis_high, i); in ab8500_btemp_id()
809 val->intval = di->bat->bat_type[di->bat->batt_id].name; in ab8500_btemp_get_property()
Dabx500_chargalg.c710 di->bat->bat_type[di->bat->batt_id].termination_vol || in abx500_chargalg_end_of_charge()
713 di->bat->bat_type[di->bat->batt_id].termination_curr && in abx500_chargalg_end_of_charge()
736 di->bat->bat_type[di->bat->batt_id].normal_cur_lvl; in init_maxim_chg_curr()
738 di->bat->bat_type[di->bat->batt_id].normal_cur_lvl; in init_maxim_chg_curr()
841 di->bat->bat_type[di->bat->batt_id].normal_cur_lvl); in handle_maxim_chg_curr()
1397 di->bat->bat_type[di->bat->batt_id].normal_vol_lvl, in abx500_chargalg_algorithm()
1398 di->bat->bat_type[di->bat->batt_id].normal_cur_lvl); in abx500_chargalg_algorithm()
1432 di->bat->bat_type[di->bat->batt_id].recharge_vol) { in abx500_chargalg_algorithm()
1442 di->bat->bat_type[ in abx500_chargalg_algorithm()
1445 di->bat->bat_type[ in abx500_chargalg_algorithm()
[all …]
Dab8500_fg.c818 tbl = di->bat->bat_type[di->bat->batt_id].v_to_cap_tbl, in ab8500_fg_volt_to_capacity()
819 tbl_size = di->bat->bat_type[di->bat->batt_id].n_v_cap_tbl_elements; in ab8500_fg_volt_to_capacity()
870 tbl = di->bat->bat_type[di->bat->batt_id].batres_tbl; in ab8500_fg_battery_resistance()
871 tbl_size = di->bat->bat_type[di->bat->batt_id].n_batres_tbl_elements; in ab8500_fg_battery_resistance()
2082 b = &(di->bat->bat_type[di->bat->batt_id]); in ab8500_fg_get_ext_psy_data()
2490 di->bat->bat_type[di->bat->batt_id].charge_full_design; in ab8500_fg_probe()
2494 di->vbat_nom = di->bat->bat_type[di->bat->batt_id].nominal_voltage; in ab8500_fg_probe()
/linux-3.4.99/drivers/staging/nvec/
Dnvec_power.c45 char bat_type[30]; member
206 memcpy(power->bat_type, &res->plc, res->length - 2); in nvec_power_bat_notifier()
207 power->bat_type[res->length - 2] = '\0'; in nvec_power_bat_notifier()
210 if (!strncmp(power->bat_type, "Li", 30)) in nvec_power_bat_notifier()
/linux-3.4.99/include/linux/mfd/
Dabx500.h388 const struct abx500_battery_type *bat_type; member