Home
last modified time | relevance | path

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

/linux/drivers/firmware/arm_ffa/
H A Dbus.c25 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 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.c1343 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid() argument
1353 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
1354 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid()
1390 struct ffa_device *ffa_dev; in ffa_setup_partitions() local
1414 ffa_dev = ffa_device_register(tpbuf, &ffa_drv_ops); in ffa_setup_partitions()
1415 if (!ffa_dev) { in ffa_setup_partitions()
1423 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions()
1427 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
1436 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
/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.c275 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 …]
H A Doptee_private.h163 struct ffa_device *ffa_dev; member
/linux/include/linux/
H A Darm_ffa.h175 void ffa_device_unregister(struct ffa_device *ffa_dev);
179 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
201 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument