Lines Matching full:tz
59 * @tz: thermal_zone_device
63 static void bang_bang_trip_crossed(struct thermal_zone_device *tz,
70 lockdep_assert_held(&tz->lock);
72 dev_dbg(&tz->device, "Trip%d[temp=%d]:temp=%d:hyst=%d\n",
73 thermal_zone_trip_id(tz, trip), trip->temperature,
74 tz->temperature, trip->hysteresis);
80 static void bang_bang_manage(struct thermal_zone_device *tz)
86 if (tz->governor_data)
89 for_each_trip_desc(tz, td) {
102 turn_on = tz->temperature >= td->threshold;
109 tz->governor_data = (void *)true;
112 static void bang_bang_update_tz(struct thermal_zone_device *tz,
120 tz->governor_data = NULL;