Lines Matching refs:attr
172 switch (p->attr) { in to_msg_param()
174 mp->attr = OPTEE_MSG_ATTR_TYPE_NONE; in to_msg_param()
180 mp->attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT + p->attr - in to_msg_param()
189 mp->attr = OPTEE_MSG_ATTR_TYPE_RMEM_INPUT + p->attr - in to_msg_param()
211 u32 attr = mp->attr & OPTEE_MSG_ATTR_TYPE_MASK; in from_msg_param() local
213 switch (attr) { in from_msg_param()
215 p->attr = TEE_PARAM_ATTR_TYPE_NONE; in from_msg_param()
221 p->attr = TEE_PARAM_ATTR_TYPE_VALUE_INPUT + attr - in from_msg_param()
230 p->attr = TEE_PARAM_ATTR_TYPE_MEMREF_INPUT + attr - in from_msg_param()
369 msg_arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
371 msg_arg->params[1].attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT | in optee_open_session()
460 msg_arg->params->attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in optee_shm_register()
487 msg_arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_RMEM_INPUT; in optee_shm_unregister()