/linux-6.6.21/drivers/tee/optee/ |
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 99 req->num_params = num_params; in optee_supp_thrd_req() 153 int num_params, int *id) in supp_pop_entry() argument 170 if (num_params < req->num_params) { in supp_pop_entry() 185 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params() argument 190 if (!num_params) in supp_check_recv_params() 197 for (n = 0; n < num_params; n++) in supp_check_recv_params() 205 for (n = 0; n < num_params; n++) in supp_check_recv_params() 229 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, in optee_supp_recv() argument [all …]
|
D | rpc.c | 19 if (arg->num_params != 1) in handle_rpc_func_cmd_get_time() 52 if (arg->num_params != ARRAY_SIZE(attr)) { 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() 64 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer() 68 for (i = 0; i < arg->num_params; i++) { in handle_rpc_func_cmd_i2c_transfer() 109 arg->num_params, params)) in handle_rpc_func_cmd_i2c_transfer() 133 if (arg->num_params != 1) in handle_rpc_func_cmd_wq() 163 if (arg->num_params != 1) in handle_rpc_func_cmd_wait() 188 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd() 195 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_supp_cmd() [all …]
|
D | call.c | 182 size_t num_params, in optee_get_msg_arg() argument 196 if (num_params > MAX_ARG_PARAM_COUNT) in optee_get_msg_arg() 241 ma->num_params = num_params; in optee_get_msg_arg() 295 msg_arg = optee_get_msg_arg(ctx, arg->num_params + 2, in optee_open_session() 321 arg->num_params, param); in optee_open_session() 346 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_open_session() 421 msg_arg = optee_get_msg_arg(ctx, arg->num_params, in optee_invoke_func() 430 rc = optee->ops->to_msg_param(optee, msg_arg->params, arg->num_params, in optee_invoke_func() 440 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_invoke_func()
|
D | optee_private.h | 160 size_t num_params, const struct tee_param *params); 162 size_t num_params, 238 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, 245 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, 247 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, 312 size_t num_params,
|
D | optee_msg.h | 216 u32 num_params; member 230 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument 232 sizeof(struct optee_msg_param) * (num_params))
|
D | ffa_abi.c | 156 struct tee_param *params, size_t num_params, in optee_ffa_from_msg_param() argument 161 for (n = 0; n < num_params; n++) { in optee_ffa_from_msg_param() 229 size_t num_params, in optee_ffa_to_msg_param() argument 234 for (n = 0; n < num_params; n++) { in optee_ffa_to_msg_param() 432 if (arg->num_params != 1 || in handle_ffa_rpc_func_cmd_shm_alloc() 472 if (arg->num_params != 1 || in handle_ffa_rpc_func_cmd_shm_free() 640 rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params); in optee_ffa_do_call_with_arg()
|
D | device.c | 35 inv_arg.num_params = 4; in get_devices() 124 sess_arg.num_params = 0; in __optee_enumerate_devices()
|
D | smc_abi.c | 138 size_t num_params, in optee_from_msg_param() argument 144 for (n = 0; n < num_params; n++) { in optee_from_msg_param() 229 size_t num_params, const struct tee_param *params) in optee_to_msg_param() argument 234 for (n = 0; n < num_params; n++) { in optee_to_msg_param() 497 msg_arg->num_params = 1; in optee_shm_register() 548 msg_arg->num_params = 1; in optee_shm_unregister() 656 if (arg->num_params != 1 || in handle_rpc_func_cmd_shm_free() 688 if (!arg->num_params || in handle_rpc_func_cmd_shm_alloc() 694 for (n = 1; n < arg->num_params; n++) { in handle_rpc_func_cmd_shm_alloc() 905 rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params); in optee_smc_do_call_with_arg()
|
/linux-6.6.21/drivers/tee/ |
D | tee_core.c | 357 size_t num_params, in params_from_user() argument 362 for (n = 0; n < num_params; n++) { in params_from_user() 436 size_t num_params, struct tee_param *params) in params_to_user() argument 440 for (n = 0; n < num_params; n++) { in params_to_user() 490 if (sizeof(arg) + TEE_IOCTL_PARAM_SIZE(arg.num_params) != buf.buf_len) in tee_ioctl_open_session() 493 if (arg.num_params) { in tee_ioctl_open_session() 494 params = kcalloc(arg.num_params, sizeof(struct tee_param), in tee_ioctl_open_session() 499 rc = params_from_user(ctx, params, arg.num_params, uparams); in tee_ioctl_open_session() 522 rc = params_to_user(uparams, arg.num_params, params); in tee_ioctl_open_session() 533 for (n = 0; n < arg.num_params; n++) in tee_ioctl_open_session() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | tee.h | 241 __u32 num_params; member 272 __u32 num_params; member 327 __u32 num_params; member 348 __u32 num_params; member
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-optee.c | 65 inv_arg.num_params = 4; in optee_rtc_readtime() 114 inv_arg.num_params = 4; in optee_rtc_settime() 145 inv_arg.num_params = 4; in optee_rtc_readoffset() 170 inv_arg.num_params = 4; in optee_rtc_setoffset() 201 inv_arg.num_params = 4; in optee_rtc_read_info()
|
/linux-6.6.21/security/keys/trusted-keys/ |
D | trusted_tee.c | 82 inv_arg.num_params = 4; in trusted_tee_seal() 129 inv_arg.num_params = 4; in trusted_tee_unseal() 175 inv_arg.num_params = 4; in trusted_tee_get_random() 220 sess_arg.num_params = 0; in trusted_key_probe()
|
/linux-6.6.21/sound/soc/sof/ |
D | sof-client-probes-ipc3.c | 103 void **params, size_t *num_params) in ipc3_probes_info() argument 112 *num_params = 0; in ipc3_probes_info() 137 *num_params = reply->num_elems; in ipc3_probes_info()
|
/linux-6.6.21/drivers/tee/amdtee/ |
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()
|
/linux-6.6.21/tools/testing/selftests/powerpc/include/ |
D | basic_asm.h | 74 #define STACK_FRAME_LOCAL(num_params, var) \ argument 75 __STACK_FRAME_LOCAL(num_params, var)
|
/linux-6.6.21/drivers/char/hw_random/ |
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()
|
/linux-6.6.21/drivers/nvmem/ |
D | stm32-bsec-optee-ta.c | 79 sess_arg.num_params = 0; in stm32_bsec_ta_open_session() 159 arg.num_params = 2; in stm32_bsec_optee_ta_read() 227 arg.num_params = 2; in stm32_bsec_optee_ta_write()
|
/linux-6.6.21/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 568 uint32_t num_params, i, param, value; in virtio_gpu_context_init_ioctl() local 576 num_params = args->num_params; in virtio_gpu_context_init_ioctl() 577 len = num_params * sizeof(struct drm_virtgpu_context_set_param); in virtio_gpu_context_init_ioctl() 583 if (num_params > 3) in virtio_gpu_context_init_ioctl() 598 for (i = 0; i < num_params; i++) { in virtio_gpu_context_init_ioctl()
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | optee.c | 196 arg.num_params = 1; in get_capabilities() 236 arg.num_params = 1; in get_channel() 261 .num_params = 1, in invoke_process_smt_channel() 284 .num_params = 3, in invoke_process_msg_channel()
|
/linux-6.6.21/include/linux/ |
D | tee_drv.h | 107 int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params, 109 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params,
|
/linux-6.6.21/drivers/firmware/broadcom/ |
D | tee_bnxt_fw.c | 75 arg->num_params = MAX_TEE_PARAM_ARRY_MEMB; in prepare_args() 202 sess_arg.num_params = 0; in tee_bnxt_fw_probe()
|
/linux-6.6.21/drivers/net/wireless/ti/wl1251/ |
D | event.h | 64 u8 num_params; member
|
/linux-6.6.21/kernel/module/ |
D | internal.h | 364 struct kernel_param *kparam, unsigned int num_params); 371 unsigned int num_params) in mod_sysfs_setup() argument
|
/linux-6.6.21/drivers/char/tpm/ |
D | tpm_ftpm_tee.c | 98 .num_params = 4, in ftpm_tee_tpm_op_send() 244 sess_arg.num_params = 0; in ftpm_tee_probe()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 1223 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_register() local 1230 num_params--; in bnxt_dl_params_register() 1232 rc = devlink_params_register(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_register() 1241 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_unregister() local 1247 num_params--; in bnxt_dl_params_unregister() 1249 devlink_params_unregister(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_unregister()
|