Lines Matching refs:tmem
71 p->u.memref.size = mp->u.tmem.size; in from_msg_param_tmp_mem()
72 shm = (struct tee_shm *)(unsigned long)mp->u.tmem.shm_ref; in from_msg_param_tmp_mem()
83 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in from_msg_param_tmp_mem()
168 mp->u.tmem.shm_ref = (unsigned long)p->u.memref.shm; in to_msg_param_tmp_mem()
169 mp->u.tmem.size = p->u.memref.size; in to_msg_param_tmp_mem()
172 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()
180 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
481 msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; in optee_shm_register()
482 msg_arg->params->u.tmem.size = tee_shm_get_size(shm); in optee_shm_register()
487 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
732 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
735 arg->params[0].u.tmem.size = tee_shm_get_size(shm); in handle_rpc_func_cmd_shm_alloc()
736 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
742 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()
743 arg->params[0].u.tmem.size = sz; in handle_rpc_func_cmd_shm_alloc()
744 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()