Searched refs:tcdev (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm_ftpm_tee.c | 254 static int ftpm_tee_probe(struct tee_client_device *tcdev) in ftpm_tee_probe() argument 256 struct device *dev = &tcdev->dev; in ftpm_tee_probe() 297 static void ftpm_tee_remove(struct tee_client_device *tcdev) in ftpm_tee_remove() argument 299 struct device *dev = &tcdev->dev; in ftpm_tee_remove()
|
| /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_cooling_device_register(dev, child, in aspeed_create_pwm_cooling() 846 if (IS_ERR(cdev->tcdev)) in aspeed_create_pwm_cooling() 847 return PTR_ERR(cdev->tcdev); in aspeed_create_pwm_cooling()
|
| H A D | npcm750-pwm-fan.c | 187 struct thermal_cooling_device *tcdev; member 789 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state() argument 792 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_max_state() 800 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state() argument 803 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_get_cur_state() 811 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state() argument 814 struct npcm7xx_cooling_device *cdev = tcdev->devdata; in npcm7xx_pwm_cz_set_cur_state() 860 cdev->tcdev = devm_thermal_of_cooling_device_register(dev, child, in npcm7xx_create_pwm_cooling() 862 if (IS_ERR(cdev->tcdev)) in npcm7xx_create_pwm_cooling() 863 return PTR_ERR(cdev->tcdev); in npcm7xx_create_pwm_cooling()
|
| /linux/drivers/tee/ |
| H A D | tee_core.c | 1449 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_probe() local 1453 return drv->probe(tcdev); in tee_client_device_probe() 1460 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_remove() local 1464 drv->remove(tcdev); in tee_client_device_remove() 1469 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_shutdown() local 1473 drv->shutdown(tcdev); in tee_client_device_shutdown() 1486 static int tee_client_device_probe_legacy(struct tee_client_device *tcdev) in tee_client_device_probe_legacy() argument 1488 struct device *dev = &tcdev->dev; in tee_client_device_probe_legacy() 1494 static void tee_client_device_remove_legacy(struct tee_client_device *tcdev) in tee_client_device_remove_legacy() argument 1496 struct device *dev = &tcdev->dev; in tee_client_device_remove_legacy() [all …]
|