Lines Matching defs:cdev
98 * @cdev: cooling device;
109 struct thermal_cooling_device *cdev;
268 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev,
275 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev,
279 struct mlxreg_fan *fan = cdev->devdata;
294 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev,
298 struct mlxreg_fan *fan = cdev->devdata;
512 fan->cdev = devm_thermal_of_cooling_device_register(dev,
514 if (IS_ERR(fan->cdev)) {
516 return PTR_ERR(fan->cdev);