Searched refs:bat_temp (Results 1 – 4 of 4) sorted by relevance
97 int bat_temp; member574 int bat_temp; in ab8500_btemp_periodic_work() local584 bat_temp = ab8500_btemp_measure_temp(di); in ab8500_btemp_periodic_work()591 if ((bat_temp == di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()592 if ((di->bat_temp != di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()594 di->bat_temp = bat_temp; in ab8500_btemp_periodic_work()597 } else if (bat_temp < di->prev_bat_temp) { in ab8500_btemp_periodic_work()598 di->bat_temp--; in ab8500_btemp_periodic_work()600 } else if (bat_temp > di->prev_bat_temp) { in ab8500_btemp_periodic_work()601 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()3222 di->bat_temp = 210; in ab8500_fg_probe()
109 bat_temp {