Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Doptee_private.h140 struct tee_param *param);
149 struct tee_param *param);
151 struct tee_param *param);
156 struct tee_param *param);
159 struct tee_param *param);
176 int optee_from_msg_param(struct tee_param *params, size_t num_params,
179 const struct tee_param *params);
H A Dsupp.c17 struct tee_param *param;
77 struct tee_param *param) in optee_supp_thrd_req()
205 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params()
250 struct tee_param *param) in optee_supp_recv()
306 sizeof(struct tee_param) * req->num_params); in optee_supp_recv()
313 struct tee_param *param, in supp_pop_req()
359 struct tee_param *param) in optee_supp_send()
379 struct tee_param *p = req->param + n; in optee_supp_send()
H A Drpc.c57 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer()
74 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_func_cmd_i2c_transfer()
239 struct tee_param *params; in handle_rpc_supp_cmd()
243 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd()
266 struct tee_param param; in cmd_alloc_suppl()
386 struct tee_param param; in cmd_free_suppl()
H A Dcore.c38 int optee_from_msg_param(struct tee_param *params, size_t num_params, in optee_from_msg_param()
47 struct tee_param *p = params + n; in optee_from_msg_param()
111 const struct tee_param *p) in to_msg_param_tmp_mem()
139 const struct tee_param *p) in to_msg_param_reg_mem()
158 const struct tee_param *params) in optee_to_msg_param()
164 const struct tee_param *p = params + n; in optee_to_msg_param()
H A Ddevice.c28 struct tee_param param[4]; in get_devices()
H A Dcall.c212 struct tee_param *param) in optee_open_session()
319 struct tee_param *param) in optee_invoke_func()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtee_drv.h75 struct tee_param { struct
104 struct tee_param *param);
108 struct tee_param *param);
111 struct tee_param *param);
113 struct tee_param *param);
509 struct tee_param *param);
532 struct tee_param *param);
546 static inline bool tee_param_is_memref(struct tee_param *param) in tee_param_is_memref()
/OK3568_Linux_fs/kernel/drivers/tee/amdtee/
H A Damdtee_private.h138 struct tee_param *param);
144 struct tee_param *param);
158 struct tee_param *p);
167 struct tee_param *p);
H A 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()
H A Dcore.c233 struct tee_param *param) in amdtee_open_session()
408 struct tee_param *param) in amdtee_invoke_func()
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_core.c22 #define TEE_IOCTL_PARAM_SIZE(x) (sizeof(struct tee_param) * (x))
362 static int params_from_user(struct tee_context *ctx, struct tee_param *params, in params_from_user()
442 size_t num_params, struct tee_param *params) in params_to_user()
448 struct tee_param *p = params + n; in params_to_user()
478 struct tee_param *params = NULL; in tee_ioctl_open_session()
499 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_open_session()
557 struct tee_param *params = NULL; in tee_ioctl_invoke()
577 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_invoke()
641 size_t num_params, struct tee_param *params) in params_to_supp()
647 struct tee_param *p = params + n; in params_to_supp()
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/broadcom/
H A 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()
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Doptee-rng.c80 struct tee_param param[4]; in get_optee_rng_data()
180 struct tee_param param[4]; in get_optee_rng_info()
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-secure-otp.c66 struct tee_param param[4]; in rockchip_read_oem_non_protected_otp()
169 struct tee_param param[4]; in rockchip_write_oem_non_protected_otp()