Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/tee/optee/
Doptee_private.h136 size_t num_params, const struct tee_param *params);
137 int (*from_msg_param)(struct optee *optee, struct tee_param *params,
215 struct tee_param *param);
224 struct tee_param *param);
226 struct tee_param *param);
230 struct tee_param *param);
234 struct tee_param *param);
259 static inline void optee_from_msg_param_value(struct tee_param *p, u32 attr, in optee_from_msg_param_value()
270 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.c62 static int from_msg_param_tmp_mem(struct tee_param *p, u32 attr, in from_msg_param_tmp_mem()
89 static void from_msg_param_reg_mem(struct tee_param *p, u32 attr, in from_msg_param_reg_mem()
117 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, in optee_from_msg_param()
125 struct tee_param *p = params + n; in optee_from_msg_param()
160 const struct tee_param *p) in to_msg_param_tmp_mem()
188 const struct tee_param *p) in to_msg_param_reg_mem()
209 size_t num_params, const struct tee_param *params) in optee_to_msg_param()
215 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.1.9/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()
408 struct tee_param *param) in amdtee_invoke_func()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/security/keys/trusted-keys/
Dtrusted_tee.c67 struct tee_param param[4]; in trusted_tee_seal()
126 struct tee_param param[4]; in trusted_tee_unseal()
185 struct tee_param param[4]; in trusted_tee_get_random()
/linux-6.1.9/drivers/char/tpm/
Dtpm_ftpm_tee.c81 struct tee_param command_params[4]; in ftpm_tee_tpm_op_send()
103 command_params[0] = (struct tee_param) { in ftpm_tee_tpm_op_send()
121 command_params[1] = (struct tee_param) { in ftpm_tee_tpm_op_send()
/linux-6.1.9/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.1.9/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()