Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/tee/optee/
Doptee.c969 struct optee_msg_arg *msg_arg; in optee_shm_register() local
980 msg_arg = shm_arg->addr; in optee_shm_register()
982 memset(msg_arg, 0, OPTEE_MSG_GET_ARG_SIZE(1)); in optee_shm_register()
991 msg_arg->cmd = OPTEE_MSG_CMD_REGISTER_SHM; in optee_shm_register()
993 msg_arg->params->attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | OPTEE_MSG_ATTR_NONCONTIG; in optee_shm_register()
994 msg_arg->num_params = 1; in optee_shm_register()
995 msg_arg->params->u.tmem.buf_ptr = pl_phys_and_offset; in optee_shm_register()
996 msg_arg->params->u.tmem.shm_ref = (uint64_t)shm; in optee_shm_register()
997 msg_arg->params->u.tmem.size = shm->size; in optee_shm_register()
999 if (optee_call(dev, msg_arg)) { in optee_shm_register()
[all …]