Lines Matching full:trip
18 const struct thermal_trip *trip = &tz->trips[trip_index]; in thermal_zone_trip_update() local
21 if (!trip->hysteresis) in thermal_zone_trip_update()
25 dev_dbg(&tz->device, "Trip%d[temp=%d]:temp=%d:hyst=%d\n", in thermal_zone_trip_update()
26 trip_index, trip->temperature, tz->temperature, in thermal_zone_trip_update()
27 trip->hysteresis); in thermal_zone_trip_update()
30 if (instance->trip != trip) in thermal_zone_trip_update()
48 if (instance->target == 0 && tz->temperature >= trip->temperature) in thermal_zone_trip_update()
51 tz->temperature <= trip->temperature - trip->hysteresis) in thermal_zone_trip_update()
68 * @trip: the trip point
92 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control() argument
99 ret = thermal_zone_trip_update(tz, trip); in bang_bang_control()