Lines Matching defs:cdev
288 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev)
308 if (cooling_spec.np != cdev->np)
311 ret = thermal_zone_unbind_cooling_device(tz, trip_id, cdev);
313 pr_err("Failed to unbind '%s' with '%s': %d\n", tz->type, cdev->type, ret);
319 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev)
341 if (cooling_spec.np != cdev->np)
344 ret = thermal_zone_bind_cooling_device(tz, trip_id, cdev, cooling_spec.args[1],
348 pr_err("Failed to bind '%s' with '%s': %d\n", tz->type, cdev->type, ret);
354 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev,
381 action(map_np, i, trip_id, tz, cdev);
387 struct thermal_cooling_device *cdev,
405 ret = thermal_of_for_each_cooling_device(tz_np, child, tz, cdev, action);
420 struct thermal_cooling_device *cdev)
422 return thermal_of_for_each_cooling_maps(tz, cdev, __thermal_of_bind);
426 struct thermal_cooling_device *cdev)
428 return thermal_of_for_each_cooling_maps(tz, cdev, __thermal_of_unbind);