Home
last modified time | relevance | path

Searched refs:write_urb_pool (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/usb/serial/
Dmos7720.c62 struct urb *write_urb_pool[NUM_URBS]; member
865 mos7720_port->write_urb_pool[j] = urb; in mos7720_open()
872 usb_free_urb(mos7720_port->write_urb_pool[j]); in mos7720_open()
873 mos7720_port->write_urb_pool[j] = NULL; in mos7720_open()
957 if (mos7720_port->write_urb_pool[i] && in mos7720_chars_in_buffer()
958 mos7720_port->write_urb_pool[i]->status == -EINPROGRESS) in mos7720_chars_in_buffer()
978 usb_kill_urb(mos7720_port->write_urb_pool[j]); in mos7720_close()
982 if (mos7720_port->write_urb_pool[j]) { in mos7720_close()
983 kfree(mos7720_port->write_urb_pool[j]->transfer_buffer); in mos7720_close()
984 usb_free_urb(mos7720_port->write_urb_pool[j]); in mos7720_close()
[all …]
Dmos7840.c207 struct urb *write_urb_pool[NUM_URBS]; member
485 if (urb == mos7840_port->write_urb_pool[i]) { in mos7840_bulk_out_data_callback()
528 mos7840_port->write_urb_pool[j] = urb; in mos7840_open()
536 mos7840_port->write_urb_pool[j] = NULL; in mos7840_open()
717 urb = mos7840_port->write_urb_pool[j]; in mos7840_open()
744 struct urb *urb = mos7840_port->write_urb_pool[i]; in mos7840_chars_in_buffer()
766 usb_kill_urb(mos7840_port->write_urb_pool[j]); in mos7840_close()
770 if (mos7840_port->write_urb_pool[j]) { in mos7840_close()
771 kfree(mos7840_port->write_urb_pool[j]->transfer_buffer); in mos7840_close()
772 usb_free_urb(mos7840_port->write_urb_pool[j]); in mos7840_close()
[all …]