Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/tee/optee/
Dsupp.c16 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 …]
Drpc.c37 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 …]
Doptee_private.h139 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,
Dcall.c175 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()
Doptee_msg.h201 u32 num_params; member
215 #define OPTEE_MSG_GET_ARG_SIZE(num_params) \ argument
217 sizeof(struct optee_msg_param) * (num_params))
Ddevice.c35 inv_arg.num_params = 4; in get_devices()
111 sess_arg.num_params = 0; in __optee_enumerate_devices()
Dcore.c38 int optee_from_msg_param(struct tee_param *params, size_t num_params, in optee_from_msg_param() argument
46 for (n = 0; n < num_params; n++) { in optee_from_msg_param()
157 int optee_to_msg_param(struct optee_msg_param *msg_params, size_t num_params, in optee_to_msg_param() argument
163 for (n = 0; n < num_params; n++) { in optee_to_msg_param()
/kernel/linux/linux-5.10/drivers/tee/
Dtee_core.c363 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 …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dtee.h70 __u32 num_params; member
82 __u32 num_params; member
101 __u32 num_params; member
109 __u32 num_params; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtee.h86 __u32 num_params; member
96 __u32 num_params; member
111 __u32 num_params; member
117 __u32 num_params; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dtee.h245 __u32 num_params; member
276 __u32 num_params; member
331 __u32 num_params; member
352 __u32 num_params; member
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
Dbasic_asm.h43 #define STACK_FRAME_LOCAL(num_params, var) \ argument
44 __STACK_FRAME_LOCAL(num_params, var)
/kernel/linux/linux-5.10/drivers/tee/amdtee/
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()
/kernel/linux/linux-5.10/drivers/char/hw_random/
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()
/kernel/linux/linux-5.10/sound/soc/sof/
Dprobe.c74 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()
/kernel/linux/linux-5.10/drivers/firmware/broadcom/
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()
/kernel/linux/linux-5.10/include/linux/
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,
Dmoduleparam.h598 unsigned int num_params);
604 unsigned int num_params) in module_param_sysfs_setup() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Devent.h64 u8 num_params; member
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ftpm_tee.c99 .num_params = 4, in ftpm_tee_tpm_op_send()
245 sess_arg.num_params = 0; in ftpm_tee_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-lantiq.h92 unsigned int num_params; member
/kernel/linux/linux-5.10/include/net/nfc/
Dnci.h232 __u8 num_params; member
340 __u8 num_params; member
/kernel/linux/linux-5.10/kernel/
Dparams.c119 unsigned num_params, in parse_one() argument
130 for (i = 0; i < num_params; i++) { in parse_one()
690 unsigned int num_params) in module_param_sysfs_setup() argument
695 for (i = 0; i < num_params; i++) { in module_param_sysfs_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_mipi_dsi.c660 size_t num_params, void *data, size_t size) in mipi_dsi_generic_read() argument
664 .tx_len = num_params, in mipi_dsi_generic_read()
670 switch (num_params) { in mipi_dsi_generic_read()
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
Dfw_dnld.c168 cmd.num_params = 1; in process_state_init()
197 cmd.num_params = 1; in process_state_set_ref_clock()

12