Lines Matching refs:trip
49 int trip; member
174 int trip, result; in trip_point_type_show() local
179 if (!sscanf(attr->attr.name, "trip_point_%d_type", &trip)) in trip_point_type_show()
182 result = tz->ops->get_trip_type(tz, trip, &type); in trip_point_type_show()
205 int trip, ret; in trip_point_temp_show() local
211 if (!sscanf(attr->attr.name, "trip_point_%d_temp", &trip)) in trip_point_temp_show()
214 ret = tz->ops->get_trip_temp(tz, trip, &temperature); in trip_point_temp_show()
411 if (instance->trip == THERMAL_TRIPS_NONE) in thermal_cooling_device_trip_point_show()
414 return sprintf(buf, "%d\n", instance->trip); in thermal_cooling_device_trip_point_show()
609 int temp, int trip_temp, int trip) in thermal_zone_device_passive() argument
633 if (instance->trip != trip) in thermal_zone_device_passive()
644 if (instance->trip != trip) in thermal_zone_device_passive()
664 if (instance->trip != trip) in thermal_zone_device_passive()
694 int trip, in thermal_zone_bind_cooling_device() argument
703 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
724 dev->trip = trip; in thermal_zone_bind_cooling_device()
746 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_bind_cooling_device()
779 int trip, in thermal_zone_unbind_cooling_device() argument
786 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_unbind_cooling_device()
998 if (instance->trip != count) in thermal_zone_device_update()