Home
last modified time | relevance | path

Searched refs:batt_id (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dabx500_chargalg.c357 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 …]
Dab8500_btemp.c465 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()
Dab8500_fg.c860 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()
Dab8500_bmdata.c478 .batt_id = 0,
/kernel/linux/linux-5.10/include/linux/mfd/
Dabx500.h282 int batt_id; member
/kernel/linux/linux-5.10/include/linux/mfd/abx500/
Dab8500-bm.h444 int batt_id; member
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dqcom-apq8064.dtsi784 batt_id: adc-channel@09 { label