Searched refs:batt_data (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dabx500_chargalg.c225 * @batt_data: data of the battery
251 struct abx500_chargalg_battery_data batt_data; member in struct:abx500_chargalg
760 if (di->batt_data.temp > (di->bm->temp_low + di->t_hyst_norm) && abx500_chargalg_check_temp()
761 di->batt_data.temp < (di->bm->temp_high - di->t_hyst_norm)) { abx500_chargalg_check_temp()
768 if (((di->batt_data.temp >= di->bm->temp_high) && abx500_chargalg_check_temp()
769 (di->batt_data.temp < abx500_chargalg_check_temp()
771 ((di->batt_data.temp > abx500_chargalg_check_temp()
773 (di->batt_data.temp <= di->bm->temp_low))) { abx500_chargalg_check_temp()
779 } else if (di->batt_data.temp <= di->bm->temp_under || abx500_chargalg_check_temp()
780 di->batt_data.temp >= di->bm->temp_over) { abx500_chargalg_check_temp()
790 di->batt_data.temp, di->t_hyst_lowhigh, abx500_chargalg_check_temp()
828 !di->maintenance_chg && (di->batt_data.volt >= abx500_chargalg_end_of_charge()
831 di->batt_data.avg_curr < abx500_chargalg_end_of_charge()
833 di->batt_data.avg_curr > 0) { abx500_chargalg_end_of_charge()
883 delta_i = di->ccm.original_iset - di->batt_data.inst_curr; abx500_chargalg_chg_curr_maxim()
907 if ((di->batt_data.inst_curr > di->ccm.original_iset)) { abx500_chargalg_chg_curr_maxim()
910 di->batt_data.inst_curr, di->ccm.original_iset, abx500_chargalg_chg_curr_maxim()
1002 di->batt_data.percent = ret.intval; abx500_chargalg_get_ext_psy_data()
1202 di->batt_data.volt = ret.intval / 1000; abx500_chargalg_get_ext_psy_data()
1255 di->batt_data.temp = ret.intval / 10; abx500_chargalg_get_ext_psy_data()
1269 di->batt_data.inst_curr = ret.intval / 1000; abx500_chargalg_get_ext_psy_data()
1279 di->batt_data.avg_curr = ret.intval / 1000; abx500_chargalg_get_ext_psy_data()
1293 di->batt_data.percent = ret.intval; abx500_chargalg_get_ext_psy_data()
1438 di->batt_data.volt, abx500_chargalg_algorithm()
1439 di->batt_data.avg_curr, abx500_chargalg_algorithm()
1440 di->batt_data.inst_curr, abx500_chargalg_algorithm()
1441 di->batt_data.temp, abx500_chargalg_algorithm()
1442 di->batt_data.percent, abx500_chargalg_algorithm()
1545 if (di->batt_data.volt > abx500_chargalg_algorithm()
1583 if (di->batt_data.volt > abx500_chargalg_algorithm()
1609 if (di->batt_data.percent <= abx500_chargalg_algorithm()
1791 if (di->batt_data.temp <= di->bm->temp_under) abx500_chargalg_get_property()

Completed in 42 milliseconds