Lines Matching full:trip
31 * If the temperature is higher than a trip point,
33 * state for this trip point
36 * for this trip point
38 * for this trip point
39 * If the temperature is lower than a trip point,
42 * state for this trip point, if the cooling state already
128 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() argument
137 if (trip == THERMAL_TRIPS_NONE) { in thermal_zone_trip_update()
141 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update()
142 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update()
145 trend = get_tz_trend(tz, trip); in thermal_zone_trip_update()
149 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update()
152 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
153 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
158 if (instance->trip != trip) in thermal_zone_trip_update()
190 * @trip - trip point index
194 * devices associated with the zone and its particular trip point, by one
198 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle() argument
202 thermal_zone_trip_update(tz, trip); in step_wise_throttle()