Lines Matching refs:tcdev
184 struct thermal_cooling_device *tcdev;
778 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev,
781 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
789 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev,
792 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
800 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev,
803 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
849 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child,
851 if (IS_ERR(cdev->tcdev))
852 return PTR_ERR(cdev->tcdev);