Lines Matching refs:trip

317 				      int trip,  in handle_non_critical_trips()  argument
320 tz->governor ? tz->governor->throttle(tz, trip) : in handle_non_critical_trips()
321 def_governor->throttle(tz, trip); in handle_non_critical_trips()
373 int trip, enum thermal_trip_type trip_type) in handle_critical_trips() argument
377 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips()
383 trace_thermal_zone_trip(tz, trip, trip_type); in handle_critical_trips()
386 tz->ops->notify(tz, trip, trip_type); in handle_critical_trips()
406 static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) in handle_thermal_trip() argument
411 if (test_bit(trip, &tz->trips_disabled)) in handle_thermal_trip()
414 tz->ops->get_trip_type(tz, trip, &type); in handle_thermal_trip()
417 handle_critical_trips(tz, trip, type); in handle_thermal_trip()
419 handle_non_critical_trips(tz, trip, type); in handle_thermal_trip()
498 void thermal_notify_framework(struct thermal_zone_device *tz, int trip) in thermal_notify_framework() argument
500 handle_thermal_trip(tz, trip); in thermal_notify_framework()
672 int trip, in thermal_zone_bind_cooling_device() argument
684 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
715 dev->trip = trip; in thermal_zone_bind_cooling_device()
754 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_bind_cooling_device()
797 int trip, in thermal_zone_unbind_cooling_device() argument
805 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_unbind_cooling_device()