/openbmc/linux/include/linux/ |
H A D | tee_drv.h | 72 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()
|
/openbmc/linux/drivers/tee/optee/ |
H A D | optee_private.h | 160 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()
|
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 | 40 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()
|
H A D | ffa_abi.c | 123 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()
|
H A D | smc_abi.c | 82 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()
|
H A D | device.c | 28 struct tee_param param[4]; in get_devices()
|
H A D | call.c | 282 struct tee_param *param) in optee_open_session() 403 struct tee_param *param) in optee_invoke_func()
|
/openbmc/u-boot/drivers/tee/ |
H A D | sandbox.c | 27 u32 (*open_session)(uint num_params, struct tee_param *params); 28 u32 (*invoke_func)(u32 func, uint num_params, struct tee_param *params); 32 static u32 get_attr(uint n, uint num_params, struct tee_param *params) in get_attr() 41 struct tee_param *params) in check_params() 65 static u32 ta_avb_open_session(uint num_params, struct tee_param *params) in ta_avb_open_session() 77 struct tee_param *params) in ta_avb_invoke_func() 209 uint num_params, struct tee_param *params) in sandbox_tee_open_session() 244 uint num_params, struct tee_param *params) in sandbox_tee_invoke_func()
|
H A D | tee-uclass.c | 33 uint num_param, struct tee_param *param) in tee_open_session() 44 uint num_param, struct tee_param *param) in tee_invoke_func()
|
/openbmc/u-boot/include/ |
H A D | tee.h | 122 struct tee_param { struct 198 struct tee_param *param); 218 uint num_param, struct tee_param *param); 329 uint num_param, struct tee_param *param); 351 uint num_param, struct tee_param *param);
|
/openbmc/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 | 233 struct tee_param *param) in amdtee_open_session() 409 struct tee_param *param) in amdtee_invoke_func()
|
/openbmc/linux/drivers/tee/ |
H A D | tee_core.c | 22 #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 …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-optee.c | 60 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()
|
/openbmc/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()
|
/openbmc/u-boot/drivers/tee/optee/ |
H A D | core.c | 161 const struct tee_param *params) in to_msg_param() 166 const struct tee_param *p = params + n; in to_msg_param() 199 static int from_msg_param(struct tee_param *params, uint num_params, in from_msg_param() 206 struct tee_param *p = params + n; in from_msg_param() 351 uint num_params, struct tee_param *params) in optee_open_session() 402 uint num_params, struct tee_param *params) in optee_invoke_func()
|
/openbmc/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()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_ftpm_tee.c | 80 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()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | optee.c | 185 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()
|
/openbmc/u-boot/common/ |
H A D | avb_verify.c | 632 ulong num_param, struct tee_param *param) in invoke_func() 689 struct tee_param param[2]; in read_rollback_index() 731 struct tee_param param[2]; in write_rollback_index() 771 struct tee_param param = { .attr = TEE_PARAM_ATTR_TYPE_VALUE_OUTPUT }; in read_is_device_unlocked()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/u-boot/test/dm/ |
H A D | tee.c | 34 struct tee_param param = { .attr = TEE_PARAM_ATTR_TYPE_VALUE_OUTPUT }; in invoke_func()
|