Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/isdn/gigaset/
Dusb-gigaset.c143 struct urb *read_urb; member
596 ucs->read_urb = NULL; in gigaset_initcshw()
736 ucs->read_urb = usb_alloc_urb(0, GFP_KERNEL); in gigaset_probe()
737 if (!ucs->read_urb) { in gigaset_probe()
752 usb_fill_int_urb(ucs->read_urb, udev, in gigaset_probe()
759 retval = usb_submit_urb(ucs->read_urb, GFP_KERNEL); in gigaset_probe()
777 usb_kill_urb(ucs->read_urb); in gigaset_probe()
781 usb_free_urb(ucs->read_urb); in gigaset_probe()
783 ucs->read_urb = ucs->bulk_out_urb = NULL; in gigaset_probe()
802 usb_kill_urb(ucs->read_urb); in gigaset_disconnect()
[all …]
/linux-2.6.39/drivers/net/wireless/orinoco/
Dorinoco_usb.c265 struct urb *read_urb; member
769 void *cur_buf = upriv->read_urb->transfer_buffer; in ezusb_submit_in_urb()
771 if (upriv->read_urb->status == -EINPROGRESS) { in ezusb_submit_in_urb()
776 usb_fill_bulk_urb(upriv->read_urb, upriv->udev, upriv->read_pipe, in ezusb_submit_in_urb()
779 upriv->read_urb->transfer_flags = 0; in ezusb_submit_in_urb()
780 retval = usb_submit_urb(upriv->read_urb, GFP_ATOMIC); in ezusb_submit_in_urb()
881 if (upriv->read_urb->status != -EINPROGRESS) in ezusb_access_ltv()
1056 struct ezusb_packet *ans = (void *) upriv->read_urb->transfer_buffer; in ezusb_bap_pread()
1057 int actual_length = upriv->read_urb->actual_length; in ezusb_bap_pread()
1373 usb_kill_urb(upriv->read_urb); in ezusb_init()
[all …]
/linux-2.6.39/drivers/staging/serqt_usb2/
Dserqt_usb2.c174 struct urb *read_urb; /* read URB for this port */ member
290 struct urb *urb = port->read_urb; in ProcessRxChar()
448 usb_fill_bulk_urb(port->read_urb, serial->dev, in qt_read_bulk_callback()
451 port->read_urb->transfer_buffer, in qt_read_bulk_callback()
452 port->read_urb->transfer_buffer_length, in qt_read_bulk_callback()
454 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in qt_read_bulk_callback()
903 usb_clear_halt(serial->dev, port->read_urb->pipe); in qt_open()
972 quatech_port->read_urb = port->read_urb; in qt_open()
976 usb_fill_bulk_urb(quatech_port->read_urb, in qt_open()
981 quatech_port->read_urb->transfer_buffer_length, in qt_open()
[all …]
/linux-2.6.39/drivers/usb/serial/
Domninet.c177 usb_fill_bulk_urb(port->read_urb, serial->dev, in omninet_open()
180 port->read_urb->transfer_buffer, in omninet_open()
181 port->read_urb->transfer_buffer_length, in omninet_open()
183 result = usb_submit_urb(port->read_urb, GFP_KERNEL); in omninet_open()
194 usb_kill_urb(port->read_urb); in omninet_close()
Dmct_u232.c458 usb_free_urb(port->read_urb); in mct_u232_startup()
459 port->read_urb = rport->interrupt_in_urb; in mct_u232_startup()
461 port->read_urb->context = port; in mct_u232_startup()
529 port->read_urb->dev = port->serial->dev; in mct_u232_open()
530 retval = usb_submit_urb(port->read_urb, GFP_KERNEL); in mct_u232_open()
534 port->read_urb->pipe, retval); in mct_u232_open()
541 usb_kill_urb(port->read_urb); in mct_u232_open()
580 usb_kill_urb(port->read_urb); in mct_u232_close()
Dcyberjack.c204 usb_kill_urb(port->read_urb); in cyberjack_close()
354 port->read_urb->dev = port->serial->dev; in cyberjack_read_int_callback()
355 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in cyberjack_read_int_callback()
418 port->read_urb->dev = port->serial->dev; in cyberjack_read_bulk_callback()
419 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in cyberjack_read_bulk_callback()
Diuu_phoenix.c291 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in iuu_status_callback()
294 port->read_urb->transfer_buffer, 256, in iuu_status_callback()
296 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in iuu_status_callback()
697 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in iuu_read_buf()
700 port->read_urb->transfer_buffer, len, in iuu_read_buf()
702 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in iuu_read_buf()
803 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in read_rxcmd_callback()
806 port->read_urb->transfer_buffer, 256, in read_rxcmd_callback()
808 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in read_rxcmd_callback()
1027 usb_kill_urb(port->read_urb); in iuu_close()
[all …]
Dmos7840.c236 struct urb *read_urb; /* read URB for this port */ member
788 if (!mos7840_port->read_urb) { in mos7840_bulk_in_callback()
795 mos7840_port->read_urb->dev = serial->dev; in mos7840_bulk_in_callback()
798 retval = usb_submit_urb(mos7840_port->read_urb, GFP_ATOMIC); in mos7840_bulk_in_callback()
903 usb_clear_halt(serial->dev, port->read_urb->pipe); in mos7840_open()
1103 mos7840_port->read_urb = port->read_urb; in mos7840_open()
1107 usb_fill_bulk_urb(mos7840_port->read_urb, in mos7840_open()
1112 mos7840_port->read_urb->transfer_buffer_length, in mos7840_open()
1118 response = usb_submit_urb(mos7840_port->read_urb, GFP_KERNEL); in mos7840_open()
1244 if (mos7840_port->read_urb) { in mos7840_close()
[all …]
Dmos7720.c942 if (!port->read_urb) { in mos7720_bulk_in_callback()
947 if (port->read_urb->status != -EINPROGRESS) { in mos7720_bulk_in_callback()
948 port->read_urb->dev = port->serial->dev; in mos7720_bulk_in_callback()
950 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in mos7720_bulk_in_callback()
1035 usb_clear_halt(serial->dev, port->read_urb->pipe); in mos7720_open()
1108 response = usb_submit_urb(port->read_urb, GFP_KERNEL); in mos7720_open()
1188 usb_kill_urb(port->read_urb); in mos7720_close()
1737 if (port->read_urb->status != -EINPROGRESS) { in change_port_settings()
1738 port->read_urb->dev = serial->dev; in change_port_settings()
1740 status = usb_submit_urb(port->read_urb, GFP_ATOMIC); in change_port_settings()
[all …]
Dgarmin_gps.c951 usb_kill_urb(port->read_urb); in garmin_open()
979 usb_kill_urb(port->read_urb); in garmin_close()
1247 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_bulk_callback()
1255 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_bulk_callback()
1309 usb_fill_bulk_urb(port->read_urb, serial->dev, in garmin_read_int_callback()
1312 port->read_urb->transfer_buffer, in garmin_read_int_callback()
1313 port->read_urb->transfer_buffer_length, in garmin_read_int_callback()
1315 retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); in garmin_read_int_callback()
1418 status = usb_submit_urb(port->read_urb, GFP_KERNEL); in garmin_unthrottle()
Dgeneric.c161 usb_kill_urb(port->read_urb); in generic_cleanup()
316 result = usb_submit_urb(port->read_urb, mem_flags); in usb_serial_generic_submit_read_urb()
512 if (port->read_urb) { in usb_serial_generic_resume()
513 r = usb_submit_urb(port->read_urb, GFP_NOIO); in usb_serial_generic_resume()
Dio_edgeport.c140 struct urb *read_urb; /* our bulk read urb */ member
613 edge_serial->read_urb->dev = edge_serial->serial->dev; in edge_interrupt_callback()
614 result = usb_submit_urb(edge_serial->read_urb, GFP_ATOMIC); in edge_interrupt_callback()
714 edge_serial->read_urb->dev = edge_serial->serial->dev; in edge_bulk_in_callback()
715 retval = usb_submit_urb(edge_serial->read_urb, GFP_ATOMIC); in edge_bulk_in_callback()
850 edge_serial->read_urb = port0->read_urb; in edge_open()
865 usb_fill_bulk_urb(edge_serial->read_urb, serial->dev, in edge_open()
869 edge_serial->read_urb->transfer_buffer_length, in edge_open()
3089 edge_serial->read_urb = in edge_startup()
3091 if (!edge_serial->read_urb) { in edge_startup()
[all …]
Dwhiteheat.c496 buf_size = port->read_urb->transfer_buffer_length; in whiteheat_attach()
561 command_port->read_urb->complete = command_port_read_callback; in whiteheat_attach()
691 usb_clear_halt(port->serial->dev, port->read_urb->pipe); in whiteheat_open()
1038 command_port->read_urb->dev = command_port->serial->dev; in command_port_read_callback()
1039 result = usb_submit_urb(command_port->read_urb, GFP_ATOMIC); in command_port_read_callback()
1363 usb_clear_halt(serial->dev, command_port->read_urb->pipe); in start_command_port()
1365 command_port->read_urb->dev = serial->dev; in start_command_port()
1366 retval = usb_submit_urb(command_port->read_urb, GFP_KERNEL); in start_command_port()
1392 usb_kill_urb(command_port->read_urb); in stop_command_port()
Dusb-serial.c565 usb_kill_urb(port->read_urb); in kill_traffic()
579 usb_kill_urb(port->read_urb); in kill_traffic()
598 usb_free_urb(port->read_urb); in port_release()
909 port->read_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_serial_probe()
910 if (!port->read_urb) { in usb_serial_probe()
924 usb_fill_bulk_urb(port->read_urb, dev, in usb_serial_probe()
Dvisor.c249 if (!port->read_urb) { in visor_open()
599 dest->read_urb = src->read_urb; \ in treo_attach()
Doti6858.c552 usb_clear_halt(serial->dev, port->read_urb->pipe); in oti6858_open()
623 usb_kill_urb(port->read_urb); in oti6858_close()
840 port->read_urb->dev = port->serial->dev; in oti6858_read_int_callback()
841 result = usb_submit_urb(port->read_urb, GFP_ATOMIC); in oti6858_read_int_callback()
Ddigi_acceleport.c903 port->read_urb->dev = port->serial->dev; in digi_rx_unthrottle()
904 ret = usb_submit_urb(port->read_urb, GFP_ATOMIC); in digi_rx_unthrottle()
1477 ret = usb_submit_urb(port->read_urb, GFP_KERNEL); in digi_startup_device()
1556 usb_kill_urb(serial->port[i]->read_urb); in digi_disconnect()
Dti_usb_3410_5052.c590 usb_clear_halt(dev, port->read_urb->pipe); in ti_open()
615 urb = port->read_urb; in ti_open()
666 usb_kill_urb(port->read_urb); in ti_close()
1575 urb = tport->tp_port->read_urb; in ti_restart_read()
Dio_ti.c1979 usb_clear_halt(dev, port->read_urb->pipe); in edge_open()
1982 urb = port->read_urb; in edge_open()
2036 usb_kill_urb(port->read_urb); in edge_close()
2269 urb = edge_port->port->read_urb; in restart_read()
Dspcp8x5.c461 usb_clear_halt(serial->dev, port->read_urb->pipe); in spcp8x5_open()
Dpl2303.c478 usb_clear_halt(serial->dev, port->read_urb->pipe); in pl2303_open()
/linux-2.6.39/drivers/staging/quatech_usb2/
Dquatech_usb2.c574 usb_fill_bulk_urb(port0->read_urb, serial->dev, in qt2_open()
585 result = usb_submit_urb(port->read_urb, GFP_KERNEL); in qt2_open()
1273 usb_fill_bulk_urb(port0->read_urb, serial->dev, in qt2_unthrottle()
1659 usb_fill_bulk_urb(port0->read_urb, serial->dev, in qt2_read_bulk_callback()
1663 result = usb_submit_urb(port0->read_urb, GFP_ATOMIC); in qt2_read_bulk_callback()
1788 struct urb *urb = port->serial->port[0]->read_urb; in qt2_process_rx_char()
/linux-2.6.39/include/linux/usb/
Dserial.h99 struct urb *read_urb; member