Lines Matching refs:tzd
62 struct thermal_zone_device *tzd; member
144 static int pch_thermal_get_temp(struct thermal_zone_device *tzd, int *temp) in pch_thermal_get_temp() argument
146 struct pch_thermal_device *ptd = tzd->devdata; in pch_thermal_get_temp()
151 static int pch_get_trip_type(struct thermal_zone_device *tzd, int trip, in pch_get_trip_type() argument
154 struct pch_thermal_device *ptd = tzd->devdata; in pch_get_trip_type()
166 static int pch_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) in pch_get_trip_temp() argument
168 struct pch_thermal_device *ptd = tzd->devdata; in pch_get_trip_temp()
235 ptd->tzd = thermal_zone_device_register(dev_name, nr_trips, 0, ptd, in intel_pch_thermal_probe()
237 if (IS_ERR(ptd->tzd)) { in intel_pch_thermal_probe()
240 err = PTR_ERR(ptd->tzd); in intel_pch_thermal_probe()
260 thermal_zone_device_unregister(ptd->tzd); in intel_pch_thermal_remove()