Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/tee/optee/
H A Dcall.c288 struct optee_msg_arg *msg_arg; in optee_open_session() local
295 msg_arg = optee_get_msg_arg(ctx, arg->num_params + 2, in optee_open_session()
297 if (IS_ERR(msg_arg)) in optee_open_session()
298 return PTR_ERR(msg_arg); in optee_open_session()
300 msg_arg->cmd = OPTEE_MSG_CMD_OPEN_SESSION; in optee_open_session()
301 msg_arg->cancel_id = arg->cancel_id; in optee_open_session()
307 msg_arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
309 msg_arg->params[1].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
311 memcpy(&msg_arg->params[0].u.value, arg->uuid, sizeof(arg->uuid)); in optee_open_session()
312 msg_arg in optee_open_session()
367 struct optee_msg_arg *msg_arg; optee_close_session_helper() local
408 struct optee_msg_arg *msg_arg; optee_invoke_func() local
458 struct optee_msg_arg *msg_arg; optee_cancel_req() local
[all...]
H A Dsmc_abi.c457 struct optee_msg_arg *msg_arg; in optee_shm_register() local
487 msg_arg = tee_shm_get_va(shm_arg, 0); in optee_shm_register()
488 if (IS_ERR(msg_arg)) { in optee_shm_register()
489 rc = PTR_ERR(msg_arg); in optee_shm_register()
496 memset(msg_arg, 0, OPTEE_MSG_GET_ARG_SIZE(1)); in optee_shm_register()
497 msg_arg->num_params = 1; in optee_shm_register()
498 msg_arg->cmd = OPTEE_MSG_CMD_REGISTER_SHM; in optee_shm_register()
499 msg_arg->params->attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in optee_shm_register()
501 msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; in optee_shm_register()
502 msg_arg in optee_shm_register()
523 struct optee_msg_arg *msg_arg; optee_shm_unregister() local
971 struct optee_msg_arg *msg_arg; simple_call_with_arg() local
[all...]
/kernel/linux/linux-5.10/drivers/tee/optee/
H A Dcall.c176 struct optee_msg_arg **msg_arg, in get_msg_arg()
200 *msg_arg = ma; in get_msg_arg()
217 struct optee_msg_arg *msg_arg; in optee_open_session() local
223 shm = get_msg_arg(ctx, arg->num_params + 2, &msg_arg, &msg_parg); in optee_open_session()
227 msg_arg->cmd = OPTEE_MSG_CMD_OPEN_SESSION; in optee_open_session()
228 msg_arg->cancel_id = arg->cancel_id; in optee_open_session()
234 msg_arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
236 msg_arg->params[1].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
238 memcpy(&msg_arg->params[0].u.value, arg->uuid, sizeof(arg->uuid)); in optee_open_session()
239 msg_arg in optee_open_session()
175 get_msg_arg(struct tee_context *ctx, size_t num_params, struct optee_msg_arg **msg_arg, phys_addr_t *msg_parg) get_msg_arg() argument
292 struct optee_msg_arg *msg_arg; optee_close_session() local
323 struct optee_msg_arg *msg_arg; optee_invoke_func() local
368 struct optee_msg_arg *msg_arg; optee_cancel_req() local
616 struct optee_msg_arg *msg_arg; optee_shm_register() local
666 struct optee_msg_arg *msg_arg; optee_shm_unregister() local
[all...]

Completed in 3 milliseconds