Statistics
| Branch: | Revision:

root / hw / usb @ b62b0828

Name Size
Makefile.objs 534 Bytes
bus.c 15.8 kB
core.c 20.9 kB
desc.c 22.5 kB
desc.h 7.9 kB
dev-audio.c 23 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.2 kB
dev-hub.c 17 kB
dev-network.c 43.3 kB
dev-serial.c 17.5 kB
dev-smartcard-reader.c 41.8 kB
dev-storage.c 20.2 kB
dev-uas.c 21.6 kB
dev-wacom.c 10 kB
hcd-ehci.c 81.6 kB
hcd-musb.c 43.9 kB
hcd-ohci.c 54.2 kB
hcd-uhci.c 38 kB
hcd-xhci.c 90.1 kB
host-bsd.c 17.7 kB
host-linux.c 56.5 kB
host-stub.c 1.9 kB
libhw.c 2.3 kB
redirect.c 60.2 kB

Latest revisions

# Date Author Comment
85e05d82 11/01/2012 02:10 pm Gerd Hoffmann

xhci: add {get,set}_field macros & enum for pls

Add {get,set}_field macros (simliar to ehci) to read and update
some bits of a word. Put them into use for updating pls (port
link state) values. Also add a enum for pls values.

Signed-off-by: Gerd Hoffmann <>

f3214027 11/01/2012 02:10 pm Gerd Hoffmann

xhci: s/xhci_update_port/xhci_port_update/

Rename the function for xhci_port_* naming scheme, also drop
the xhci parameter as port carries a pointer to xhci anyway.

Signed-off-by: Gerd Hoffmann <>

6a32f80f 11/01/2012 02:10 pm Gerd Hoffmann

xhci: add xhci_port_have_device

Factor out the code which checks whenever a usb device is attached
to the port in question. No functional change.

Signed-off-by: Gerd Hoffmann <>

f705a362 11/01/2012 02:10 pm Gerd Hoffmann

xhci: add xhci_port_notify

Create a function to notify the guest about port
status changes and put it into use.

Signed-off-by: Gerd Hoffmann <>

40030130 11/01/2012 02:10 pm Gerd Hoffmann

xhci: add xhci_port_reset

Move port reset logic to its own function.

Signed-off-by: Gerd Hoffmann <>

b62b0828 11/01/2012 02:10 pm Gerd Hoffmann

xhci: set pls in xhci_port_update & xhci_port_reset

Set the port link state to the correct values in xhci_port_update and
xhci_port_reset functions.

Signed-off-by: Gerd Hoffmann <>

0ebfb144 10/25/2012 03:38 pm Gerd Hoffmann

xhci: fix usb name in caps

Used to be "UTB" not "USB".

Signed-off-by: Gerd Hoffmann <>

91062ae0 10/25/2012 03:37 pm Gerd Hoffmann

xhci: make number of interrupters and slots configurable

Add properties to tweak the numbers of available interrupters and slots.

Signed-off-by: Gerd Hoffmann <>

e099ad4b 10/25/2012 03:35 pm Gerd Hoffmann

xhci: allow disabling interrupters

For secondary interrupters this is explicitly allowed in the specs.
For the primary interrupter behavior is undefined, lets be friendly
and allow disabling too.

Signed-off-by: Gerd Hoffmann <>

3f973ee8 10/25/2012 03:35 pm Gerd Hoffmann

xhci: flush endpoint context unconditinally

Not updating the endpoint context in case the state didn't change is
wrong. Other context fields might have changed, for example the
dequeue pointer in response to a CR_SET_TR_DEQUEUE command.

Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom