Lines Matching refs:tz
79 static void thermal_zone_trip_update(struct thermal_zone_device *tz, in thermal_zone_trip_update() argument
83 bool throttle = tz->temperature >= trip_threshold; in thermal_zone_trip_update()
85 enum thermal_trend trend = get_tz_trend(tz, trip); in thermal_zone_trip_update()
86 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_zone_trip_update()
90 trace_thermal_zone_trip(tz, trip_id, trip->type); in thermal_zone_trip_update()
92 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
115 static void step_wise_manage(struct thermal_zone_device *tz) in step_wise_manage() argument
120 lockdep_assert_held(&tz->lock); in step_wise_manage()
129 for_each_trip_desc(tz, td) { in step_wise_manage()
137 thermal_zone_trip_update(tz, td, td->threshold); in step_wise_manage()
140 for_each_trip_desc(tz, td) { in step_wise_manage()