Searched refs:optee_device (Results 1 – 1 of 1) sorted by relevance
58 struct tee_client_device *optee_device = to_tee_client_device(dev); in optee_release_device() local60 kfree(optee_device); in optee_release_device()65 struct tee_client_device *optee_device = NULL; in optee_register_device() local68 optee_device = kzalloc(sizeof(*optee_device), GFP_KERNEL); in optee_register_device()69 if (!optee_device) in optee_register_device()72 optee_device->dev.bus = &tee_bus_type; in optee_register_device()73 optee_device->dev.release = optee_release_device; in optee_register_device()74 if (dev_set_name(&optee_device->dev, "optee-ta-%pUb", device_uuid)) { in optee_register_device()75 kfree(optee_device); in optee_register_device()78 uuid_copy(&optee_device->id.uuid, device_uuid); in optee_register_device()[all …]