Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dab8500_btemp.c97 int bat_temp; member
574 int bat_temp; in ab8500_btemp_periodic_work() local
584 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 …]
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()
3222 di->bat_temp = 210; in ab8500_fg_probe()
/Linux-v5.10/arch/arm/boot/dts/
Dqcom-pm8941.dtsi109 bat_temp {