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
72 const struct thermal_trip *trip) in thermal_zone_trip_update() argument
74 int trip_id = thermal_zone_trip_id(tz, trip); in thermal_zone_trip_update()
80 trend = get_tz_trend(tz, trip); in thermal_zone_trip_update()
82 if (tz->temperature >= trip->temperature) { in thermal_zone_trip_update()
84 trace_thermal_zone_trip(tz, trip_id, trip->type); in thermal_zone_trip_update()
87 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update()
88 trip_id, trip->type, trip->temperature, trend, throttle); in thermal_zone_trip_update()
91 if (instance->trip != trip) in thermal_zone_trip_update()
105 if (trip->type == THERMAL_TRIP_PASSIVE) in thermal_zone_trip_update()
110 if (trip->type == THERMAL_TRIP_PASSIVE) in thermal_zone_trip_update()
124 * @trip: trip point
128 * devices associated with the zone and its particular trip point, by one
133 const struct thermal_trip *trip) in step_wise_throttle() argument
139 thermal_zone_trip_update(tz, trip); in step_wise_throttle()