Lines Matching full:trips
284 * - Non-critical trips will invoke the governor responsible for that zone;
285 * - Hot trips will produce a notification to userspace;
504 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
629 if (trip >= tz->trips || trip < 0) in thermal_zone_bind_cooling_device()
810 for (i = 0; i < tz->trips; i++) { in __bind()
1050 for (i = 0; i < tz->trips; i++) in __unbind()
1155 * @trips: the number of trip points the thermal zone support
1177 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument
1201 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) { in thermal_zone_device_register()
1202 pr_err("Error: Incorrect number of thermal trips\n"); in thermal_zone_device_register()
1211 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1237 tz->trips = trips; in thermal_zone_device_register()
1256 for (count = 0; count < trips; count++) { in thermal_zone_device_register()