Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/tee/optee/
A Dsupp.c16 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 Drpc.c36 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->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer()
85 for (i = 0; i < arg->num_params; i++) { in handle_rpc_func_cmd_i2c_transfer()
126 arg->num_params, params)) in handle_rpc_func_cmd_i2c_transfer()
192 if (arg->num_params != 1) in handle_rpc_func_cmd_wq()
220 if (arg->num_params != 1) in handle_rpc_func_cmd_wait()
245 params = kmalloc_array(arg->num_params, sizeof(struct tee_param), in handle_rpc_supp_cmd()
252 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_supp_cmd()
[all …]
A Dcall.c107 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params, in optee_get_msg_arg() argument
111 size_t sz = OPTEE_MSG_GET_ARG_SIZE(num_params); in optee_get_msg_arg()
133 memset(ma, 0, OPTEE_MSG_GET_ARG_SIZE(num_params)); in optee_get_msg_arg()
134 ma->num_params = num_params; in optee_get_msg_arg()
153 shm = optee_get_msg_arg(ctx, arg->num_params + 2, &msg_arg); in optee_open_session()
178 arg->num_params, param); in optee_open_session()
203 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_open_session()
274 shm = optee_get_msg_arg(ctx, arg->num_params, &msg_arg); in optee_invoke_func()
282 rc = optee->ops->to_msg_param(optee, msg_arg->params, arg->num_params, in optee_invoke_func()
292 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_invoke_func()
A Doptee_private.h117 size_t num_params, const struct tee_param *params);
119 size_t num_params,
191 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
200 int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
202 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params,
259 struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params,
A Doptee_msg.h216 u32 num_params; member
230 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument
232 sizeof(struct optee_msg_param) * (num_params))
A Dffa_abi.c156 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()
431 if (arg->num_params != 1 || in handle_ffa_rpc_func_cmd_shm_alloc()
471 if (arg->num_params != 1 || in handle_ffa_rpc_func_cmd_shm_free()
623 unsigned int rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params); in optee_ffa_do_call_with_arg()
A Ddevice.c35 inv_arg.num_params = 4; in get_devices()
111 sess_arg.num_params = 0; in __optee_enumerate_devices()
A Dsmc_abi.c106 size_t num_params, in optee_from_msg_param() argument
112 for (n = 0; n < num_params; n++) { in optee_from_msg_param()
197 size_t num_params, const struct tee_param *params) in optee_to_msg_param() argument
202 for (n = 0; n < num_params; n++) { in optee_to_msg_param()
560 if (arg->num_params != 1 || in handle_rpc_func_cmd_shm_free()
591 if (!arg->num_params || in handle_rpc_func_cmd_shm_alloc()
597 for (n = 1; n < arg->num_params; n++) { in handle_rpc_func_cmd_shm_alloc()
/linux/drivers/tee/
A Dtee_core.c356 size_t num_params, in params_from_user() argument
361 for (n = 0; n < num_params; n++) { in params_from_user()
439 for (n = 0; n < num_params; n++) { in params_to_user()
492 if (arg.num_params) { in tee_ioctl_open_session()
570 if (arg.num_params) { in tee_ioctl_invoke()
639 for (n = 0; n < num_params; n++) { in params_to_supp()
684 u32 num_params; in tee_ioctl_supp_recv() local
698 if (get_user(num_params, &uarg->num_params)) in tee_ioctl_supp_recv()
717 put_user(num_params, &uarg->num_params)) { in tee_ioctl_supp_recv()
781 u32 num_params; in tee_ioctl_supp_send() local
[all …]
/linux/include/uapi/linux/
A Dtee.h245 __u32 num_params; member
276 __u32 num_params; member
331 __u32 num_params; member
352 __u32 num_params; member
/linux/drivers/tee/amdtee/
A Dcall.c246 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/security/keys/trusted-keys/
A Dtrusted_tee.c92 inv_arg.num_params = 4; in trusted_tee_seal()
153 inv_arg.num_params = 4; in trusted_tee_unseal()
204 inv_arg.num_params = 4; in trusted_tee_get_random()
248 sess_arg.num_params = 0; in trusted_key_probe()
/linux/tools/testing/selftests/powerpc/include/
A Dbasic_asm.h43 #define STACK_FRAME_LOCAL(num_params, var) \ argument
44 __STACK_FRAME_LOCAL(num_params, var)
/linux/drivers/char/hw_random/
A Doptee-rng.c88 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/drivers/gpu/drm/virtio/
A Dvirtgpu_ioctl.c736 uint32_t num_params, i, param, value; in virtio_gpu_context_init_ioctl() local
744 num_params = args->num_params; in virtio_gpu_context_init_ioctl()
745 len = num_params * sizeof(struct drm_virtgpu_context_set_param); in virtio_gpu_context_init_ioctl()
751 if (num_params > 3) in virtio_gpu_context_init_ioctl()
766 for (i = 0; i < num_params; i++) { in virtio_gpu_context_init_ioctl()
/linux/sound/soc/sof/
A Dsof-probes.c105 void **params, size_t *num_params) in sof_ipc_probe_info() argument
113 *num_params = 0; in sof_ipc_probe_info()
139 *num_params = reply->num_elems; in sof_ipc_probe_info()
/linux/drivers/firmware/broadcom/
A Dtee_bnxt_fw.c75 arg->num_params = MAX_TEE_PARAM_ARRY_MEMB; in prepare_args()
202 sess_arg.num_params = 0; in tee_bnxt_fw_probe()
/linux/include/linux/
A Dtee_drv.h110 int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params,
112 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params,
/linux/drivers/char/tpm/
A Dtpm_ftpm_tee.c99 .num_params = 4, in ftpm_tee_tpm_op_send()
245 sess_arg.num_params = 0; in ftpm_tee_probe()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c1147 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_register() local
1154 num_params--; in bnxt_dl_params_register()
1156 rc = devlink_params_register(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_register()
1165 int num_params = ARRAY_SIZE(bnxt_dl_params); in bnxt_dl_params_unregister() local
1171 num_params--; in bnxt_dl_params_unregister()
1173 devlink_params_unregister(bp->dl, bnxt_dl_params, num_params); in bnxt_dl_params_unregister()
/linux/drivers/net/wireless/ti/wl1251/
A Devent.h64 u8 num_params; member
/linux/kernel/
A Dparams.c119 unsigned num_params, in parse_one() argument
130 for (i = 0; i < num_params; i++) { in parse_one()
708 unsigned int num_params) in module_param_sysfs_setup() argument
713 for (i = 0; i < num_params; i++) { in module_param_sysfs_setup()
/linux/include/net/nfc/
A Dnci.h242 __u8 num_params; member
364 __u8 num_params; member
/linux/drivers/pinctrl/
A Dpinctrl-lantiq.h92 unsigned int num_params; member
/linux/drivers/gpu/drm/
A Ddrm_mipi_dsi.c740 size_t num_params, void *data, size_t size) in mipi_dsi_generic_read() argument
744 .tx_len = num_params, in mipi_dsi_generic_read()
750 switch (num_params) { in mipi_dsi_generic_read()

Completed in 71 milliseconds

12