Lines Matching refs:trip
45 int trip; member
147 int trip; in trip_point_type_show() local
152 if (!sscanf(attr->attr.name, "trip_point_%d_type", &trip)) in trip_point_type_show()
155 return tz->ops->get_trip_type(tz, trip, buf); in trip_point_type_show()
163 int trip; in trip_point_temp_show() local
168 if (!sscanf(attr->attr.name, "trip_point_%d_temp", &trip)) in trip_point_temp_show()
171 return tz->ops->get_trip_temp(tz, trip, buf); in trip_point_temp_show()
290 if (instance->trip == THERMAL_TRIPS_NONE) in thermal_cooling_device_trip_point_show()
293 return sprintf(buf, "%d\n", instance->trip); in thermal_cooling_device_trip_point_show()
466 int trip, in thermal_zone_bind_cooling_device() argument
475 if (trip >= tz->trips || (trip < 0 && trip != THERMAL_TRIPS_NONE)) in thermal_zone_bind_cooling_device()
496 dev->trip = trip; in thermal_zone_bind_cooling_device()
517 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_bind_cooling_device()
550 int trip, in thermal_zone_unbind_cooling_device() argument
557 if (pos->tz == tz && pos->trip == trip && pos->cdev == cdev) { in thermal_zone_unbind_cooling_device()