Lines Matching refs:thermal_zone_device
75 static int of_thermal_get_temp(struct thermal_zone_device *tz, in of_thermal_get_temp()
86 static int of_thermal_set_trips(struct thermal_zone_device *tz, in of_thermal_set_trips()
107 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips()
128 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid()
150 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
172 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz, in of_thermal_set_emul_temp()
180 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend()
191 static int of_thermal_bind(struct thermal_zone_device *thermal, in of_thermal_bind()
220 static int of_thermal_unbind(struct thermal_zone_device *thermal, in of_thermal_unbind()
246 static int of_thermal_get_mode(struct thermal_zone_device *tz, in of_thermal_get_mode()
256 static int of_thermal_set_mode(struct thermal_zone_device *tz, in of_thermal_set_mode()
279 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type()
292 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_temp()
305 static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_temp()
327 static int of_thermal_get_trip_hyst(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_hyst()
340 static int of_thermal_set_trip_hyst(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_hyst()
354 static int of_thermal_get_crit_temp(struct thermal_zone_device *tz, in of_thermal_get_crit_temp()
386 static struct thermal_zone_device *
391 struct thermal_zone_device *tzd; in thermal_zone_of_add_sensor()
457 struct thermal_zone_device *
462 struct thermal_zone_device *tzd = ERR_PTR(-ENODEV); in thermal_zone_of_sensor_register()
531 struct thermal_zone_device *tzd) in thermal_zone_of_sensor_unregister()
558 *(struct thermal_zone_device **)res); in devm_thermal_zone_of_sensor_release()
564 struct thermal_zone_device **r = res; in devm_thermal_zone_of_sensor_match()
591 struct thermal_zone_device *devm_thermal_zone_of_sensor_register( in devm_thermal_zone_of_sensor_register()
595 struct thermal_zone_device **ptr, *tzd; in devm_thermal_zone_of_sensor_register()
629 struct thermal_zone_device *tzd) in devm_thermal_zone_of_sensor_unregister()
959 struct thermal_zone_device *zone; in of_parse_thermal_zones()
1042 struct thermal_zone_device *zone; in of_thermal_destroy_zones()