Searched refs:bat_type (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/power/supply/ |
D | ab8500_bmdata.c | 476 .bat_type = bat_type_thermistor, 518 bm->bat_type[BATTERY_UNKNOWN].charge_full_design = 2600; in ab8500_bm_of_probe() 519 bm->bat_type[BATTERY_UNKNOWN].termination_vol = 4150; in ab8500_bm_of_probe() 520 bm->bat_type[BATTERY_UNKNOWN].recharge_cap = 95; in ab8500_bm_of_probe() 521 bm->bat_type[BATTERY_UNKNOWN].normal_cur_lvl = 520; in ab8500_bm_of_probe() 522 bm->bat_type[BATTERY_UNKNOWN].normal_vol_lvl = 4200; in ab8500_bm_of_probe() 532 bm->bat_type = bat_type_ext_thermistor; in ab8500_bm_of_probe() 539 bm->bat_type[i].batres_tbl = tmp_batres_tbl; in ab8500_bm_of_probe()
|
D | abx500_chargalg.c | 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() 1503 curr_step_lvl = di->bm->bat_type[ in abx500_chargalg_algorithm() [all …]
|
D | ab8500_btemp.c | 480 di->bm->bat_type[id].r_to_t_tbl, in ab8500_btemp_measure_temp() 481 di->bm->bat_type[id].n_temp_tbl_elements, rbat); in ab8500_btemp_measure_temp() 497 di->bm->bat_type[id].r_to_t_tbl, in ab8500_btemp_measure_temp() 498 di->bm->bat_type[id].n_temp_tbl_elements, rntc); in ab8500_btemp_measure_temp() 529 if ((res <= di->bm->bat_type[i].resis_high) && in ab8500_btemp_id() 530 (res >= di->bm->bat_type[i].resis_low)) { in ab8500_btemp_id() 536 di->bm->bat_type[i].resis_low, res, in ab8500_btemp_id() 537 di->bm->bat_type[i].resis_high, i); in ab8500_btemp_id() 834 val->intval = di->bm->bat_type[di->bm->batt_id].name; in ab8500_btemp_get_property()
|
D | ab8500_fg.c | 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() 2236 b = &(di->bm->bat_type[di->bm->batt_id]); in ab8500_fg_get_ext_psy_data() 3076 di->bm->bat_type[di->bm->batt_id].charge_full_design; in ab8500_fg_probe() 3080 di->vbat_nom = di->bm->bat_type[di->bm->batt_id].nominal_voltage; in ab8500_fg_probe()
|
/Linux-v5.4/drivers/staging/nvec/ |
D | nvec_power.c | 43 char bat_type[30]; member 204 memcpy(power->bat_type, &res->plc, res->length - 2); in nvec_power_bat_notifier() 205 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-v5.4/include/linux/mfd/ |
D | abx500.h | 293 struct abx500_battery_type *bat_type; member
|