Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c174 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()
/linux/drivers/tee/
H A Dtee_core.c1449 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 …]