Lines Matching full:trips
287 * - Non-critical trips will invoke the governor responsible for that zone;
288 * - Hot trips will produce a notification to userspace;
565 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
833 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
1014 for (i = 0; i < tz->trips; i++) { in __bind()
1248 for (i = 0; i < tz->trips; i++) in __unbind()
1352 * @trips: the number of trip points the thermal zone support
1374 thermal_zone_device_register(const char *type, int trips, int mask, in thermal_zone_device_register() argument
1398 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) { in thermal_zone_device_register()
1399 pr_err("Error: Incorrect number of thermal trips\n"); in thermal_zone_device_register()
1408 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1430 tz->trips = trips; in thermal_zone_device_register()
1448 for (count = 0; count < trips; count++) { in thermal_zone_device_register()