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()
1443 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_probe() local1447 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() local1458 drv->remove(tcdev); in tee_client_device_remove()1463 struct tee_client_device *tcdev = to_tee_client_device(dev); in tee_client_device_shutdown() local1467 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() argument1482 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() argument1490 struct device *dev = &tcdev->dev; in tee_client_device_remove_legacy()[all …]