Lines Matching refs:bulk
1270 struct usbdevfs_bulktransfer *bulk) in do_proc_bulk() argument
1279 ret = findintfep(ps->dev, bulk->ep); in do_proc_bulk()
1286 len1 = bulk->len; in do_proc_bulk()
1290 if (bulk->ep & USB_DIR_IN) in do_proc_bulk()
1291 pipe = usb_rcvbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1293 pipe = usb_sndbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk()
1322 tmo = bulk->timeout; in do_proc_bulk()
1323 if (bulk->ep & 0x80) { in do_proc_bulk()
1332 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk()
1339 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
1361 struct usbdevfs_bulktransfer bulk; in proc_bulk() local
1363 if (copy_from_user(&bulk, arg, sizeof(bulk))) in proc_bulk()
1365 return do_proc_bulk(ps, &bulk); in proc_bulk()
2140 struct usbdevfs_bulktransfer bulk; in proc_bulk_compat() local
2143 if (get_user(bulk.ep, &p32->ep) || in proc_bulk_compat()
2144 get_user(bulk.len, &p32->len) || in proc_bulk_compat()
2145 get_user(bulk.timeout, &p32->timeout) || in proc_bulk_compat()
2148 bulk.data = compat_ptr(addr); in proc_bulk_compat()
2149 return do_proc_bulk(ps, &bulk); in proc_bulk_compat()