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

/linux-4.4.14/drivers/power/
H A Dab8500_btemp.c79 * @bat_temp: Dispatched battery temperature in degree Celcius
96 int bat_temp; member in struct:ab8500_btemp
633 int bat_temp; ab8500_btemp_periodic_work() local
643 bat_temp = ab8500_btemp_measure_temp(di); ab8500_btemp_periodic_work()
650 if ((bat_temp == di->prev_bat_temp) || !di->initialized) { ab8500_btemp_periodic_work()
651 if ((di->bat_temp != di->prev_bat_temp) || !di->initialized) { ab8500_btemp_periodic_work()
653 di->bat_temp = bat_temp; ab8500_btemp_periodic_work()
656 } else if (bat_temp < di->prev_bat_temp) { ab8500_btemp_periodic_work()
657 di->bat_temp--; ab8500_btemp_periodic_work()
659 } else if (bat_temp > di->prev_bat_temp) { ab8500_btemp_periodic_work()
660 di->bat_temp++; ab8500_btemp_periodic_work()
663 di->prev_bat_temp = bat_temp; ab8500_btemp_periodic_work()
825 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
831 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
836 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
841 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
846 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
848 temp = di->bat_temp * 10; ab8500_btemp_get_temp()
862 return btemp->bat_temp * 1000; ab8500_btemp_get_batctrl_temp()
H A Dda9052-battery.c304 int bat_temp; da9052_bat_check_presence() local
306 bat_temp = da9052_adc_read_temp(bat->da9052); da9052_bat_check_presence()
307 if (bat_temp < 0) da9052_bat_check_presence()
308 return bat_temp; da9052_bat_check_presence()
310 if (bat_temp > DA9052_BAT_TSH) da9052_bat_check_presence()
H A Dab8500_fg.c164 * @bat_temp battery temperature
206 int bat_temp; member in struct:ab8500_fg
923 if (di->bat_temp / 10 > tbl[i].temp) ab8500_fg_battery_resistance()
928 resist = interpolate(di->bat_temp / 10, ab8500_fg_battery_resistance()
941 __func__, di->bat_temp, resist, di->bm->fg_res / 10, ab8500_fg_battery_resistance()
2275 di->bat_temp = ret.intval; ab8500_fg_get_ext_psy_data()
3221 di->bat_temp = 210; ab8500_fg_probe()
/linux-4.4.14/drivers/hwmon/
H A Dab8500.c134 label = "bat_temp"; ab8500_show_label()

Completed in 287 milliseconds