Statistics
| Branch: | Revision:

root / hw / usb @ 7046530c

Name Size
bus.c 15.2 kB
core.c 19.2 kB
desc.c 18.3 kB
desc.h 6.4 kB
dev-audio.c 23 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.3 kB
dev-hub.c 17 kB
dev-network.c 43.1 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.6 kB
dev-storage.c 18.8 kB
dev-wacom.c 10.1 kB
hcd-ehci.c 70.8 kB
hcd-musb.c 43.8 kB
hcd-ohci.c 53.6 kB
hcd-uhci.c 36.9 kB
hcd-xhci.c 84.2 kB
host-bsd.c 17.7 kB
host-linux.c 54.8 kB
host-stub.c 1.9 kB
libhw.c 2 kB
redirect.c 48.1 kB

Latest revisions

# Date Author Comment
4224558f 06/07/2012 11:02 am Gerd Hoffmann

ehci: make ehci_execute work on EHCIPacket instead of EHCIQueue

This way it is possible to use ehci_execute to submit others than the
first EHCIPacket of the EHCIQueue.

Signed-off-by: Gerd Hoffmann <>

e59928b3 06/07/2012 11:02 am Gerd Hoffmann

ehci: cache USBDevice in EHCIQueue

Keep a USBDevice pointer in EHCIQueue so we don't have to lookup the
device on each usb packet submission.

Signed-off-by: Gerd Hoffmann <>

cd665715 06/07/2012 11:02 am Gerd Hoffmann

ehci: move ehci_flush_qh

Move ehci_flush_qh() function up in the source code.
No code change.

Signed-off-by: Gerd Hoffmann <>

773dc9cd 06/07/2012 11:02 am Gerd Hoffmann

ehci: add queuing support

Add packet queuing. Follow the qTD chain to see if there are more
packets we can submit. Improves performance on larger transfers,
especially with usb-host, as we don't have to wait for a packet to
finish before sending the next one to the host for processing....

8f6d5e26 06/07/2012 11:02 am Gerd Hoffmann

ehci: tweak queue initialization

Little tweak for the queue initialization, set the QH address in the
allocation function.

Signed-off-by: Gerd Hoffmann <>

ae0138a8 06/07/2012 11:02 am Gerd Hoffmann

ehci: add async field to EHCIQueue

Keep track whenever a EHCIQueue is part of the async or periodic
schedule. This way we don't have to pass around the async flag
everywhere but can look it up from the EHCIQueue struct when needed.

Signed-off-by: Gerd Hoffmann <>

0fb3e299 06/07/2012 11:02 am Gerd Hoffmann

ehci: move async schedule to bottom half

This way we can kick the async schedule independant from the
periodic frame timer.

Signed-off-by: Gerd Hoffmann <>

ae710b99 06/07/2012 11:02 am Gerd Hoffmann

ehci: schedule async bh on async packet completion

When a packet completes which happens to be part of the async schedule
kick the async bottom half for processing,

Signed-off-by: Gerd Hoffmann <>

0f588df8 06/07/2012 11:02 am Gerd Hoffmann

ehci: kick async schedule on wakeup

Kick async schedule when we get a wakeup
notification from a usb device.

Signed-off-by: Gerd Hoffmann <>

7046530c 06/07/2012 11:02 am Gerd Hoffmann

ehci: fix reset

Check for the reset bit first when processing USBCMD register writes.
Also break out of the switch, there is no need to check the other bits.

Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom