Searched refs:tcdev (Results 1 – 2 of 2) sorted by relevance
174 struct thermal_cooling_device *tcdev; member772 aspeed_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in aspeed_pwm_cz_get_max_state() argument775 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() argument786 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() argument797 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()
1449 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_probe() local1453 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() local1464 drv->remove(tcdev); in tee_client_device_remove()1469 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_shutdown() local1473 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() argument1488 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() argument1496 struct device *dev = &tcdev->dev; in tee_client_device_remove_legacy()[all …]