Searched refs:ffa_dev (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/firmware/arm_ffa/ |
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 …]
|
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);
|
D | driver.c | 1343 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() 1391 struct ffa_device *ffa_dev; in ffa_setup_partitions() local 1417 ffa_dev = ffa_device_register(&uuid, tpbuf->id, &ffa_drv_ops); in ffa_setup_partitions() 1418 if (!ffa_dev) { in ffa_setup_partitions() 1424 ffa_dev->properties = tpbuf->properties; in ffa_setup_partitions() 1428 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions() 1432 ffa_device_unregister(ffa_dev); in ffa_setup_partitions() 1441 ffa_device_unregister(ffa_dev); in ffa_setup_partitions()
|
/linux-6.12.1/drivers/tee/tstee/ |
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 …]
|
D | tstee_private.h | 79 struct ffa_device *ffa_dev; member
|
/linux-6.12.1/drivers/tee/optee/ |
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 …]
|
D | optee_private.h | 163 struct ffa_device *ffa_dev; member
|
/linux-6.12.1/include/linux/ |
D | arm_ffa.h | 172 void ffa_device_unregister(struct ffa_device *ffa_dev); 176 bool ffa_device_is_valid(struct ffa_device *ffa_dev); 198 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument
|