Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c172 struct thermal_cooling_device *tcdev; member
763 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_max_state() argument
766 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_max_state()
774 aspeed_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_cur_state() argument
777 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_cur_state()
785 aspeed_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_set_cur_state() argument
788 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_set_cur_state()
835 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in aspeed_create_pwm_cooling()
837 if (IS_ERR(cdev->tcdev)) in aspeed_create_pwm_cooling()
838 return PTR_ERR(cdev->tcdev); in aspeed_create_pwm_cooling()
H A Dnpcm750-pwm-fan.c188 struct thermal_cooling_device *tcdev; member
795 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument
798 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state()
806 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument
809 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state()
817 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument
820 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state()
866 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in npcm7xx_create_pwm_cooling()
868 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling()
869 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()