Home
last modified time | relevance | path

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

/drivers/firmware/arm_ffa/
Dbus.c23 struct ffa_device *ffa_dev; in ffa_device_match() local
26 ffa_dev = to_ffa_dev(dev); in ffa_device_match()
35 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_match()
36 ffa_device_match_uuid(ffa_dev, &id_table->uuid); in ffa_device_match()
38 if (uuid_equal(&ffa_dev->uuid, &id_table->uuid)) in ffa_device_match()
49 struct ffa_device *ffa_dev = to_ffa_dev(dev); in ffa_device_probe() local
51 return ffa_drv->probe(ffa_dev); in ffa_device_probe()
64 const struct ffa_device *ffa_dev = to_ffa_dev(dev); in ffa_device_uevent() local
67 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent()
73 struct ffa_device *ffa_dev = to_ffa_dev(dev); in partition_id_show() local
[all …]
Dcommon.h19 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
20 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid);
Ddriver.c1151 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid() argument
1169 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
1170 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid()
1178 struct ffa_device *ffa_dev; in ffa_setup_partitions() local
1198 ffa_dev = ffa_device_register(&uuid, tpbuf->id, &ffa_drv_ops); in ffa_setup_partitions()
1199 if (!ffa_dev) { in ffa_setup_partitions()
1207 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions()
1211 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
/drivers/tee/optee/
Dffa_abi.c274 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_register() local
275 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register()
277 .receiver = ffa_dev->vm_id, in optee_ffa_shm_register()
317 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_shm_unregister() local
318 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_shm_unregister()
319 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister()
331 rc = msg_ops->sync_send_receive(ffa_dev, &data); in optee_ffa_shm_unregister()
357 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp()
534 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; in optee_ffa_yielding_call() local
535 const struct ffa_msg_ops *msg_ops = ffa_dev->ops->msg_ops; in optee_ffa_yielding_call()
[all …]
Doptee_private.h137 struct ffa_device *ffa_dev; member