Home
last modified time | relevance | path

Searched refs:bat_temp (Results 1 – 3 of 3) sorted by relevance

/drivers/power/supply/
Dab8500_btemp.c96 int bat_temp; member
633 int bat_temp; in ab8500_btemp_periodic_work() local
643 bat_temp = ab8500_btemp_measure_temp(di); in ab8500_btemp_periodic_work()
650 if ((bat_temp == di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()
651 if ((di->bat_temp != di->prev_bat_temp) || !di->initialized) { in ab8500_btemp_periodic_work()
653 di->bat_temp = bat_temp; in ab8500_btemp_periodic_work()
656 } else if (bat_temp < di->prev_bat_temp) { in ab8500_btemp_periodic_work()
657 di->bat_temp--; in ab8500_btemp_periodic_work()
659 } else if (bat_temp > di->prev_bat_temp) { in ab8500_btemp_periodic_work()
660 di->bat_temp++; in ab8500_btemp_periodic_work()
[all …]
Dda9052-battery.c304 int bat_temp; in da9052_bat_check_presence() local
306 bat_temp = da9052_adc_read_temp(bat->da9052); in da9052_bat_check_presence()
307 if (bat_temp < 0) in da9052_bat_check_presence()
308 return bat_temp; in da9052_bat_check_presence()
310 if (bat_temp > DA9052_BAT_TSH) in da9052_bat_check_presence()
Dab8500_fg.c206 int bat_temp; member
918 if (di->bat_temp / 10 > tbl[i].temp) in ab8500_fg_battery_resistance()
923 resist = interpolate(di->bat_temp / 10, in ab8500_fg_battery_resistance()
936 __func__, di->bat_temp, resist, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()
2265 di->bat_temp = ret.intval; in ab8500_fg_get_ext_psy_data()
3211 di->bat_temp = 210; in ab8500_fg_probe()