Home
last modified time | relevance | path

Searched refs:tee_param (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/tee/optee/
Doptee_private.h188 size_t num_params, const struct tee_param *params);
189 int (*from_msg_param)(struct optee *optee, struct tee_param *params,
281 struct tee_param *param);
288 struct tee_param *param);
290 struct tee_param *param);
294 struct tee_param *param);
300 struct tee_param *param);
318 static inline void optee_from_msg_param_value(struct tee_param *p, u32 attr, in optee_from_msg_param_value()
329 const struct tee_param *p) in optee_to_msg_param_value()
Dsupp.c17 struct tee_param *param;
77 struct tee_param *param) in optee_supp_thrd_req()
185 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params()
230 struct tee_param *param) in optee_supp_recv()
286 sizeof(struct tee_param) * req->num_params); in optee_supp_recv()
293 struct tee_param *param, in supp_pop_req()
339 struct tee_param *param) in optee_supp_send()
359 struct tee_param *p = req->param + n; in optee_supp_send()
Drpc.c41 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer()
58 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_func_cmd_i2c_transfer()
191 struct tee_param *params; in handle_rpc_supp_cmd()
195 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd()
220 struct tee_param param; in optee_rpc_cmd_alloc_suppl()
242 struct tee_param param; in optee_rpc_cmd_free_suppl()
269 struct tee_param params[1]; in handle_rpc_func_rpmb_probe_reset()
322 struct tee_param params[2]; in handle_rpc_func_rpmb_probe_next()
373 struct tee_param params[2]; in handle_rpc_func_rpmb_frames()
Dffa_abi.c124 static void from_msg_param_ffa_mem(struct optee *optee, struct tee_param *p, in from_msg_param_ffa_mem()
157 struct tee_param *params, size_t num_params, in optee_ffa_from_msg_param()
163 struct tee_param *p = params + n; in optee_ffa_from_msg_param()
191 const struct tee_param *p) in to_msg_param_ffa_mem()
231 const struct tee_param *params) in optee_ffa_to_msg_param()
236 const struct tee_param *p = params + n; in optee_ffa_to_msg_param()
Dsmc_abi.c83 static int from_msg_param_tmp_mem(struct tee_param *p, u32 attr, in from_msg_param_tmp_mem()
110 static void from_msg_param_reg_mem(struct tee_param *p, u32 attr, in from_msg_param_reg_mem()
138 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, in optee_from_msg_param()
146 struct tee_param *p = params + n; in optee_from_msg_param()
181 const struct tee_param *p) in to_msg_param_tmp_mem()
209 const struct tee_param *p) in to_msg_param_reg_mem()
230 size_t num_params, const struct tee_param *params) in optee_to_msg_param()
236 const struct tee_param *p = params + n; in optee_to_msg_param()
Ddevice.c28 struct tee_param param[4]; in get_devices()
Dcall.c364 struct tee_param *param) in optee_open_session()
513 struct tee_param *param) in optee_invoke_func()
/linux-6.12.1/include/linux/
Dtee_core.h87 struct tee_param *param);
92 struct tee_param *param);
95 struct tee_param *param);
97 struct tee_param *param);
292 static inline bool tee_param_is_memref(struct tee_param *param) in tee_param_is_memref()
Dtee_drv.h91 struct tee_param { struct
225 struct tee_param *param);
262 struct tee_param *param);
/linux-6.12.1/drivers/tee/amdtee/
Damdtee_private.h138 struct tee_param *param);
144 struct tee_param *param);
158 struct tee_param *p);
167 struct tee_param *p);
Dcall.c15 static int tee_params_to_amd_params(struct tee_param *tee, u32 count, in tee_params_to_amd_params()
72 static int amd_params_to_tee_params(struct tee_param *tee, u32 count, in amd_params_to_tee_params()
241 struct tee_param *p) in handle_invoke_cmd()
352 struct tee_param *p) in handle_open_session()
Dcore.c232 struct tee_param *param) in amdtee_open_session()
408 struct tee_param *param) in amdtee_invoke_func()
/linux-6.12.1/drivers/tee/
Dtee_core.c22 #define TEE_IOCTL_PARAM_SIZE(x) (sizeof(struct tee_param) * (x))
356 static int params_from_user(struct tee_context *ctx, struct tee_param *params, in params_from_user()
436 size_t num_params, struct tee_param *params) in params_to_user()
442 struct tee_param *p = params + n; in params_to_user()
473 struct tee_param *params = NULL; in tee_ioctl_open_session()
494 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_open_session()
552 struct tee_param *params = NULL; in tee_ioctl_invoke()
572 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_invoke()
636 size_t num_params, struct tee_param *params) in params_to_supp()
642 struct tee_param *p = params + n; in params_to_supp()
[all …]
/linux-6.12.1/drivers/rtc/
Drtc-optee.c60 struct tee_param param[4] = {0}; in optee_rtc_readtime()
99 struct tee_param param[4] = {0}; in optee_rtc_settime()
137 struct tee_param param[4] = {0}; in optee_rtc_readoffset()
162 struct tee_param param[4] = {0}; in optee_rtc_setoffset()
194 struct tee_param param[4] = {0}; in optee_rtc_read_info()
/linux-6.12.1/drivers/firmware/broadcom/
Dtee_bnxt_fw.c68 struct tee_param *param) in prepare_args()
103 struct tee_param param[MAX_TEE_PARAM_ARRY_MEMB]; in tee_bnxt_fw_load()
134 struct tee_param param[MAX_TEE_PARAM_ARRY_MEMB]; in tee_bnxt_copy_coredump()
/linux-6.12.1/security/keys/trusted-keys/
Dtrusted_tee.c67 struct tee_param param[4]; in trusted_tee_seal()
114 struct tee_param param[4]; in trusted_tee_unseal()
161 struct tee_param param[4]; in trusted_tee_get_random()
/linux-6.12.1/drivers/char/tpm/
Dtpm_ftpm_tee.c80 struct tee_param command_params[4]; in ftpm_tee_tpm_op_send()
102 command_params[0] = (struct tee_param) { in ftpm_tee_tpm_op_send()
120 command_params[1] = (struct tee_param) { in ftpm_tee_tpm_op_send()
/linux-6.12.1/drivers/firmware/arm_scmi/transports/
Doptee.c187 struct tee_param param[1] = { }; in get_capabilities()
227 struct tee_param param[1] = { }; in get_channel()
265 struct tee_param param[1] = { }; in invoke_process_smt_channel()
288 struct tee_param param[3] = { }; in invoke_process_msg_channel()
/linux-6.12.1/drivers/char/hw_random/
Doptee-rng.c80 struct tee_param param[4]; in get_optee_rng_data()
180 struct tee_param param[4]; in get_optee_rng_info()
/linux-6.12.1/drivers/nvmem/
Dstm32-bsec-optee-ta.c144 struct tee_param param[2]; in stm32_bsec_optee_ta_read()
209 struct tee_param param[2]; in stm32_bsec_optee_ta_write()
/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dtee-if.c49 struct tee_param *param) in amd_pmf_prepare_args()
212 struct tee_param param[MAX_TEE_PARAM]; in amd_pmf_invoke_cmd_enact()
250 struct tee_param param[MAX_TEE_PARAM]; in amd_pmf_invoke_cmd_init()
/linux-6.12.1/drivers/tee/tstee/
Dcore.c95 struct tee_param *param __always_unused) in tstee_open_session()
161 struct tee_param *param) in tstee_invoke_func()
/linux-6.12.1/drivers/firmware/efi/stmm/
Dtee_stmm_efi.c57 struct tee_param param[4]; in tee_mm_communicate()