Home
last modified time | relevance | path

Searched refs:ffa_dev (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/firmware/arm_ffa/
H A 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 in ffa_device_uevent()
73 struct ffa_device *ffa_dev = to_ffa_dev(dev); partition_id_show() local
82 struct ffa_device *ffa_dev = to_ffa_dev(dev); uuid_show() local
134 struct ffa_device *ffa_dev = to_ffa_dev(dev); ffa_release_device() local
153 ffa_device_is_valid(struct ffa_device *ffa_dev) ffa_device_is_valid() argument
179 struct ffa_device *ffa_dev; ffa_device_register() local
213 ffa_device_unregister(struct ffa_device *ffa_dev) ffa_device_unregister() argument
[all...]
H A 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);
H A Ddriver.c647 void ffa_device_match_uuid(struct ffa_device *ffa_dev, const uuid_t *uuid) in ffa_device_match_uuid() argument
665 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
666 uuid_copy(&ffa_dev->uuid, uuid); in ffa_device_match_uuid()
674 struct ffa_device *ffa_dev; in ffa_setup_partitions() local
692 ffa_dev = ffa_device_register(&uuid, tpbuf->id, &ffa_drv_ops); in ffa_setup_partitions()
693 if (!ffa_dev) { in ffa_setup_partitions()
701 ffa_mode_32bit_set(ffa_dev); in ffa_setup_partitions()
/kernel/linux/linux-6.6/drivers/tee/optee/
H A 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 in optee_ffa_shm_unregister_supp()
534 struct ffa_device *ffa_dev = optee->ffa.ffa_dev; optee_ffa_yielding_call() local
656 optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev, const struct ffa_ops *ops) optee_ffa_api_is_compatbile() argument
692 optee_ffa_exchange_caps(struct ffa_device *ffa_dev, const struct ffa_ops *ops, u32 *sec_caps, unsigned int *rpc_param_count) optee_ffa_exchange_caps() argument
775 optee_ffa_remove(struct ffa_device *ffa_dev) optee_ffa_remove() argument
787 optee_ffa_probe(struct ffa_device *ffa_dev) optee_ffa_probe() argument
[all...]
H A Doptee_private.h130 * @ffa_dev FFA device, contains the destination id, the id of
137 struct ffa_device *ffa_dev; member
/kernel/linux/common_modules/tzdriver/core/
H A Dffa_abi.c23 static void ffa_remove(struct ffa_device *ffa_dev) in ffa_remove() argument
28 static int ffa_probe(struct ffa_device *ffa_dev) in ffa_probe() argument
30 g_ffa_ops = ffa_dev->ops; in ffa_probe()
31 g_ffa_dev = ffa_dev; in ffa_probe()
37 g_ffa_ops->mode_32bit_set(ffa_dev); in ffa_probe()
/kernel/linux/linux-6.6/include/linux/
H A Darm_ffa.h145 void ffa_device_unregister(struct ffa_device *ffa_dev);
149 bool ffa_device_is_valid(struct ffa_device *ffa_dev);
171 bool ffa_device_is_valid(struct ffa_device *ffa_dev) { return false; } in ffa_device_is_valid() argument

Completed in 5 milliseconds