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 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update()
126 tz->ops->get_trip_type(tz, trip, &trip_type); in thermal_zone_trip_update()
128 trend = get_tz_trend(tz, trip); in thermal_zone_trip_update()
132 trace_thermal_zone_trip(tz, trip, trip_type); in thermal_zone_trip_update()
135 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
136 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
141 if (instance->trip != trip) in thermal_zone_trip_update()
173 * @trip: trip point index
177 * devices associated with the zone and its particular trip point, by one
181 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle() argument
185 thermal_zone_trip_update(tz, trip); in step_wise_throttle()