Searched refs:tcdev (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/hwmon/ |
| H A D | aspeed-pwm-tacho.c | 174 struct thermal_cooling_device *tcdev; member 772 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_max_state() argument 775 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_max_state() 783 aspeed_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_cur_state() argument 786 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_get_cur_state() 794 aspeed_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_set_cur_state() argument 797 struct aspeed_cooling_device *cdev = tcdev->devdata; in aspeed_pwm_cz_set_cur_state() 844 cdev->tcdev = devm_thermal_of_child_cooling_device_register(dev, child, in aspeed_create_pwm_cooling() 847 if (IS_ERR(cdev->tcdev)) in aspeed_create_pwm_cooling() 848 return PTR_ERR(cdev->tcdev); in aspeed_create_pwm_cooling()
|
| H A D | npcm750-pwm-fan.c | 187 struct thermal_cooling_device *tcdev; member 794 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument 797 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state() 805 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument 808 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state() 816 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument 819 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state() 865 cdev->tcdev = devm_thermal_of_child_cooling_device_register(dev, child, in npcm7xx_create_pwm_cooling() 869 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling() 870 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()
|
| /linux/drivers/tee/ |
| H A D | tee_core.c | 1443 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_probe() local 1447 return drv->probe(tcdev); in tee_client_device_probe() 1454 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_remove() local 1458 drv->remove(tcdev); in tee_client_device_remove() 1463 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_shutdown() local 1467 drv->shutdown(tcdev); in tee_client_device_shutdown() 1480 static int tee_client_device_probe_legacy(struct tee_client_device *tcdev) in tee_client_device_probe_legacy() argument 1482 struct device *dev = &tcdev->dev; in tee_client_device_probe_legacy() 1488 static void tee_client_device_remove_legacy(struct tee_client_device *tcdev) in tee_client_device_remove_legacy() argument 1490 struct device *dev = &tcdev->dev; in tee_client_device_remove_legacy() [all …]
|