Home
last modified time | relevance | path

Searched refs:read_urbs (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/usb/serial/
Dgeneric.c133 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) in usb_serial_generic_close()
134 usb_kill_urb(port->read_urbs[i]); in usb_serial_generic_close()
310 res = usb_submit_urb(port->read_urbs[index], mem_flags); in usb_serial_generic_submit_read_urb()
330 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) { in usb_serial_generic_submit_read_urbs()
339 usb_kill_urb(port->read_urbs[i]); in usb_serial_generic_submit_read_urbs()
378 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) { in usb_serial_generic_read_bulk_callback()
379 if (urb == port->read_urbs[i]) in usb_serial_generic_read_bulk_callback()
Dusb-serial.c636 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) in usb_serial_port_poison_urbs()
637 usb_poison_urb(port->read_urbs[i]); in usb_serial_port_poison_urbs()
649 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) in usb_serial_port_unpoison_urbs()
650 usb_unpoison_urb(port->read_urbs[i]); in usb_serial_port_unpoison_urbs()
667 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) { in usb_serial_port_release()
668 usb_free_urb(port->read_urbs[i]); in usb_serial_port_release()
852 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) { in setup_port_bulk_in()
854 port->read_urbs[i] = usb_alloc_urb(0, GFP_KERNEL); in setup_port_bulk_in()
855 if (!port->read_urbs[i]) in setup_port_bulk_in()
860 usb_fill_bulk_urb(port->read_urbs[i], udev, in setup_port_bulk_in()
[all …]
Df81232.c975 for (i = 0; i < ARRAY_SIZE(port->read_urbs); ++i) in f81232_suspend()
976 usb_kill_urb(port->read_urbs[i]); in f81232_suspend()
Df81534.c1136 for (i = 0; i < ARRAY_SIZE(port0->read_urbs); ++i) in f81534_close()
1137 usb_kill_urb(port0->read_urbs[i]); in f81534_close()
/Linux-v5.15/drivers/usb/class/
Dcdc-acm.h99 struct urb *read_urbs[ACM_NR]; member
Dcdc-acm.c158 usb_poison_urb(acm->read_urbs[i]); in acm_poison_urbs()
166 usb_unpoison_urb(acm->read_urbs[i]); in acm_unpoison_urbs()
447 res = usb_submit_urb(acm->read_urbs[index], mem_flags); in acm_submit_read_urb()
597 usb_kill_urb(acm->read_urbs[i]); in acm_softint()
722 usb_kill_urb(acm->read_urbs[i]); in acm_port_activate()
1406 acm->read_urbs[i] = urb; in acm_probe()
1522 usb_free_urb(acm->read_urbs[i]); in acm_probe()
1579 usb_free_urb(acm->read_urbs[i]); in acm_disconnect()
/Linux-v5.15/include/linux/usb/
Dserial.h93 struct urb *read_urbs[2]; member