Searched refs:optee_device (Results 1 – 1 of 1) sorted by relevance
65 struct tee_client_device *optee_device = to_tee_client_device(dev); in optee_release_device() local67 kfree(optee_device); in optee_release_device()81 struct tee_client_device *optee_device = NULL; in optee_register_device() local84 optee_device = kzalloc(sizeof(*optee_device), GFP_KERNEL); in optee_register_device()85 if (!optee_device) in optee_register_device()88 optee_device->dev.bus = &tee_bus_type; in optee_register_device()89 optee_device->dev.release = optee_release_device; in optee_register_device()90 if (dev_set_name(&optee_device->dev, "optee-ta-%pUb", device_uuid)) { in optee_register_device()91 kfree(optee_device); in optee_register_device()94 uuid_copy(&optee_device->id.uuid, device_uuid); in optee_register_device()[all …]