Lines Matching refs:trip
19 * get_trip_level: - obtains the current trip level for a zone
24 struct thermal_trip trip;
28 __thermal_zone_get_trip(tz, count, &trip);
29 if (tz->temperature < trip.temperature)
34 * count > 0 only if temperature is greater than first trip
38 trace_thermal_zone_trip(tz, count - 1, trip.type);
52 * @trip_index: trip point index
63 * We do not want to throttle too much when we trip a lower temperature,
64 * whereas the throttling is at full swing if we trip critical levels.
65 * (Heavily assumes the trip points are in ascending order)
70 const struct thermal_trip *trip = &tz->trips[trip_index];
79 if (instance->trip != trip)
90 if (instance->trip != trip)