Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c87 param[0].u.memref.shm_offs = 0; in trusted_tee_seal()
91 param[1].u.memref.shm_offs = sizeof(p->key); in trusted_tee_seal()
134 param[0].u.memref.shm_offs = sizeof(p->key); in trusted_tee_unseal()
138 param[1].u.memref.shm_offs = 0; in trusted_tee_unseal()
180 param[0].u.memref.shm_offs = 0; in trusted_tee_get_random()
/linux/drivers/char/tpm/
H A Dtpm_ftpm_tee.c107 .shm_offs = 0, in ftpm_tee_tpm_op_send()
125 .shm_offs = MAX_COMMAND_SIZE, in ftpm_tee_tpm_op_send()
137 temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); in ftpm_tee_tpm_op_send()
/linux/drivers/tee/optee/
H A Dffa_abi.c143 p->u.memref.shm_offs = offs_low | offs_high << 32; in from_msg_param_ffa_mem()
199 u64 shm_offs = p->u.memref.shm_offs; in to_msg_param_ffa_mem() local
203 mp->u.fmem.offs_low = shm_offs; in to_msg_param_ffa_mem()
204 mp->u.fmem.offs_high = shm_offs >> 32; in to_msg_param_ffa_mem()
206 if (mp->u.fmem.offs_high != shm_offs >> 32) in to_msg_param_ffa_mem()
H A Drpc.c334 params[1].u.memref.shm_offs); in handle_rpc_func_rpmb_probe_next()
395 params[0].u.memref.shm_offs); in handle_rpc_func_rpmb_frames()
397 params[1].u.memref.shm_offs); in handle_rpc_func_rpmb_frames()
H A Dsmc_abi.c95 p->u.memref.shm_offs = 0; in from_msg_param_tmp_mem()
104 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in from_msg_param_tmp_mem()
121 p->u.memref.shm_offs = mp->u.rmem.offs; in from_msg_param_reg_mem()
124 p->u.memref.shm_offs = 0; in from_msg_param_reg_mem()
197 rc = tee_shm_get_pa(p->u.memref.shm, p->u.memref.shm_offs, &pa); in to_msg_param_tmp_mem()
216 mp->u.rmem.offs = p->u.memref.shm_offs; in to_msg_param_reg_mem()
H A Ddevice.c41 param[0].u.memref.shm_offs = 0; in get_devices()
/linux/include/linux/
H A Dtee_drv.h80 size_t shm_offs; member
/linux/drivers/tee/amdtee/
H A Dcall.c51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params()
103 tee[i].u.memref.shm_offs = amd->params[i].mref.offset; in amd_params_to_tee_params()
/linux/drivers/firmware/broadcom/
H A Dtee_bnxt_fw.c83 param[0].u.memref.shm_offs = 0; in prepare_args()
/linux/drivers/char/hw_random/
H A Doptee-rng.c94 param[0].u.memref.shm_offs = 0; in get_optee_rng_data()
/linux/drivers/tee/
H A Dtee_core.c423 params[n].u.memref.shm_offs = ip.a; in params_from_user()
661 ip.a = p->u.memref.shm_offs; in params_to_supp()
764 p->u.memref.shm_offs = 0; in params_from_supp()
/linux/drivers/platform/x86/amd/pmf/
H A Dtee-if.c62 param[0].u.memref.shm_offs = 0; in amd_pmf_prepare_args()