Home
last modified time | relevance | path

Searched refs:ffa_dev (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/firmware/arm_ffa/
A Dbus.c28 ffa_dev = to_ffa_dev(dev); in ffa_device_match()
72 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent()
81 &ffa_dev->uuid); in modalias_show()
153 kfree(ffa_dev); in ffa_release_device()
201 ffa_dev = kzalloc(sizeof(*ffa_dev), GFP_KERNEL); in ffa_device_register()
202 if (!ffa_dev) { in ffa_device_register()
207 dev = &ffa_dev->dev; in ffa_device_register()
212 ffa_dev->id = id; in ffa_device_register()
214 ffa_dev->ops = ops; in ffa_device_register()
225 return ffa_dev; in ffa_device_register()
[all …]
A Dcommon.h17 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
18 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid);
A Ddriver.c1343 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid() argument
1353 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
1354 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid()
1391 struct ffa_device *ffa_dev; in ffa_setup_partitions() local
1417 ffa_dev = ffa_device_register(&uuid, tpbuf->id, &ffa_drv_ops); in ffa_setup_partitions()
1418 if (!ffa_dev) { in ffa_setup_partitions()
1424 ffa_dev->properties = tpbuf->properties; in ffa_setup_partitions()
1428 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions()
1432 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
1441 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
/linux/drivers/tee/tstee/
A Dcore.c98 struct ffa_device *ffa_dev = tstee->ffa_dev; in tstee_open_session() local
113 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data); in tstee_open_session()
164 struct ffa_device *ffa_dev = tstee->ffa_dev; in tstee_invoke_func() local
218 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data); in tstee_invoke_func()
247 struct ffa_device *ffa_dev = tstee->ffa_dev; in tstee_shm_register() local
288 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data); in tstee_shm_register()
310 struct ffa_device *ffa_dev = tstee->ffa_dev; in tstee_shm_unregister() local
324 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data); in tstee_shm_unregister()
399 if (ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data)) in tstee_check_rpc_compatible()
412 ffa_dev->ops->msg_ops->mode_32bit_set(ffa_dev); in tstee_probe()
[all …]
A Dtstee_private.h79 struct ffa_device *ffa_dev; member
/linux/drivers/tee/optee/
A Dffa_abi.c275 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_register() local
278 .receiver = ffa_dev->vm_id, in optee_ffa_shm_register()
318 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_unregister() local
536 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_yielding_call() local
743 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in enable_async_notif() local
750 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &data); in enable_async_notif()
821 ffa_dev->ops->notifier_ops->notify_relinquish(ffa_dev, in optee_ffa_remove()
839 rc = ffa_dev->ops->notifier_ops->notify_request(ffa_dev, in optee_ffa_async_notif_init()
863 ffa_dev->ops->notifier_ops->notify_relinquish(ffa_dev, in optee_ffa_async_notif_init()
885 ffa_ops = ffa_dev->ops; in optee_ffa_probe()
[all …]
A Doptee_private.h163 struct ffa_device *ffa_dev; member
/linux/include/linux/
A Darm_ffa.h172 void ffa_device_unregister(struct ffa_device *ffa_dev);
176 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
198 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument

Completed in 17 milliseconds