Lines Matching full:trip
20 * If the temperature is higher than a trip point,
22 * state for this trip point
24 * If the temperature is lower than a trip point,
27 * state for this trip point, if the cooling state already
84 const struct thermal_trip *trip = &tz->trips[trip_id]; in thermal_zone_trip_update() local
92 if (tz->temperature >= trip->temperature) { in thermal_zone_trip_update()
94 trace_thermal_zone_trip(tz, trip_id, trip->type); in thermal_zone_trip_update()
97 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
98 trip_id, trip->type, trip->temperature, trend, throttle); in thermal_zone_trip_update()
101 if (instance->trip != trip) in thermal_zone_trip_update()
115 update_passive_instance(tz, trip->type, 1); in thermal_zone_trip_update()
119 update_passive_instance(tz, trip->type, -1); in thermal_zone_trip_update()
131 * @trip: trip point index
135 * devices associated with the zone and its particular trip point, by one
139 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle() argument
145 thermal_zone_trip_update(tz, trip); in step_wise_throttle()