Lines Matching defs:tcdev
187 struct thermal_cooling_device *tcdev;
789 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev,
792 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
800 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev,
803 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
811 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev,
814 struct npcm7xx_cooling_device *cdev = tcdev->devdata;
860 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child,
862 if (IS_ERR(cdev->tcdev))
863 return PTR_ERR(cdev->tcdev);