Searched refs:bat_temp (Results 1 – 4 of 4) sorted by relevance
96 int bat_temp; member572 int bat_temp; in ab8500_btemp_periodic_work() local582 bat_temp = ab8500_btemp_measure_temp(di); in ab8500_btemp_periodic_work()589 if ((bat_temp == di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()590 if ((di->bat_temp != di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()592 di->bat_temp = bat_temp; in ab8500_btemp_periodic_work()595 } else if (bat_temp < di->prev_bat_temp) { in ab8500_btemp_periodic_work()596 di->bat_temp--; in ab8500_btemp_periodic_work()598 } else if (bat_temp > di->prev_bat_temp) { in ab8500_btemp_periodic_work()599 di->bat_temp++; in ab8500_btemp_periodic_work()[all …]
300 int bat_temp; in da9052_bat_check_presence() local302 bat_temp = da9052_adc_read_temp(bat->da9052); in da9052_bat_check_presence()303 if (bat_temp < 0) in da9052_bat_check_presence()304 return bat_temp; in da9052_bat_check_presence()306 if (bat_temp > DA9052_BAT_TSH) in da9052_bat_check_presence()
206 int bat_temp; member916 if (di->bat_temp / 10 > tbl[i].temp) in ab8500_fg_battery_resistance()921 resist = interpolate(di->bat_temp / 10, in ab8500_fg_battery_resistance()934 __func__, di->bat_temp, resist, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()2263 di->bat_temp = ret.intval; in ab8500_fg_get_ext_psy_data()3205 di->bat_temp = 210; in ab8500_fg_probe()
109 bat_temp {