Searched refs:memref (Results 1 – 12 of 12) sorted by relevance
70 p->u.memref.size = mp->u.tmem.size; in optee_from_msg_param()74 p->u.memref.shm_offs = 0; in optee_from_msg_param()75 p->u.memref.shm = NULL; in optee_from_msg_param()81 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()82 p->u.memref.shm = shm; in optee_from_msg_param()89 p->u.memref.size = mp->u.rmem.size; in optee_from_msg_param()94 p->u.memref.shm_offs = 0; in optee_from_msg_param()95 p->u.memref.shm = NULL; in optee_from_msg_param()98 p->u.memref.shm_offs = mp->u.rmem.offs; in optee_from_msg_param()99 p->u.memref.shm = shm; in optee_from_msg_param()[all …]
39 param[0].u.memref.shm = device_shm; in get_devices()40 param[0].u.memref.size = *shm_size; in get_devices()41 param[0].u.memref.shm_offs = 0; in get_devices()51 *shm_size = param[0].u.memref.size; in get_devices()
198 if (tee_param_is_memref(params + n) && params[n].u.memref.shm) in supp_check_recv_params()199 tee_shm_put(params[n].u.memref.shm); in supp_check_recv_params()370 p->u.memref.size = param[n + num_meta].u.memref.size; in optee_supp_send()
104 msg.buf = params[2].u.memref.shm->kaddr; in handle_rpc_func_cmd_i2c_transfer()105 msg.len = params[2].u.memref.size; in handle_rpc_func_cmd_i2c_transfer()
81 param[0].u.memref.shm = pvt_data.fw_shm_pool; in prepare_args()82 param[0].u.memref.size = MAX_SHM_MEM_SZ; in prepare_args()83 param[0].u.memref.shm_offs = 0; in prepare_args()148 nbytes = min_t(u32, rbytes, param[0].u.memref.size); in tee_bnxt_copy_coredump()
424 params[n].u.memref.shm_offs = ip.a; in params_from_user()425 params[n].u.memref.size = ip.b; in params_from_user()426 params[n].u.memref.shm = shm; in params_from_user()455 if (put_user((u64)p->u.memref.size, &up->b)) in params_to_user()535 params[n].u.memref.shm) in tee_ioctl_open_session()536 tee_shm_put(params[n].u.memref.shm); in tee_ioctl_open_session()597 params[n].u.memref.shm) in tee_ioctl_invoke()598 tee_shm_put(params[n].u.memref.shm); in tee_ioctl_invoke()655 ip.b = p->u.memref.size; in params_to_supp()656 if (!p->u.memref.shm) { in params_to_supp()[all …]
92 param[0].u.memref.shm = pvt_data->entropy_shm_pool; in get_optee_rng_data()93 param[0].u.memref.size = req_size; in get_optee_rng_data()94 param[0].u.memref.shm_offs = 0; in get_optee_rng_data()109 rng_size = param[0].u.memref.size; in get_optee_rng_data()
28 struct memref { struct43 struct memref mref; argument
48 u32 buf_id = get_buffer_id(tee[i].u.memref.shm); in tee_params_to_amd_params()51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params()52 amd->params[i].mref.size = tee[i].u.memref.size; in tee_params_to_amd_params()103 tee[i].u.memref.shm_offs = amd->params[i].mref.offset; in amd_params_to_tee_params()104 tee[i].u.memref.size = amd->params[i].mref.size; in amd_params_to_tee_params()
105 .u.memref = { in ftpm_tee_tpm_op_send()123 .u.memref = { in ftpm_tee_tpm_op_send()138 temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); in ftpm_tee_tpm_op_send()
78 struct tee_param_memref memref; member
160048 + operation.params[0].memref.parent = &channel->inputBuffer;160049 + operation.params[0].memref.offset = 0;160050 + operation.params[0].memref.size = sizeof(gcsTA_INTERFACE);160097 + operation.params[0].memref.parent = &channel->inputBuffer;160098 + operation.params[0].memref.offset = 0;160099 + operation.params[0].memref.size = gcmSIZEOF(gcsTA_INTERFACE);