• Home
  • Raw
  • Download

Lines Matching refs:sglen

33 	__u32		sglen;  member
50 __u32 sglen; member
1139 for (i = 1; i < ctx->param->sglen; i++) { in ctrl_complete()
1142 % ctx->param->sglen]; in ctrl_complete()
1190 if (param->sglen == 0 || param->iterations > UINT_MAX / param->sglen) in test_ctrl_queue()
1196 context.count = param->sglen * param->iterations; in test_ctrl_queue()
1206 urb = kcalloc(param->sglen, sizeof(struct urb *), GFP_KERNEL); in test_ctrl_queue()
1209 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1370 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1389 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue()
1966 struct urb *urbs[param->sglen]; in test_queue()
1968 if (!param->sglen || param->iterations > UINT_MAX / param->sglen) in test_queue()
1972 context.count = param->iterations * param->sglen; in test_queue()
1980 for (i = 0; i < param->sglen; i++) { in test_queue()
2013 for (i = 0; i < param->sglen; i++) { in test_queue()
2034 for (i = 0; i < param->sglen; i++) { in test_queue()
2053 for (i = 0; i < param->sglen; i++) { in test_queue()
2094 if (param->sglen > MAX_SGLEN) in usbtest_do_ioctl()
2178 if (dev->out_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2183 param->sglen, param->length); in usbtest_do_ioctl()
2184 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2192 &req, sg, param->sglen); in usbtest_do_ioctl()
2193 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2197 if (dev->in_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2202 param->sglen, param->length); in usbtest_do_ioctl()
2203 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2211 &req, sg, param->sglen); in usbtest_do_ioctl()
2212 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2215 if (dev->out_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2220 param->sglen, param->length); in usbtest_do_ioctl()
2221 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2229 &req, sg, param->sglen); in usbtest_do_ioctl()
2230 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2233 if (dev->in_pipe == 0 || param->sglen == 0 || param->vary == 0) in usbtest_do_ioctl()
2238 param->sglen, param->length); in usbtest_do_ioctl()
2239 sg = alloc_sglist(param->sglen, param->length, in usbtest_do_ioctl()
2247 &req, sg, param->sglen); in usbtest_do_ioctl()
2248 free_sglist(sg, param->sglen); in usbtest_do_ioctl()
2269 param->sglen, in usbtest_do_ioctl()
2330 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2335 param->sglen, param->length); in usbtest_do_ioctl()
2343 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2348 param->sglen, param->length); in usbtest_do_ioctl()
2425 if (dev->out_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2430 param->sglen, param->length); in usbtest_do_ioctl()
2436 if (dev->in_iso_pipe == 0 || param->sglen == 0) in usbtest_do_ioctl()
2441 param->sglen, param->length); in usbtest_do_ioctl()
2448 if (dev->out_pipe == 0 || !param->length || param->sglen < 4) in usbtest_do_ioctl()
2453 param->iterations, param->sglen, param->length); in usbtest_do_ioctl()
2456 param->sglen, param->length); in usbtest_do_ioctl()
2501 if (dev->out_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2505 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2510 if (dev->in_pipe == 0 || param->sglen == 0 || pattern != 0) in usbtest_do_ioctl()
2514 param->sglen * param->length) / (1024 * 1024)); in usbtest_do_ioctl()
2590 temp.sglen = param_64->sglen; in usbtest_ioctl()