Searched refs:ffa_dev (Results 1 – 8 of 8) sorted by relevance
| /drivers/firmware/arm_ffa/ |
| A D | bus.c | 28 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() 206 ffa_dev = kzalloc(sizeof(*ffa_dev), GFP_KERNEL); in ffa_device_register() 207 if (!ffa_dev) { in ffa_device_register() 212 dev = &ffa_dev->dev; in ffa_device_register() 218 ffa_dev->id = id; in ffa_device_register() 221 ffa_dev->ops = ops; in ffa_device_register() 232 return ffa_dev; in ffa_device_register() [all …]
|
| 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);
|
| A D | driver.c | 1552 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid() 1553 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid() 1638 struct ffa_device *ffa_dev; in ffa_setup_host_partition() local 1642 ffa_dev = ffa_device_register(&buf, &ffa_drv_ops); in ffa_setup_host_partition() 1643 if (!ffa_dev) { in ffa_setup_host_partition() 1649 ret = ffa_xa_add_partition_info(ffa_dev); in ffa_setup_host_partition() 1689 struct ffa_device *ffa_dev; in ffa_setup_partitions() local 1713 if (!ffa_dev) { in ffa_setup_partitions() 1721 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions() 1723 if (ffa_xa_add_partition_info(ffa_dev)) { in ffa_setup_partitions() [all …]
|
| /drivers/tee/tstee/ |
| A D | core.c | 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 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 D | tstee_private.h | 79 struct ffa_device *ffa_dev; member
|
| /drivers/char/tpm/ |
| 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() 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() 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() 355 tpm_crb_ffa->ffa_dev = ffa_dev; in tpm_crb_ffa_probe() 356 ffa_dev_set_drvdata(ffa_dev, tpm_crb_ffa); in tpm_crb_ffa_probe() 360 ffa_dev->ops->msg_ops->mode_32bit_set(ffa_dev); in tpm_crb_ffa_probe() [all …]
|
| /drivers/tee/optee/ |
| A D | ffa_abi.c | 275 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 752 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in enable_async_notif() local 759 rc = ffa_dev->ops->msg_ops->sync_send_receive(ffa_dev, &data); in enable_async_notif() 830 ffa_dev->ops->notifier_ops->notify_relinquish(ffa_dev, in optee_ffa_remove() 857 rc = ffa_dev->ops->notifier_ops->notify_request(ffa_dev, in optee_ffa_async_notif_init() 885 ffa_dev->ops->notifier_ops->notify_relinquish(ffa_dev, notif_id); in optee_ffa_async_notif_init() 908 ffa_ops = ffa_dev->ops; in optee_ffa_probe() [all …]
|
| A D | optee_private.h | 163 struct ffa_device *ffa_dev; member
|
Completed in 32 milliseconds