Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/serial/
Dempeg.c165 port->read_urb, in empeg_open()
169 port->read_urb->transfer_buffer, in empeg_open()
170 port->read_urb->transfer_buffer_length, in empeg_open()
174 port->read_urb->transfer_flags |= USB_QUEUE_BULK; in empeg_open()
176 result = usb_submit_urb(port->read_urb); in empeg_open()
200 usb_unlink_urb (port->read_urb); in empeg_close()
418 port->read_urb, in empeg_read_bulk_callback()
422 port->read_urb->transfer_buffer, in empeg_read_bulk_callback()
423 port->read_urb->transfer_buffer_length, in empeg_read_bulk_callback()
427 port->read_urb->transfer_flags |= USB_QUEUE_BULK; in empeg_read_bulk_callback()
[all …]
Dir-usb.c290 kfree (port->read_urb->transfer_buffer); in ir_open()
291 port->read_urb->transfer_buffer = buffer; in ir_open()
292 port->read_urb->transfer_buffer_length = buffer_size; in ir_open()
307 port->read_urb, in ir_open()
310 port->read_urb->transfer_buffer, in ir_open()
311 port->read_urb->transfer_buffer_length, in ir_open()
314 port->read_urb->transfer_flags = USB_QUEUE_BULK; in ir_open()
315 result = usb_submit_urb(port->read_urb); in ir_open()
337 usb_unlink_urb (port->read_urb); in ir_close()
495 port->read_urb, in ir_read_bulk_callback()
[all …]
Dmct_u232.c356 if (port->read_urb) { in mct_u232_startup()
358 usb_free_urb(port->read_urb); in mct_u232_startup()
360 port->read_urb = rport->interrupt_in_urb; in mct_u232_startup()
362 port->read_urb->context = port; in mct_u232_startup()
364 priv->ik[0].ibase = port->read_urb->interval; in mct_u232_startup()
435 port->read_urb->dev = port->serial->dev; in mct_u232_open()
436 port->read_urb->interval = priv->ik[0].ibase; in mct_u232_open()
437 retval = usb_submit_urb(port->read_urb); in mct_u232_open()
440 port->read_urb->pipe, retval); in mct_u232_open()
463 usb_unlink_urb (port->read_urb); in mct_u232_close()
[all …]
Dipaq.c236 port->read_urb->transfer_buffer = port->bulk_in_buffer; in ipaq_open()
238 port->read_urb->transfer_buffer_length = URBDATA_SIZE; in ipaq_open()
242 FILL_BULK_URB(port->read_urb, serial->dev, in ipaq_open()
244 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ipaq_open()
246 result = usb_submit_urb(port->read_urb); in ipaq_open()
301 usb_unlink_urb(port->read_urb); in ipaq_close()
350 FILL_BULK_URB(port->read_urb, serial->dev, in ipaq_read_bulk_callback()
352 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ipaq_read_bulk_callback()
354 result = usb_submit_urb(port->read_urb); in ipaq_read_bulk_callback()
Dvisor.c397 if (!port->read_urb) { in visor_open()
415 usb_fill_bulk_urb (port->read_urb, serial->dev, in visor_open()
418 port->read_urb->transfer_buffer, in visor_open()
419 port->read_urb->transfer_buffer_length, in visor_open()
421 result = usb_submit_urb(port->read_urb); in visor_open()
473 usb_unlink_urb (port->read_urb); in visor_close()
673 usb_fill_bulk_urb (port->read_urb, serial->dev, in visor_read_bulk_callback()
676 port->read_urb->transfer_buffer, in visor_read_bulk_callback()
677 port->read_urb->transfer_buffer_length, in visor_read_bulk_callback()
679 result = usb_submit_urb(port->read_urb); in visor_read_bulk_callback()
[all …]
Dwhiteheat.c236 FILL_BULK_URB(port->read_urb, serial->dev, in command_port_read_callback()
238 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in command_port_read_callback()
240 result = usb_submit_urb(port->read_urb); in command_port_read_callback()
319 command_port->read_urb->complete = command_port_read_callback; in whiteheat_open()
320 command_port->read_urb->dev = port->serial->dev; in whiteheat_open()
322 retval = usb_submit_urb (command_port->read_urb); in whiteheat_open()
330 port->read_urb->dev = port->serial->dev; in whiteheat_open()
331 retval = usb_submit_urb(port->read_urb); in whiteheat_open()
369 usb_unlink_urb (port->read_urb); in whiteheat_close()
Dkl5kusb105.c387 FILL_BULK_URB(port->read_urb, serial->dev, in klsi_105_open()
390 port->read_urb->transfer_buffer, in klsi_105_open()
391 port->read_urb->transfer_buffer_length, in klsi_105_open()
394 port->read_urb->transfer_flags |= USB_QUEUE_BULK; in klsi_105_open()
396 rc = usb_submit_urb(port->read_urb); in klsi_105_open()
458 usb_unlink_urb (port->read_urb); in klsi_105_close()
700 FILL_BULK_URB(port->read_urb, serial->dev, in klsi_105_read_bulk_callback()
703 port->read_urb->transfer_buffer, in klsi_105_read_bulk_callback()
704 port->read_urb->transfer_buffer_length, in klsi_105_read_bulk_callback()
707 rc = usb_submit_urb(port->read_urb); in klsi_105_read_bulk_callback()
[all …]
Domninet.c168 FILL_BULK_URB(port->read_urb, serial->dev, in omninet_open()
170 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in omninet_open()
172 result = usb_submit_urb(port->read_urb); in omninet_open()
197 usb_unlink_urb (port->read_urb); in omninet_close()
Dcyberjack.c160 usb_unlink_urb (port->read_urb); in cyberjack_open()
179 usb_unlink_urb (port->read_urb); in cyberjack_close()
317 port->read_urb->dev = port->serial->dev; in cyberjack_read_int_callback()
318 result = usb_submit_urb(port->read_urb); in cyberjack_read_int_callback()
373 port->read_urb->dev = port->serial->dev; in cyberjack_read_bulk_callback()
374 result = usb_submit_urb(port->read_urb); in cyberjack_read_bulk_callback()
Dusbserial.c1153 usb_fill_bulk_urb (port->read_urb, serial->dev, in generic_open()
1155 port->read_urb->transfer_buffer, in generic_open()
1156 port->read_urb->transfer_buffer_length, in generic_open()
1161 result = usb_submit_urb(port->read_urb); in generic_open()
1180 usb_unlink_urb (port->read_urb); in generic_cleanup()
1327 usb_fill_bulk_urb (port->read_urb, serial->dev, in generic_read_bulk_callback()
1330 port->read_urb->transfer_buffer, in generic_read_bulk_callback()
1331 port->read_urb->transfer_buffer_length, in generic_read_bulk_callback()
1335 result = usb_submit_urb(port->read_urb); in generic_read_bulk_callback()
1555 port->read_urb = usb_alloc_urb (0); in usb_serial_probe()
[all …]
Dftdi_sio.c1167 if (port->read_urb) { in ftdi_common_startup()
1168 port->read_urb->transfer_buffer = port->bulk_in_buffer; in ftdi_common_startup()
1169 port->read_urb->transfer_buffer_length = BUFSZ; in ftdi_common_startup()
1430 FILL_BULK_URB(port->read_urb, serial->dev, in ftdi_open()
1432 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ftdi_open()
1434 result = usb_submit_urb(port->read_urb); in ftdi_open()
1487 if (port->read_urb) { in ftdi_close()
1488 err = usb_unlink_urb (port->read_urb); in ftdi_close()
1850 FILL_BULK_URB(port->read_urb, serial->dev, in ftdi_read_bulk_callback()
1852 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ftdi_read_bulk_callback()
[all …]
Dbelkin_sa.c209 port->read_urb->dev = port->serial->dev; in belkin_sa_open()
210 retval = usb_submit_urb(port->read_urb); in belkin_sa_open()
242 usb_unlink_urb (port->read_urb); in belkin_sa_close()
Dio_edgeport.c385 struct urb * read_urb; /* our bulk read urb */ member
789 (edge_serial->read_urb->status != -EINPROGRESS)) { in edge_interrupt_callback()
793 edge_serial->read_urb->dev = edge_serial->serial->dev; in edge_interrupt_callback()
794 result = usb_submit_urb(edge_serial->read_urb); in edge_interrupt_callback()
867 (edge_serial->read_urb->status != -EINPROGRESS)) { in edge_bulk_in_callback()
871 edge_serial->read_urb->dev = edge_serial->serial->dev; in edge_bulk_in_callback()
872 status = usb_submit_urb(edge_serial->read_urb); in edge_bulk_in_callback()
1012 edge_serial->read_urb = port0->read_urb; in edge_open()
1026 FILL_BULK_URB(edge_serial->read_urb, serial->dev, in edge_open()
1029 edge_serial->read_urb->transfer_buffer_length, in edge_open()
Dusb-serial.h107 struct urb * read_urb; member
Dpl2303.c742 result = usb_unlink_urb (port->read_urb); in pl2303_close()
771 usb_clear_halt(serial->dev, port->read_urb->pipe); in pl2303_open()
819 port->read_urb->dev = serial->dev; in pl2303_open()
820 result = usb_submit_urb (port->read_urb); in pl2303_open()
Ddigi_acceleport.c954 port->read_urb->dev = port->serial->dev; in digi_rx_unthrottle()
955 ret = usb_submit_urb( port->read_urb ); in digi_rx_unthrottle()
1649 if( (ret=usb_submit_urb(port->read_urb)) != 0 ) { in digi_startup_device()
1742 usb_unlink_urb( serial->port[i].read_urb ); in digi_shutdown()
Dio_ti.c1938 usb_clear_halt (dev, port->read_urb->pipe); in edge_open()
1941 urb = port->read_urb; in edge_open()
1992 usb_unlink_urb (port->read_urb); in edge_close()
2143 usb_unlink_urb (port->read_urb); in edge_throttle()
2177 port->read_urb->dev = port->serial->dev; in edge_unthrottle()
2178 status = usb_submit_urb (port->read_urb); in edge_unthrottle()
/linux-2.4.37.9/drivers/usb/
Dbluetooth.c188 struct urb * read_urb; member
385 FILL_BULK_URB (bluetooth->read_urb, bluetooth->dev, in bluetooth_open()
390 result = usb_submit_urb(bluetooth->read_urb); in bluetooth_open()
436 usb_unlink_urb (bluetooth->read_urb); in bluetooth_close()
728 if (bluetooth->read_urb) { in btusb_enable_bulk_read()
729 FILL_BULK_URB(bluetooth->read_urb, bluetooth->dev, in btusb_enable_bulk_read()
733 result = usb_submit_urb(bluetooth->read_urb); in btusb_enable_bulk_read()
753 if ((bluetooth->read_urb) && (bluetooth->read_urb->actual_length)) in btusb_disable_bulk_read()
754 usb_unlink_urb(bluetooth->read_urb); in btusb_disable_bulk_read()
920 FILL_BULK_URB(bluetooth->read_urb, bluetooth->dev, in bluetooth_read_bulk_callback()
[all …]