Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dab8500_btemp.c96 int bat_temp; member
572 int bat_temp; in ab8500_btemp_periodic_work() local
582 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 …]
Dda9052-battery.c300 int bat_temp; in da9052_bat_check_presence() local
302 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()
Dab8500_fg.c206 int bat_temp; member
916 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()
/Linux-v5.4/arch/arm/boot/dts/
Dqcom-pm8941.dtsi109 bat_temp {