/linux-6.3-rc2/drivers/tee/optee/ |
A D | supp.c | 16 size_t num_params; member 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() 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() 284 *num_params = req->num_params + num_meta; in optee_supp_recv() 292 size_t num_params, in supp_pop_req() argument 302 if (!num_params) in supp_pop_req() [all …]
|
A 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 …]
|
A 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()
|
A D | optee_private.h | 136 size_t num_params, const struct tee_param *params); 138 size_t num_params, 214 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, 223 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, 225 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, 290 size_t num_params,
|
A 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))
|
A 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()
|
A D | smc_abi.c | 118 size_t num_params, in optee_from_msg_param() argument 124 for (n = 0; n < num_params; n++) { in optee_from_msg_param() 209 size_t num_params, const struct tee_param *params) in optee_to_msg_param() argument 214 for (n = 0; n < num_params; n++) { in optee_to_msg_param() 477 msg_arg->num_params = 1; in optee_shm_register() 528 msg_arg->num_params = 1; in optee_shm_unregister() 636 if (arg->num_params != 1 || in handle_rpc_func_cmd_shm_free() 668 if (!arg->num_params || in handle_rpc_func_cmd_shm_alloc() 674 for (n = 1; n < arg->num_params; n++) { in handle_rpc_func_cmd_shm_alloc() 885 rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params); in optee_smc_do_call_with_arg()
|
A D | device.c | 35 inv_arg.num_params = 4; in get_devices() 111 sess_arg.num_params = 0; in __optee_enumerate_devices()
|
/linux-6.3-rc2/drivers/tee/ |
A 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() 440 for (n = 0; n < num_params; n++) { in params_to_user() 493 if (arg.num_params) { in tee_ioctl_open_session() 571 if (arg.num_params) { in tee_ioctl_invoke() 640 for (n = 0; n < num_params; n++) { in params_to_supp() 685 u32 num_params; in tee_ioctl_supp_recv() local 699 if (get_user(num_params, &uarg->num_params)) in tee_ioctl_supp_recv() 718 put_user(num_params, &uarg->num_params)) { in tee_ioctl_supp_recv() 782 u32 num_params; in tee_ioctl_supp_send() local [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A 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.3-rc2/drivers/rtc/ |
A 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.3-rc2/sound/soc/sof/ |
A D | sof-client-probes-ipc3.c | 105 void **params, size_t *num_params) in ipc3_probes_info() argument 114 *num_params = 0; in ipc3_probes_info() 139 *num_params = reply->num_elems; in ipc3_probes_info()
|
/linux-6.3-rc2/drivers/tee/amdtee/ |
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()
|
/linux-6.3-rc2/security/keys/trusted-keys/ |
A D | trusted_tee.c | 90 inv_arg.num_params = 4; in trusted_tee_seal() 149 inv_arg.num_params = 4; in trusted_tee_unseal() 199 inv_arg.num_params = 4; in trusted_tee_get_random() 244 sess_arg.num_params = 0; in trusted_key_probe()
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/ |
A D | basic_asm.h | 74 #define STACK_FRAME_LOCAL(num_params, var) \ argument 75 __STACK_FRAME_LOCAL(num_params, var)
|
/linux-6.3-rc2/drivers/char/hw_random/ |
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()
|
/linux-6.3-rc2/drivers/nvmem/ |
A 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.3-rc2/drivers/firmware/arm_scmi/ |
A 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.3-rc2/drivers/gpu/drm/virtio/ |
A D | virtgpu_ioctl.c | 750 uint32_t num_params, i, param, value; in virtio_gpu_context_init_ioctl() local 758 num_params = args->num_params; in virtio_gpu_context_init_ioctl() 759 len = num_params * sizeof(struct drm_virtgpu_context_set_param); in virtio_gpu_context_init_ioctl() 765 if (num_params > 3) in virtio_gpu_context_init_ioctl() 780 for (i = 0; i < num_params; i++) { in virtio_gpu_context_init_ioctl()
|
/linux-6.3-rc2/drivers/firmware/broadcom/ |
A 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.3-rc2/include/linux/ |
A 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.3-rc2/kernel/module/ |
A D | internal.h | 263 struct kernel_param *kparam, unsigned int num_params); 270 unsigned int num_params) in mod_sysfs_setup() argument
|
/linux-6.3-rc2/drivers/net/wireless/ti/wl1251/ |
A D | event.h | 64 u8 num_params; member
|
/linux-6.3-rc2/drivers/char/tpm/ |
A D | tpm_ftpm_tee.c | 99 .num_params = 4, in ftpm_tee_tpm_op_send() 245 sess_arg.num_params = 0; in ftpm_tee_probe()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_devlink.c | 1230 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_register() local 1237 num_params--; in bnxt_dl_params_register() 1239 rc = devlink_params_register(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_register() 1248 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_unregister() local 1254 num_params--; in bnxt_dl_params_unregister() 1256 devlink_params_unregister(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_unregister()
|