Lines Matching full:trip
18 struct thermal_trip trip; in thermal_zone_trip_update() local
22 ret = __thermal_zone_get_trip(tz, trip_id, &trip); in thermal_zone_trip_update()
24 pr_warn_once("Failed to retrieve trip point %d\n", trip_id); in thermal_zone_trip_update()
28 if (!trip.hysteresis) in thermal_zone_trip_update()
32 dev_dbg(&tz->device, "Trip%d[temp=%d]:temp=%d:hyst=%d\n", in thermal_zone_trip_update()
33 trip_id, trip.temperature, tz->temperature, in thermal_zone_trip_update()
34 trip.hysteresis); in thermal_zone_trip_update()
37 if (instance->trip != trip_id) in thermal_zone_trip_update()
55 if (instance->target == 0 && tz->temperature >= trip.temperature) in thermal_zone_trip_update()
58 tz->temperature <= trip.temperature - trip.hysteresis) in thermal_zone_trip_update()
75 * @trip: the trip point
99 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control() argument
106 ret = thermal_zone_trip_update(tz, trip); in bang_bang_control()