Lines Matching refs:trips
228 for (i = 0; i < tz->trips; i++) { in __bind()
251 for (i = 0; i < tz->trips; i++) in __unbind()
440 for (count = 0; count < tz->trips; count++) { in thermal_zone_get_temp()
511 for (count = 0; count < tz->trips; count++) in thermal_zone_device_update()
977 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
1367 int size = sizeof(struct thermal_attr) * tz->trips; in create_trip_attrs()
1389 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
1448 for (indx = 0; indx < tz->trips; indx++) { in remove_trip_attrs()
1487 int trips, int mask, void *devdata, in thermal_zone_device_register() argument
1502 if (trips > THERMAL_MAX_TRIPS || trips < 0 || mask >> trips) in thermal_zone_device_register()
1508 if (trips > 0 && (!ops->get_trip_type || !ops->get_trip_temp)) in thermal_zone_device_register()
1529 tz->trips = trips; in thermal_zone_device_register()
1564 for (count = 0; count < trips; count++) { in thermal_zone_device_register()