Home
last modified time | relevance | path

Searched refs:tzd_batt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/power/
H A Dcharger-manager.h225 struct thermal_zone_device *tzd_batt; member
/openbmc/linux/drivers/power/supply/
H A Dcharger-manager.c511 if (cm->tzd_batt) { in cm_get_battery_temperature()
512 ret = thermal_zone_get_temp(cm->tzd_batt, temp); in cm_get_battery_temperature()
1250 cm->tzd_batt = in cm_init_thermal_data()
1252 if (IS_ERR(cm->tzd_batt)) in cm_init_thermal_data()
1253 return PTR_ERR(cm->tzd_batt); in cm_init_thermal_data()