| /linux/drivers/tee/qcomtee/ |
| H A D | qcomtee.h | 94 int qcomtee_context_add_qtee_object(struct tee_param *param, 98 struct tee_param *param, 100 void qcomtee_context_del_qtee_object(struct tee_param *param, 103 int qcomtee_objref_to_arg(struct qcomtee_arg *arg, struct tee_param *param, 105 int qcomtee_objref_from_arg(struct tee_param *param, struct qcomtee_arg *arg, 116 struct tee_param *param, 118 int qcomtee_user_param_from_object(struct tee_param *param, 137 struct tee_param *params, int num_params, 141 struct tee_param *params, int num_params, 163 struct tee_param *param, [all …]
|
| H A D | call.c | 51 int qcomtee_context_add_qtee_object(struct tee_param *param, in qcomtee_context_add_qtee_object() 73 struct tee_param *param, in qcomtee_context_find_qtee_object() 88 void qcomtee_context_del_qtee_object(struct tee_param *param, in qcomtee_context_del_qtee_object() 110 int qcomtee_objref_to_arg(struct qcomtee_arg *arg, struct tee_param *param, in qcomtee_objref_to_arg() 159 int qcomtee_objref_from_arg(struct tee_param *param, struct qcomtee_arg *arg, in qcomtee_objref_from_arg() 204 struct tee_param *params, int num_params, in qcomtee_params_to_args() 271 static int qcomtee_params_from_args(struct tee_param *params, in qcomtee_params_from_args() 322 static int qcomtee_params_check(struct tee_param *params, int num_params) in qcomtee_params_check() 360 static int qcomtee_root_object_check(u32 op, struct tee_param *params, in qcomtee_root_object_check() 396 struct tee_param *params) in qcomtee_object_invoke() [all …]
|
| H A D | user_obj.c | 367 struct tee_param *param, in qcomtee_user_param_to_object() 396 int qcomtee_user_param_from_object(struct tee_param *param, in qcomtee_user_param_from_object() 431 static int qcomtee_cb_params_from_args(struct tee_param *params, in qcomtee_cb_params_from_args() 505 struct tee_param *params, int num_params, in qcomtee_cb_params_to_args() 586 struct tee_param *params, int num_params, in qcomtee_user_object_select() 662 struct tee_param *params, int num_params, in qcomtee_user_object_submit()
|
| H A D | mem_obj.c | 88 struct tee_param *param, in qcomtee_memobj_param_to_object() 123 int qcomtee_memobj_param_from_object(struct tee_param *param, in qcomtee_memobj_param_from_object()
|
| /linux/drivers/tee/optee/ |
| H A D | optee_private.h | 213 size_t num_params, const struct tee_param *params); 214 int (*from_msg_param)(struct optee *optee, struct tee_param *params, 313 struct tee_param *param); 322 struct tee_param *param); 324 struct tee_param *param); 328 struct tee_param *param); 334 struct tee_param *param); 352 static inline void optee_from_msg_param_value(struct tee_param *p, u32 attr, in optee_from_msg_param_value() 363 const struct tee_param *p) in optee_to_msg_param_value()
|
| H A D | supp.c | 17 struct tee_param *param; 77 struct tee_param *param) in optee_supp_thrd_req() 166 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params() 211 struct tee_param *param) in optee_supp_recv() 267 sizeof(struct tee_param) * req->num_params); in optee_supp_recv() 274 struct tee_param *param, in supp_pop_req() 320 struct tee_param *param) in optee_supp_send() 340 struct tee_param *p = req->param + n; in optee_supp_send()
|
| H A D | rpc.c | 41 struct tee_param *params; in handle_rpc_func_cmd_i2c_transfer() 58 params = kmalloc_objs(struct tee_param, arg->num_params); in handle_rpc_func_cmd_i2c_transfer() 190 struct tee_param *params; in handle_rpc_supp_cmd() 194 params = kmalloc_objs(struct tee_param, arg->num_params); in handle_rpc_supp_cmd() 218 struct tee_param param; in optee_rpc_cmd_alloc_suppl() 240 struct tee_param param; in optee_rpc_cmd_free_suppl() 267 struct tee_param params[1]; in handle_rpc_func_rpmb_probe_reset() 320 struct tee_param params[2]; in handle_rpc_func_rpmb_probe_next() 371 struct tee_param params[2]; in handle_rpc_func_rpmb_frames()
|
| H A D | ffa_abi.c | 124 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()
|
| H A D | smc_abi.c | 83 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()
|
| H A D | device.c | 28 struct tee_param param[4]; in get_devices()
|
| /linux/include/linux/ |
| H A D | tee_core.h | 112 struct tee_param *param); 117 struct tee_param *param); 120 struct tee_param *param); 123 struct tee_param *param); 125 struct tee_param *param); 389 static inline bool tee_param_is_memref(struct tee_param *param) in tee_param_is_memref()
|
| H A D | tee_drv.h | 101 struct tee_param { struct 247 struct tee_param *param); 284 struct tee_param *param);
|
| /linux/drivers/tee/amdtee/ |
| H A D | amdtee_private.h | 138 struct tee_param *param); 144 struct tee_param *param); 158 struct tee_param *p); 167 struct tee_param *p);
|
| H A D | call.c | 15 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 D | core.c | 235 struct tee_param *param) in amdtee_open_session() 411 struct tee_param *param) in amdtee_invoke_func()
|
| /linux/drivers/rtc/ |
| H A D | rtc-optee.c | 157 struct tee_param param[4] = {0}; in optee_rtc_readtime() 196 struct tee_param param[4] = {0}; in optee_rtc_settime() 231 struct tee_param param[4] = {0}; in optee_rtc_readoffset() 256 struct tee_param param[4] = {0}; in optee_rtc_setoffset() 281 struct tee_param param[1] = {0}; in optee_rtc_read_alarm() 328 struct tee_param param[1] = {0}; in optee_rtc_set_alarm() 367 struct tee_param param[1] = {0}; in optee_rtc_enable_alarm() 401 struct tee_param param[1] = {0}; in optee_rtc_wait_alarm() 426 struct tee_param param[1] = {0}; in optee_rtc_cancel_wait_alarm() 447 struct tee_param param[1] = {0}; in optee_rtc_set_alarm_wake_status() [all …]
|
| /linux/drivers/tee/ |
| H A D | tee_core.c | 22 #define TEE_IOCTL_PARAM_SIZE(x) (size_mul(sizeof(struct tee_param), (x))) 432 static int params_from_user(struct tee_context *ctx, struct tee_param *params, in params_from_user() 494 size_t num_params, struct tee_param *params) in params_to_user() 500 struct tee_param *p = params + n; in params_to_user() 542 struct tee_param *params = NULL; in tee_ioctl_open_session() 563 params = kzalloc_objs(struct tee_param, arg.num_params); in tee_ioctl_open_session() 620 struct tee_param *params = NULL; in tee_ioctl_invoke() 640 params = kzalloc_objs(struct tee_param, arg.num_params); in tee_ioctl_invoke() 680 struct tee_param *params = NULL; in tee_ioctl_object_invoke() 700 params = kzalloc_objs(struct tee_param, arg.num_params); in tee_ioctl_object_invoke() [all …]
|
| /linux/drivers/firmware/broadcom/ |
| H A D | tee_bnxt_fw.c | 68 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/drivers/char/tpm/ |
| H A D | tpm_ftpm_tee.c | 54 struct tee_param command_params[4]; in ftpm_tee_tpm_op_send() 75 command_params[0] = (struct tee_param) { in ftpm_tee_tpm_op_send() 93 command_params[1] = (struct tee_param) { in ftpm_tee_tpm_op_send()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tee.c | 67 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/drivers/firmware/arm_scmi/transports/ |
| H A D | optee.c | 187 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/drivers/char/hw_random/ |
| H A D | optee-rng.c | 80 struct tee_param param[4]; in get_optee_rng_data() 180 struct tee_param param[4]; in get_optee_rng_info()
|
| /linux/drivers/nvmem/ |
| H A D | stm32-bsec-optee-ta.c | 144 struct tee_param param[2]; in stm32_bsec_optee_ta_read() 209 struct tee_param param[2]; in stm32_bsec_optee_ta_write()
|
| /linux/drivers/platform/x86/amd/pmf/ |
| H A D | tee-if.c | 46 struct tee_param *param) in amd_pmf_prepare_args() 239 struct tee_param param[MAX_TEE_PARAM]; in amd_pmf_invoke_cmd_enact() 277 struct tee_param param[MAX_TEE_PARAM]; in amd_pmf_invoke_cmd_init()
|
| /linux/drivers/tee/tstee/ |
| H A D | core.c | 95 struct tee_param *param __always_unused) in tstee_open_session() 161 struct tee_param *param) in tstee_invoke_func()
|