freebsd-dev/sys/dev/usb
Hans Petter Selasky a529288d65 Optimise the DWC OTG host mode driver's transmit path:
1) Use the TX FIFO empty interrupts to poll the transmit FIFO usage,
instead of using own software counters and waiting for SOF
interrupts. Assume that enough FIFO space is available to execute one
USB OUT transfer of any kind when the TX FIFO is empty.

2) Use the host channel halted event to asynchronously wait for host
channels to be disabled instead of waiting for SOF interrupts. This
results in less turnaround time for re-using host channels and at the
same time increases the performance.

The network transmit performance measured by "iperf" for the "RPi-B v1
2011/12" board, increased from 45MBit/s to 65Mbit/s after applying the
changes above.

No regressions seen using:
 - High Speed (BULK, CONTROL, INTERRUPT)
 - Full Speed (All transfer types)
 - Low Speed (Control and Interrupt)

MFC after:	1 month
Submitted by:	Daisuke Aoyama <aoyama@peach.ne.jp>
2015-07-16 16:08:40 +00:00
..
controller Optimise the DWC OTG host mode driver's transmit path: 2015-07-16 16:08:40 +00:00
gadget Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
input Lock softc before clearing bits. 2015-03-10 16:06:07 +00:00
misc Import ugold driver from OpenBSD supporting digital USB temperature 2015-06-11 15:23:47 +00:00
net Add Lenovo ThinkPad OneLink GigaLAN. 2015-04-07 01:47:36 +00:00
quirk Add new USB quirk. 2015-06-07 15:47:58 +00:00
serial Add new USB ID. 2015-05-05 19:34:23 +00:00
storage Use define instead of constant. 2015-03-17 08:42:09 +00:00
template Fix spelling. 2015-06-03 15:43:55 +00:00
video Put recycle pointer in own memory area which is not mmap'able. 2015-05-10 12:45:21 +00:00
wlan Change three methods in struct ieee80211com, namely ic_updateslot, 2015-05-25 19:53:29 +00:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb_bus.h Resolve a special case deadlock: When two or more threads are 2015-01-13 16:37:43 +00:00
usb_busdma.c
usb_busdma.h
usb_cdc.h
usb_compat_linux.c
usb_compat_linux.h
usb_controller.h
usb_core.c Remove no longer used allocation type. 2015-03-17 11:07:59 +00:00
usb_core.h Section 3.2.9 in the XHCI specification about control transfers says 2015-02-02 11:06:41 +00:00
usb_debug.c
usb_debug.h
usb_dev.c Don't wait forever for USB data to be flushed. 2015-06-05 06:06:07 +00:00
usb_dev.h
usb_device.c Add support for DYMO LabelWriter PnP. 2015-05-07 12:54:27 +00:00
usb_device.h Resolve a special case deadlock: When two or more threads are 2015-01-13 16:37:43 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_freebsd_loader.h Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_freebsd.h Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_generic.c Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular 2015-01-20 11:43:16 +00:00
usb_generic.h
usb_handle_request.c
usb_hid.c
usb_hub.c Add ugen keyword to USB pnpinfo. Remove extra space from existing pnpinfo. 2015-02-25 08:35:00 +00:00
usb_hub.h
usb_if.m
usb_ioctl.h Add USB MIDI template for USB device side mode. 2015-06-01 11:24:34 +00:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c Add support for DYMO LabelWriter PnP. 2015-05-07 12:54:27 +00:00
usb_msctest.h Add support for DYMO LabelWriter PnP. 2015-05-07 12:54:27 +00:00
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c
usb_process.h
usb_request.c Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
usb_request.h
usb_transfer.c Optimise allocation of USB DMA structures. By default don't double map 2015-02-02 11:32:15 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usb.h Add definition of the ISOCHRONOUS endpoint usage bits. 2015-03-25 13:32:27 +00:00
usbdevs Import ugold driver from OpenBSD supporting digital USB temperature 2015-06-11 15:23:47 +00:00
usbdi_util.h
usbdi.h
usbhid.h