Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tee/optee/
H A Dsmc_abi.c458 struct tee_shm *shm_arg; in optee_shm_register() local
482 shm_arg = tee_shm_alloc_priv_buf(ctx, sz); in optee_shm_register()
483 if (IS_ERR(shm_arg)) { in optee_shm_register()
484 rc = PTR_ERR(shm_arg); in optee_shm_register()
487 msg_arg = tee_shm_get_va(shm_arg, 0); in optee_shm_register()
510 if (optee->ops->do_call_with_arg(ctx, shm_arg, 0) || in optee_shm_register()
514 tee_shm_free(shm_arg); in optee_shm_register()
524 struct tee_shm *shm_arg; in optee_shm_unregister() local
538 shm_arg = tee_shm_alloc_priv_buf(ctx, sz); in optee_shm_unregister()
539 if (IS_ERR(shm_arg)) in optee_shm_unregister()
[all …]
H A Doptee_private.h157 struct tee_shm *shm_arg, u_int offs);
/openbmc/u-boot/drivers/tee/optee/
H A Dsupplicant.c72 void optee_suppl_cmd(struct udevice *dev, struct tee_shm *shm_arg, in optee_suppl_cmd() argument
75 struct optee_msg_arg *arg = shm_arg->addr; in optee_suppl_cmd()
H A Dcore.c440 struct tee_shm *shm_arg; in optee_shm_register() local
446 rc = get_msg_arg(dev, 1, &shm_arg, &msg_arg); in optee_shm_register()
468 tee_shm_free(shm_arg); in optee_shm_register()
475 struct tee_shm *shm_arg; in optee_shm_unregister() local
479 rc = get_msg_arg(dev, 1, &shm_arg, &msg_arg); in optee_shm_unregister()
489 tee_shm_free(shm_arg); in optee_shm_unregister()
H A Doptee_private.h28 void optee_suppl_cmd(struct udevice *dev, struct tee_shm *shm_arg,