Home
last modified time | relevance | path

Searched refs:tcdev (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dnpcm750-pwm-fan.c184 struct thermal_cooling_device *tcdev; member
778 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument
781 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state()
789 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument
792 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state()
800 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument
803 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state()
849 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in npcm7xx_create_pwm_cooling()
851 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling()
852 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()
[all...]
H A Daspeed-pwm-tacho.c173 struct thermal_cooling_device *tcdev; member
764 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_max_state() argument
767 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_max_state()
775 aspeed_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_cur_state() argument
778 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_cur_state()
786 aspeed_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_set_cur_state() argument
789 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_set_cur_state()
836 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in aspeed_create_pwm_cooling()
838 if (IS_ERR(cdev->tcdev)) in aspeed_create_pwm_cooling()
839 return PTR_ERR(cdev->tcdev); in aspeed_create_pwm_cooling()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnpcm750-pwm-fan.c184 struct thermal_cooling_device *tcdev; member
778 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument
781 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state()
789 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument
792 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state()
800 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument
803 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state()
849 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in npcm7xx_create_pwm_cooling()
851 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling()
852 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()
[all...]
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()
[all...]

Completed in 6 milliseconds