Home
last modified time | relevance | path

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

/linux/drivers/tee/tstee/
H A Dcore.c51 .impl_caps = lower_16_bits(tstee->ffa_dev->vm_id), in tstee_get_version()
98 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
199 dev_err(&ffa_dev->dev, in tstee_invoke_func()
218 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &ffa_data); in tstee_invoke_func()
225 dev_err(&ffa_dev->dev, "invoke_func rpc status: %d\n", in tstee_invoke_func()
247 struct ffa_device *ffa_dev = tstee->ffa_dev; in tstee_shm_register() local
249 .receiver = tstee->ffa_dev->vm_id, in tstee_shm_register()
270 rc = ffa_dev->ops->mem_ops->memory_share(&mem_args); in tstee_shm_register()
[all …]
H A Dtstee_private.h79 struct ffa_device *ffa_dev; member
/linux/drivers/tee/optee/
H A Dffa_abi.c276 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_register() local
277 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register()
279 .receiver = ffa_dev->vm_id, in optee_ffa_shm_register()
331 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_unregister() local
332 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_shm_unregister()
333 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister()
345 rc = msg_ops->sync_send_receive(ffa_dev, &data); in optee_ffa_shm_unregister()
371 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp()
550 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_yielding_call() local
551 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_yielding_call()
[all …]
/linux/drivers/firmware/arm_ffa/
H A Ddriver.c1656 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid()
1666 if (tpbuf->id == ffa_dev->vm_id)
1667 uuid_copy(&ffa_dev->uuid, uuid); in ffa_bus_notifier()
1761 struct ffa_device *ffa_dev; in ffa_setup_host_partition()
1765 ffa_dev = ffa_device_register(&buf, &ffa_drv_ops, &ffa_pdev->dev); in ffa_setup_host_partition()
1766 if (!ffa_dev) { in ffa_setup_host_partition()
1772 ret = ffa_xa_add_partition_info(ffa_dev); in ffa_setup_host_partition()
1779 ret = ffa_sched_recv_cb_update(ffa_dev, ffa_self_notif_handle, in ffa_setup_host_partition()
1814 struct ffa_device *ffa_dev; in ffa_setup_partitions()
1840 ffa_dev in ffa_setup_partitions()
1651 ffa_device_match_uuid(struct ffa_device * ffa_dev,const uuid_t * uuid) ffa_device_match_uuid() argument
1756 struct ffa_device *ffa_dev; ffa_setup_host_partition() local
1809 struct ffa_device *ffa_dev; ffa_setup_partitions() local
[all...]
/linux/include/linux/
H A Darm_ffa.h177 void ffa_device_unregister(struct ffa_device *ffa_dev);
182 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
206 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument