Lines Matching refs:cdev
56 struct thermal_cooling_device *cdev;
331 static int qmp_cdev_get_max_state(struct thermal_cooling_device *cdev,
338 static int qmp_cdev_get_cur_state(struct thermal_cooling_device *cdev,
341 struct qmp_cooling_device *qmp_cdev = cdev->devdata;
347 static int qmp_cdev_set_cur_state(struct thermal_cooling_device *cdev,
350 struct qmp_cooling_device *qmp_cdev = cdev->devdata;
383 qmp_cdev->cdev = devm_thermal_of_cooling_device_register
388 if (IS_ERR(qmp_cdev->cdev))
392 return PTR_ERR_OR_ZERO(qmp_cdev->cdev);
429 (qmp->cooling_devs[count].cdev);
440 thermal_cooling_device_unregister(qmp->cooling_devs[i].cdev);