Home
last modified time | relevance | path

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

/linux-6.15/drivers/firmware/arm_ffa/
H 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()
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 …]
H 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);
H A Ddriver.c1551 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
1552 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid()
1637 struct ffa_device *ffa_dev; in ffa_setup_host_partition() local
1641 ffa_dev = ffa_device_register(&buf, &ffa_drv_ops); in ffa_setup_host_partition()
1642 if (!ffa_dev) { in ffa_setup_host_partition()
1648 ret = ffa_xa_add_partition_info(ffa_dev); in ffa_setup_host_partition()
1688 struct ffa_device *ffa_dev; in ffa_setup_partitions() local
1712 if (!ffa_dev) { in ffa_setup_partitions()
1720 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions()
1722 if (ffa_xa_add_partition_info(ffa_dev)) { in ffa_setup_partitions()
[all …]
/linux-6.15/drivers/tee/tstee/
H 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 …]
H A Dtstee_private.h79 struct ffa_device *ffa_dev; member
/linux-6.15/drivers/tee/optee/
H 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 …]
H A Doptee_private.h163 struct ffa_device *ffa_dev; member
/linux-6.15/drivers/char/tpm/
H A Dtpm_crb_ffa.c103 struct ffa_device *ffa_dev; member
186 msg_ops = tpm_crb_ffa->ffa_dev->ops->msg_ops; in __tpm_crb_ffa_send_recieve()
196 ret = msg_ops->sync_send_receive(tpm_crb_ffa->ffa_dev, in __tpm_crb_ffa_send_recieve()
269 static int tpm_crb_ffa_probe(struct ffa_device *ffa_dev) in tpm_crb_ffa_probe() argument
280 if (!ffa_partition_supports_direct_recv(ffa_dev)) { in tpm_crb_ffa_probe()
291 tpm_crb_ffa->ffa_dev = ffa_dev; in tpm_crb_ffa_probe()
292 ffa_dev_set_drvdata(ffa_dev, tpm_crb_ffa); in tpm_crb_ffa_probe()
295 if (!ffa_partition_check_property(ffa_dev, FFA_PARTITION_AARCH64_EXEC)) in tpm_crb_ffa_probe()
296 ffa_dev->ops->msg_ops->mode_32bit_set(ffa_dev); in tpm_crb_ffa_probe()
324 static void tpm_crb_ffa_remove(struct ffa_device *ffa_dev) in tpm_crb_ffa_remove() argument
/linux-6.15/include/linux/
H A Darm_ffa.h176 void ffa_device_unregister(struct ffa_device *ffa_dev);
181 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
205 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument