Lines Matching refs:tzd
61 struct thermal_zone_device *tzd; member
224 static int pch_thermal_get_temp(struct thermal_zone_device *tzd, int *temp) in pch_thermal_get_temp() argument
226 struct pch_thermal_device *ptd = tzd->devdata; in pch_thermal_get_temp()
231 static int pch_get_trip_type(struct thermal_zone_device *tzd, int trip, in pch_get_trip_type() argument
234 struct pch_thermal_device *ptd = tzd->devdata; in pch_get_trip_type()
248 static int pch_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) in pch_get_trip_temp() argument
250 struct pch_thermal_device *ptd = tzd->devdata; in pch_get_trip_temp()
340 ptd->tzd = thermal_zone_device_register(bi->name, nr_trips, 0, ptd, in intel_pch_thermal_probe()
342 if (IS_ERR(ptd->tzd)) { in intel_pch_thermal_probe()
345 err = PTR_ERR(ptd->tzd); in intel_pch_thermal_probe()
365 thermal_zone_device_unregister(ptd->tzd); in intel_pch_thermal_remove()