Searched refs:ffa_dev (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/firmware/arm_ffa/ |
| H A D | bus.c | 25 struct ffa_device *ffa_dev; in ffa_device_match() local 28 ffa_dev = to_ffa_dev(dev); in ffa_device_match() 36 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_match() 39 if (uuid_equal(&ffa_dev->uuid, &id_table->uuid)) in ffa_device_match() 50 struct ffa_device *ffa_dev = to_ffa_dev(dev); in ffa_device_probe() local 53 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_probe() 56 return ffa_drv->probe(ffa_dev); in ffa_device_probe() 69 const struct ffa_device *ffa_dev = to_ffa_dev(dev); in ffa_device_uevent() local 72 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent() 78 struct ffa_device *ffa_dev = to_ffa_dev(dev); in modalias_show() local [all …]
|
| H A D | common.h | 17 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);
|
| H A D | driver.c | 1559 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid() argument 1569 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid() 1570 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid() 1655 struct ffa_device *ffa_dev; in ffa_setup_host_partition() local 1659 ffa_dev = ffa_device_register(&buf, &ffa_drv_ops); in ffa_setup_host_partition() 1660 if (!ffa_dev) { in ffa_setup_host_partition() 1666 ret = ffa_xa_add_partition_info(ffa_dev); in ffa_setup_host_partition() 1673 ret = ffa_sched_recv_cb_update(ffa_dev, ffa_self_notif_handle, in ffa_setup_host_partition() 1706 struct ffa_device *ffa_dev; in ffa_setup_partitions() local 1729 ffa_dev = ffa_device_register(tpbuf, &ffa_drv_ops); in ffa_setup_partitions() [all …]
|
| /linux/drivers/tee/tstee/ |
| H A D | core.c | 51 .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 D | tstee_private.h | 79 struct ffa_device *ffa_dev; member
|
| /linux/drivers/char/tpm/ |
| H A D | tpm_crb_ffa.c | 114 struct ffa_device *ffa_dev; member 207 msg_ops = tpm_crb_ffa->ffa_dev->ops->msg_ops; in __tpm_crb_ffa_try_send_receive() 209 if (ffa_partition_supports_direct_req2_recv(tpm_crb_ffa->ffa_dev)) { in __tpm_crb_ffa_try_send_receive() 214 ret = msg_ops->sync_send_receive2(tpm_crb_ffa->ffa_dev, in __tpm_crb_ffa_try_send_receive() 226 ret = msg_ops->sync_send_receive(tpm_crb_ffa->ffa_dev, in __tpm_crb_ffa_try_send_receive() 254 dev_warn(&tpm_crb_ffa->ffa_dev->dev, in __tpm_crb_ffa_send_receive() 293 if (ffa_partition_supports_direct_req2_recv(tpm_crb_ffa->ffa_dev)) { in tpm_crb_ffa_get_interface_version() 332 static int tpm_crb_ffa_probe(struct ffa_device *ffa_dev) in tpm_crb_ffa_probe() argument 343 if (!ffa_partition_supports_direct_recv(ffa_dev) && in tpm_crb_ffa_probe() 344 !ffa_partition_supports_direct_req2_recv(ffa_dev)) { in tpm_crb_ffa_probe() [all …]
|
| /linux/drivers/tee/optee/ |
| H A D | ffa_abi.c | 275 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_register() local 276 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register() 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 319 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_shm_unregister() 320 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister() 332 rc = msg_ops->sync_send_receive(ffa_dev, &data); in optee_ffa_shm_unregister() 358 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp() 536 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_yielding_call() local 537 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_yielding_call() [all …]
|
| /linux/include/linux/ |
| H A D | arm_ffa.h | 177 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
|