Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dtee_drv.h72 struct tee_param { struct
101 struct tee_param *param);
105 struct tee_param *param);
108 struct tee_param *param);
110 struct tee_param *param);
420 struct tee_param *param);
443 struct tee_param *param);
457 static inline bool tee_param_is_memref(struct tee_param *param) in tee_param_is_memref()
/linux-6.6.21/drivers/tee/optee/
Doptee_private.h160 size_t num_params, const struct tee_param *params);
161 int (*from_msg_param)(struct optee *optee, struct tee_param *params,
239 struct tee_param *param);
246 struct tee_param *param);
248 struct tee_param *param);
252 struct tee_param *param);
256 struct tee_param *param);
281 static inline void optee_from_msg_param_value(struct tee_param *p, u32 attr, in optee_from_msg_param_value()
292 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.c40 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer()
57 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_func_cmd_i2c_transfer()
184 struct tee_param *params; in handle_rpc_supp_cmd()
188 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd()
213 struct tee_param param; in optee_rpc_cmd_alloc_suppl()
235 struct tee_param param; in optee_rpc_cmd_free_suppl()
Dffa_abi.c123 static void from_msg_param_ffa_mem(struct optee *optee, struct tee_param *p, in from_msg_param_ffa_mem()
156 struct tee_param *params, size_t num_params, in optee_ffa_from_msg_param()
162 struct tee_param *p = params + n; in optee_ffa_from_msg_param()
190 const struct tee_param *p) in to_msg_param_ffa_mem()
230 const struct tee_param *params) in optee_ffa_to_msg_param()
235 const struct tee_param *p = params + n; in optee_ffa_to_msg_param()
Dsmc_abi.c82 static int from_msg_param_tmp_mem(struct tee_param *p, u32 attr, in from_msg_param_tmp_mem()
109 static void from_msg_param_reg_mem(struct tee_param *p, u32 attr, in from_msg_param_reg_mem()
137 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, in optee_from_msg_param()
145 struct tee_param *p = params + n; in optee_from_msg_param()
180 const struct tee_param *p) in to_msg_param_tmp_mem()
208 const struct tee_param *p) in to_msg_param_reg_mem()
229 size_t num_params, const struct tee_param *params) in optee_to_msg_param()
235 const struct tee_param *p = params + n; in optee_to_msg_param()
Ddevice.c28 struct tee_param param[4]; in get_devices()
Dcall.c282 struct tee_param *param) in optee_open_session()
403 struct tee_param *param) in optee_invoke_func()
/linux-6.6.21/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.c233 struct tee_param *param) in amdtee_open_session()
409 struct tee_param *param) in amdtee_invoke_func()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/firmware/arm_scmi/
Doptee.c185 struct tee_param param[1] = { }; in get_capabilities()
225 struct tee_param param[1] = { }; in get_channel()
263 struct tee_param param[1] = { }; in invoke_process_smt_channel()
286 struct tee_param param[3] = { }; in invoke_process_msg_channel()
/linux-6.6.21/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.6.21/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()