Home
last modified time | relevance | path

Searched refs:tcdev (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/hwmon/
Daspeed-pwm-tacho.c176 struct thermal_cooling_device *tcdev; member
785 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_max_state() argument
788 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_max_state()
796 aspeed_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_cur_state() argument
799 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_cur_state()
807 aspeed_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_set_cur_state() argument
810 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_set_cur_state()
857 cdev->tcdev = thermal_of_cooling_device_register(child, in aspeed_create_pwm_cooling()
861 if (IS_ERR(cdev->tcdev)) in aspeed_create_pwm_cooling()
862 return PTR_ERR(cdev->tcdev); in aspeed_create_pwm_cooling()
Dnpcm750-pwm-fan.c184 struct thermal_cooling_device *tcdev; member
796 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument
799 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state()
807 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument
810 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state()
818 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument
821 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state()
867 cdev->tcdev = thermal_of_cooling_device_register(child, in npcm7xx_create_pwm_cooling()
871 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling()
872 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()