| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | supp.c | 16 size_t num_params; member 76 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, in optee_supp_thrd_req() argument 102 req->num_params = num_params; in optee_supp_thrd_req() 173 int num_params, int *id) in supp_pop_entry() argument 190 if (num_params < req->num_params) { in supp_pop_entry() 205 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params() argument 210 if (!num_params) in supp_check_recv_params() 217 for (n = 0; n < num_params; n++) in supp_check_recv_params() 225 for (n = 0; n < num_params; n++) in supp_check_recv_params() 249 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, in optee_supp_recv() argument [all …]
|
| H A D | rpc.c | 37 if (arg->num_params != 1) in handle_rpc_func_cmd_get_time() 69 if (arg->num_params != ARRAY_SIZE(attr)) { 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() 81 if (optee_from_msg_param(params, arg->num_params, arg->params)) in handle_rpc_func_cmd_i2c_transfer() 84 for (i = 0; i < arg->num_params; i++) { in handle_rpc_func_cmd_i2c_transfer() 124 if (optee_to_msg_param(arg->params, arg->num_params, params)) in handle_rpc_func_cmd_i2c_transfer() 190 if (arg->num_params != 1) in handle_rpc_func_cmd_wq() 218 if (arg->num_params != 1) in handle_rpc_func_cmd_wait() 243 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd() 250 if (optee_from_msg_param(params, arg->num_params, arg->params)) { in handle_rpc_supp_cmd() [all …]
|
| H A D | optee_private.h | 139 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, 148 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, 150 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, 176 int optee_from_msg_param(struct tee_param *params, size_t num_params, 178 int optee_to_msg_param(struct optee_msg_param *msg_params, size_t num_params,
|
| H A D | call.c | 175 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg() argument 183 shm = tee_shm_alloc(ctx, OPTEE_MSG_GET_ARG_SIZE(num_params), in get_msg_arg() 198 memset(ma, 0, OPTEE_MSG_GET_ARG_SIZE(num_params)); in get_msg_arg() 199 ma->num_params = num_params; in get_msg_arg() 223 shm = get_msg_arg(ctx, arg->num_params + 2, &msg_arg, &msg_parg); in optee_open_session() 247 rc = optee_to_msg_param(msg_arg->params + 2, arg->num_params, param); in optee_open_session() 272 if (optee_from_msg_param(param, arg->num_params, msg_arg->params + 2)) { in optee_open_session() 335 shm = get_msg_arg(ctx, arg->num_params, &msg_arg, &msg_parg); in optee_invoke_func() 343 rc = optee_to_msg_param(msg_arg->params, arg->num_params, param); in optee_invoke_func() 352 if (optee_from_msg_param(param, arg->num_params, msg_arg->params)) { in optee_invoke_func()
|
| H A D | optee_msg.h | 201 u32 num_params; member 215 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument 217 sizeof(struct optee_msg_param) * (num_params))
|
| H A D | device.c | 35 inv_arg.num_params = 4; in get_devices() 111 sess_arg.num_params = 0; in __optee_enumerate_devices()
|
| /OK3568_Linux_fs/kernel/drivers/tee/ |
| H A D | tee_core.c | 363 size_t num_params, in params_from_user() argument 368 for (n = 0; n < num_params; n++) { in params_from_user() 442 size_t num_params, struct tee_param *params) in params_to_user() argument 446 for (n = 0; n < num_params; n++) { in params_to_user() 495 if (sizeof(arg) + TEE_IOCTL_PARAM_SIZE(arg.num_params) != buf.buf_len) in tee_ioctl_open_session() 498 if (arg.num_params) { in tee_ioctl_open_session() 499 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_open_session() 504 rc = params_from_user(ctx, params, arg.num_params, uparams); in tee_ioctl_open_session() 527 rc = params_to_user(uparams, arg.num_params, params); in tee_ioctl_open_session() 538 for (n = 0; n < arg.num_params; n++) in tee_ioctl_open_session() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/optee_clientApi/ |
| H A D | OpteeClientRkNewFs_v2.c | 873 static uint32_t ree_fs_new_open(size_t num_params, in ree_fs_new_open() argument 905 static TEEC_Result ree_fs_new_create(size_t num_params, in ree_fs_new_create() argument 965 static TEEC_Result ree_fs_new_close(size_t num_params, in ree_fs_new_close() argument 970 UNREFERENCED_PARAMETER(num_params); in ree_fs_new_close() 974 static TEEC_Result ree_fs_new_read(size_t num_params, in ree_fs_new_read() argument 1027 static TEEC_Result ree_fs_new_write(size_t num_params, in ree_fs_new_write() argument 1125 static TEEC_Result ree_fs_new_truncate(size_t num_params, in ree_fs_new_truncate() argument 1165 static TEEC_Result ree_fs_new_remove(size_t num_params, in ree_fs_new_remove() argument 1209 static TEEC_Result ree_fs_new_rename(size_t num_params, in ree_fs_new_rename() argument 1254 static TEEC_Result ree_fs_new_opendir(size_t num_params, in ree_fs_new_opendir() argument [all …]
|
| H A D | OpteeClientRkNewFs_v1.c | 961 static uint32_t ree_fs_new_open(size_t num_params, in ree_fs_new_open() argument 993 static TEEC_Result ree_fs_new_create(size_t num_params, in ree_fs_new_create() argument 1065 static TEEC_Result ree_fs_new_close(size_t num_params, in ree_fs_new_close() argument 1070 UNREFERENCED_PARAMETER(num_params); in ree_fs_new_close() 1074 static TEEC_Result ree_fs_new_read(size_t num_params, in ree_fs_new_read() argument 1125 static TEEC_Result ree_fs_new_write(size_t num_params, in ree_fs_new_write() argument 1236 static TEEC_Result ree_fs_new_truncate(size_t num_params, in ree_fs_new_truncate() argument 1286 static TEEC_Result ree_fs_new_remove(size_t num_params, in ree_fs_new_remove() argument 1344 static TEEC_Result ree_fs_new_rename(size_t num_params, in ree_fs_new_rename() argument 1399 static TEEC_Result ree_fs_new_opendir(size_t num_params, in ree_fs_new_opendir() argument [all …]
|
| H A D | OpteeClientRkFs_common.c | 104 int OpteeClientRkFsProcess(size_t num_params, in OpteeClientRkFsProcess() argument 112 return tee_supp_rk_fs_process_v1(num_params, params); in OpteeClientRkFsProcess() 114 return tee_supp_rk_fs_process_v2(num_params, params); in OpteeClientRkFsProcess()
|
| H A D | OpteeClientRPC.c | 88 if (TeeSmc32Arg->num_params != 2) { in OpteeRpcCmdLoadTa() 159 if (TeeSmc32Arg->num_params != 2) { in OpteeRpcCmdLoadV2Ta() 205 if (TeeSmc32Arg->num_params != 1) { in OpteeRpcCmdFreeTa() 257 if (TeeSmc32Arg->num_params != 2) { in OpteeRpcCmdRpmb() 524 TeecResult = OpteeClientRkFsProcess((size_t)TeeSmc32Arg->num_params, in OpteeRpcCmdFs()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | tee.h | 245 __u32 num_params; member 276 __u32 num_params; member 331 __u32 num_params; member 352 __u32 num_params; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | tee.h | 222 __u32 num_params; member 253 __u32 num_params; member 308 __u32 num_params; member 329 __u32 num_params; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | tee.h | 222 __u32 num_params; member 253 __u32 num_params; member 308 __u32 num_params; member 329 __u32 num_params; member
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/include/linux/ |
| H A D | tee.h | 231 __u32 num_params; member 262 __u32 num_params; member 317 __u32 num_params; member 338 __u32 num_params; member
|
| /OK3568_Linux_fs/u-boot/include/optee_include/ |
| H A D | OpteeClientRkNewFs.h | 119 int tee_supp_rk_fs_process_v1(size_t num_params, 124 int tee_supp_rk_fs_process_v2(size_t num_params, 129 int OpteeClientRkFsProcess(size_t num_params,
|
| H A D | teesmc_v2.h | 47 uint32_t num_params; member 56 #define TEESMC32_GET_ARG_SIZE(num_params) \ argument 58 sizeof(struct optee_msg_param_v2) * (num_params))
|
| H A D | teesmc.h | 197 uint32_t num_params; member 228 uint64_t num_params; member 258 #define TEESMC64_GET_ARG_SIZE(num_params) \ argument 260 sizeof(struct teesmc64_param) * (num_params))
|
| /OK3568_Linux_fs/u-boot/board/xes/xpedite550x/ |
| H A D | ddr.c | 74 u32 num_params = sizeof(board_specific_parameters[ctrl_num]) / in fsl_ddr_board_options() local 106 for (i = 0; i < num_params; i++) { in fsl_ddr_board_options() 117 if (i == num_params) { in fsl_ddr_board_options()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap3/ |
| H A D | board.c | 353 u32 i, num_params = *parameters; in omap3_emu_romcode_call() local 360 for (i = 0; i < num_params; i++) { in omap3_emu_romcode_call() 374 emu_romcode_params.num_params = 1; in omap3_set_aux_cr_secure() 424 emu_romcode_params.num_params = 1; in omap3_invalidate_l2_cache_secure()
|
| /OK3568_Linux_fs/kernel/drivers/tee/amdtee/ |
| H A D | call.c | 246 if (!arg || (!p && arg->num_params)) in handle_invoke_cmd() 256 ret = tee_params_to_amd_params(p, arg->num_params, &cmd.op); in handle_invoke_cmd() 272 ret = amd_params_to_tee_params(p, arg->num_params, &cmd.op); in handle_invoke_cmd() 357 if (!arg || !info || (!p && arg->num_params)) in handle_open_session() 367 ret = tee_params_to_amd_params(p, arg->num_params, &cmd.op); in handle_open_session() 382 ret = amd_params_to_tee_params(p, arg->num_params, &cmd.op); in handle_open_session()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/include/ |
| H A D | basic_asm.h | 43 #define STACK_FRAME_LOCAL(num_params, var) \ argument 44 __STACK_FRAME_LOCAL(num_params, var)
|
| /OK3568_Linux_fs/kernel/drivers/nvmem/ |
| H A D | rockchip-secure-otp.c | 89 sess_arg.num_params = 0; in rockchip_read_oem_non_protected_otp() 115 inv_arg.num_params = 4; in rockchip_read_oem_non_protected_otp() 192 sess_arg.num_params = 0; in rockchip_write_oem_non_protected_otp() 226 inv_arg.num_params = 4; in rockchip_write_oem_non_protected_otp()
|
| /OK3568_Linux_fs/kernel/drivers/char/hw_random/ |
| H A D | optee-rng.c | 88 inv_arg.num_params = 4; in get_optee_rng_data() 188 inv_arg.num_params = 4; in get_optee_rng_info() 231 sess_arg.num_params = 0; in optee_rng_probe()
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | probe.c | 74 void **params, size_t *num_params) in sof_ipc_probe_info() argument 82 *num_params = 0; in sof_ipc_probe_info() 108 *num_params = reply->num_elems; in sof_ipc_probe_info()
|