Lines Matching refs:trip_id
87 int trip_id, result; in trip_point_type_show() local
89 if (sscanf(attr->attr.name, "trip_point_%d_type", &trip_id) != 1) in trip_point_type_show()
95 result = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_type_show()
124 int trip_id, ret; in trip_point_temp_store() local
126 if (sscanf(attr->attr.name, "trip_point_%d_temp", &trip_id) != 1) in trip_point_temp_store()
136 ret = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_temp_store()
144 ret = thermal_zone_set_trip(tz, trip_id, &trip); in trip_point_temp_store()
157 int trip_id, ret; in trip_point_temp_show() local
159 if (sscanf(attr->attr.name, "trip_point_%d_temp", &trip_id) != 1) in trip_point_temp_show()
165 ret = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_temp_show()
183 int trip_id, ret; in trip_point_hyst_store() local
185 if (sscanf(attr->attr.name, "trip_point_%d_hyst", &trip_id) != 1) in trip_point_hyst_store()
195 ret = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_hyst_store()
203 ret = thermal_zone_set_trip(tz, trip_id, &trip); in trip_point_hyst_store()
216 int trip_id, ret; in trip_point_hyst_show() local
218 if (sscanf(attr->attr.name, "trip_point_%d_hyst", &trip_id) != 1) in trip_point_hyst_show()
224 ret = __thermal_zone_get_trip(tz, trip_id, &trip); in trip_point_hyst_show()