Home
last modified time | relevance | path

Searched refs:read_urb (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dorinoco_usb.c247 struct urb *read_urb; member
737 void *cur_buf = upriv->read_urb->transfer_buffer; in ezusb_submit_in_urb()
739 if (upriv->read_urb->status == -EINPROGRESS) { in ezusb_submit_in_urb()
744 usb_fill_bulk_urb(upriv->read_urb, upriv->udev, upriv->read_pipe, in ezusb_submit_in_urb()
747 upriv->read_urb->transfer_flags = 0; in ezusb_submit_in_urb()
748 retval = usb_submit_urb(upriv->read_urb, GFP_ATOMIC); in ezusb_submit_in_urb()
869 if (upriv->read_urb->status != -EINPROGRESS) in ezusb_access_ltv()
1044 struct ezusb_packet *ans = (void *) upriv->read_urb->transfer_buffer; in ezusb_bap_pread()
1045 int actual_length = upriv->read_urb->actual_length; in ezusb_bap_pread()
1362 usb_kill_urb(upriv->read_urb); in ezusb_init()
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dmct_u232.c98 struct urb *read_urb; member
393 priv->read_urb = serial->port[1]->interrupt_in_urb; in mct_u232_port_probe()
394 priv->read_urb->context = port; in mct_u232_port_probe()
459 retval = usb_submit_urb(priv->read_urb, GFP_KERNEL); in mct_u232_open()
463 port->read_urb->pipe, retval); in mct_u232_open()
469 usb_kill_urb(priv->read_urb); in mct_u232_open()
501 usb_kill_urb(priv->read_urb); in mct_u232_close()
Dquatech2.c110 struct urb *read_urb; /* shared among all ports */ member
140 usb_kill_urb(serial_priv->read_urb); in qt2_release()
141 usb_free_urb(serial_priv->read_urb); in qt2_release()
453 usb_kill_urb(serial_priv->read_urb); in qt2_disconnect()
629 serial_priv->read_urb = usb_alloc_urb(0, GFP_KERNEL); in qt2_setup_urbs()
630 if (!serial_priv->read_urb) in qt2_setup_urbs()
633 usb_fill_bulk_urb(serial_priv->read_urb, serial->dev, in qt2_setup_urbs()
640 status = usb_submit_urb(serial_priv->read_urb, GFP_KERNEL); in qt2_setup_urbs()
644 usb_free_urb(serial_priv->read_urb); in qt2_setup_urbs()
Diuu_phoenix.c246 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in iuu_status_callback()
249 port->read_urb->transfer_buffer, 256, in iuu_status_callback()
251 usb_submit_urb(port->read_urb, GFP_ATOMIC); in iuu_status_callback()
633 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in iuu_read_buf()
636 port->read_urb->transfer_buffer, len, in iuu_read_buf()
638 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in iuu_read_buf()
734 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in read_rxcmd_callback()
737 port->read_urb->transfer_buffer, 256, in read_rxcmd_callback()
739 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in read_rxcmd_callback()
948 usb_kill_urb(port->read_urb); in iuu_close()
[all …]
Dmos7840.c196 struct urb *read_urb; /* read URB for this port */ member
461 retval = usb_submit_urb(mos7840_port->read_urb, GFP_ATOMIC); in mos7840_bulk_in_callback()
523 usb_clear_halt(serial->dev, port->read_urb->pipe); in mos7840_open()
680 mos7840_port->read_urb = port->read_urb; in mos7840_open()
684 usb_fill_bulk_urb(mos7840_port->read_urb, in mos7840_open()
689 mos7840_port->read_urb->transfer_buffer_length, in mos7840_open()
692 usb_fill_bulk_urb(mos7840_port->read_urb, in mos7840_open()
697 mos7840_port->read_urb->transfer_buffer_length, in mos7840_open()
703 response = usb_submit_urb(mos7840_port->read_urb, GFP_KERNEL); in mos7840_open()
779 usb_kill_urb(mos7840_port->read_urb); in mos7840_close()
[all …]
Dwhiteheat.c297 command_port->read_urb->complete = command_port_read_callback; in whiteheat_attach()
384 usb_clear_halt(port->serial->dev, port->read_urb->pipe); in whiteheat_open()
537 result = usb_submit_urb(command_port->read_urb, GFP_ATOMIC); in command_port_read_callback()
793 usb_clear_halt(serial->dev, command_port->read_urb->pipe); in start_command_port()
795 retval = usb_submit_urb(command_port->read_urb, GFP_KERNEL); in start_command_port()
821 usb_kill_urb(command_port->read_urb); in stop_command_port()
Dcyberjack.c157 usb_kill_urb(port->read_urb); in cyberjack_close()
292 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in cyberjack_read_int_callback()
345 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in cyberjack_read_bulk_callback()
Dgarmin_gps.c920 usb_kill_urb(port->read_urb); in garmin_open()
941 usb_kill_urb(port->read_urb); in garmin_close()
1187 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_bulk_callback()
1195 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_bulk_callback()
1248 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_int_callback()
1348 status = usb_submit_urb(port->read_urb, GFP_KERNEL); in garmin_unthrottle()
Dmos7720.c946 if (port->read_urb->status != -EINPROGRESS) { in mos7720_bulk_in_callback()
947 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in mos7720_bulk_in_callback()
1018 usb_clear_halt(serial->dev, port->read_urb->pipe); in mos7720_open()
1087 response = usb_submit_urb(port->read_urb, GFP_KERNEL); in mos7720_open()
1156 usb_kill_urb(port->read_urb); in mos7720_close()
1673 if (port->read_urb->status != -EINPROGRESS) { in change_port_settings()
1674 status = usb_submit_urb(port->read_urb, GFP_KERNEL); in change_port_settings()
1704 if (port->read_urb->status != -EINPROGRESS) { in mos7720_set_termios()
1705 status = usb_submit_urb(port->read_urb, GFP_KERNEL); in mos7720_set_termios()
Dio_edgeport.c209 struct urb *read_urb; /* our bulk read urb */ member
698 result = usb_submit_urb(edge_serial->read_urb, GFP_ATOMIC); in edge_interrupt_callback()
798 retval = usb_submit_urb(edge_serial->read_urb, GFP_ATOMIC); in edge_bulk_in_callback()
918 edge_serial->read_urb = port0->read_urb; in edge_open()
933 usb_fill_bulk_urb(edge_serial->read_urb, serial->dev, in edge_open()
937 edge_serial->read_urb->transfer_buffer_length, in edge_open()
2962 edge_serial->read_urb = in edge_startup()
2964 if (!edge_serial->read_urb) { in edge_startup()
2979 usb_fill_bulk_urb(edge_serial->read_urb, dev, in edge_startup()
3026 usb_free_urb(edge_serial->read_urb); in edge_startup()
[all …]
Doti6858.c510 usb_clear_halt(serial->dev, port->read_urb->pipe); in oti6858_open()
576 usb_kill_urb(port->read_urb); in oti6858_close()
728 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in oti6858_read_int_callback()
Dti_usb_3410_5052.c725 usb_clear_halt(dev, port->read_urb->pipe); in ti_open()
747 urb = port->read_urb; in ti_open()
789 usb_kill_urb(port->read_urb); in ti_close()
1502 urb = tport->tp_port->read_urb; in ti_restart_read()
Ddigi_acceleport.c636 ret = usb_submit_urb(port->read_urb, GFP_ATOMIC); in digi_rx_unthrottle()
1196 ret = usb_submit_urb(port->read_urb, GFP_KERNEL); in digi_startup_device()
1261 usb_kill_urb(serial->port[i]->read_urb); in digi_disconnect()
Dopticon.c142 usb_clear_halt(port->serial->dev, port->read_urb->pipe); in opticon_open()
Dspcp8x5.c398 usb_clear_halt(serial->dev, port->read_urb->pipe); in spcp8x5_open()
Dvisor.c228 if (!port->read_urb) { in visor_open()
Dio_ti.c1950 usb_clear_halt(dev, port->read_urb->pipe); in edge_open()
1953 urb = port->read_urb; in edge_open()
1995 usb_kill_urb(port->read_urb); in edge_close()
2219 urb = edge_port->port->read_urb; in restart_read()
Dpl2303.c850 usb_clear_halt(serial->dev, port->read_urb->pipe); in pl2303_open()
Dusb-serial.c773 port->read_urb = port->read_urbs[0]; in setup_port_bulk_in()
/kernel/linux/linux-5.10/include/linux/usb/
Dserial.h90 struct urb *read_urb; member