Lines Matching refs:thermal_zone_device
87 static int of_thermal_get_temp(struct thermal_zone_device *tz,
98 static int of_thermal_set_trips(struct thermal_zone_device *tz,
119 int of_thermal_get_ntrips(struct thermal_zone_device *tz)
140 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip)
162 of_thermal_get_trip_points(struct thermal_zone_device *tz)
184 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz,
195 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip,
206 static int of_thermal_bind(struct thermal_zone_device *thermal,
241 static int of_thermal_unbind(struct thermal_zone_device *thermal,
273 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip,
286 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip,
299 static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip,
321 static int of_thermal_get_trip_hyst(struct thermal_zone_device *tz, int trip,
334 static int of_thermal_set_trip_hyst(struct thermal_zone_device *tz, int trip,
348 static int of_thermal_get_crit_temp(struct thermal_zone_device *tz,
377 static struct thermal_zone_device *
382 struct thermal_zone_device *tzd;
488 * Return: On success returns a valid struct thermal_zone_device,
492 struct thermal_zone_device *
497 struct thermal_zone_device *tzd = ERR_PTR(-ENODEV);
540 * @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
552 struct thermal_zone_device *tzd)
582 *(struct thermal_zone_device **)res);
588 struct thermal_zone_device **r = res;
609 * Return: On success returns a valid struct thermal_zone_device,
612 * Registered thermal_zone_device device will automatically be
615 struct thermal_zone_device *devm_thermal_zone_of_sensor_register(
619 struct thermal_zone_device **ptr, *tzd;
643 * @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
653 struct thermal_zone_device *tzd)
1019 struct thermal_zone_device *zone;
1058 struct thermal_zone_device *zone;