Lines Matching full:trip
19 * If the temperature is higher than a trip point,
21 * state for this trip point
24 * for this trip point
26 * for this trip point
27 * If the temperature is lower than a trip point,
30 * state for this trip point, if the cooling state already
116 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() argument
125 if (trip == THERMAL_TRIPS_NONE) { in thermal_zone_trip_update()
129 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update()
130 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update()
133 trend = get_tz_trend(tz, trip); in thermal_zone_trip_update()
137 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update()
140 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
141 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
146 if (instance->trip != trip) in thermal_zone_trip_update()
178 * @trip: trip point index
182 * devices associated with the zone and its particular trip point, by one
186 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle() argument
190 thermal_zone_trip_update(tz, trip); in step_wise_throttle()