Lines Matching refs:trips
288 for (i = 0; i < tz->trips; i++) { in __bind()
312 for (i = 0; i < tz->trips; i++) in __unbind()
499 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
572 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
1271 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
1675 int size = sizeof(struct thermal_attr) * tz->trips; in create_trip_attrs()
1697 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
1757 for (indx = 0; indx < tz->trips; indx++) { in remove_trip_attrs()
1796 int trips, int mask, void *devdata, in thermal_zone_device_register() argument
1812 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) in thermal_zone_device_register()
1818 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1839 tz->trips = trips; in thermal_zone_device_register()
1874 for (count = 0; count < trips; count++) { in thermal_zone_device_register()