Lines Matching refs:num_params
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
240 rc = supp_check_recv_params(*num_params, param, &num_meta); in optee_supp_recv()
246 req = supp_pop_entry(supp, *num_params - num_meta, &id); in optee_supp_recv()
284 *num_params = req->num_params + num_meta; in optee_supp_recv()
286 sizeof(struct tee_param) * req->num_params); in optee_supp_recv()
292 size_t num_params, in supp_pop_req() argument
302 if (!num_params) in supp_pop_req()
319 if ((num_params - nm) != req->num_params) in supp_pop_req()
338 int optee_supp_send(struct tee_context *ctx, u32 ret, u32 num_params, in optee_supp_send() argument
349 req = supp_pop_req(supp, num_params, param, &num_meta); in optee_supp_send()
358 for (n = 0; n < req->num_params; n++) { in optee_supp_send()