Statistics
| Branch: | Revision:

root / hw / usb @ f8c126f3

Name Size
Makefile.objs 585 Bytes
bus.c 16.2 kB
combined-packet.c 6.4 kB
core.c 21.6 kB
desc.c 22.7 kB
desc.h 7.9 kB
dev-audio.c 22.8 kB
dev-bluetooth.c 17.1 kB
dev-hid.c 22.7 kB
dev-hub.c 17 kB
dev-network.c 43.6 kB
dev-serial.c 17.4 kB
dev-smartcard-reader.c 41.5 kB
dev-storage.c 20.2 kB
dev-uas.c 21.6 kB
dev-wacom.c 10.2 kB
hcd-ehci-pci.c 6.3 kB
hcd-ehci-sysbus.c 2.2 kB
hcd-ehci.c 73.1 kB
hcd-ehci.h 10.1 kB
hcd-musb.c 44 kB
hcd-ohci.c 55.2 kB
hcd-uhci.c 39 kB
hcd-xhci.c 91.3 kB
host-bsd.c 17.8 kB
host-linux.c 57.4 kB
host-stub.c 1.9 kB
libhw.c 2.3 kB
redirect.c 64.2 kB

Latest revisions

# Date Author Comment
719c130d 01/07/2013 01:57 pm Hans de Goede

uhci: Fix 1 ms delay in interrupt reporting to the guest

Re-arrange how we process frames / increase frnum / report pending interrupts,
to avoid a 1 ms delay in interrupt reporting to the guest. This increases
the packet throughput for cases where the guest submits a single packet,...

ecfdc15f 01/07/2013 01:57 pm Hans de Goede

uhci: Fix pending interrupts getting lost on migration

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

475443cf 01/07/2013 01:57 pm Hans de Goede

uhci: Add a QH_VALID define

Rather then using the magic 32 value in various places.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

f8f48b69 01/07/2013 01:57 pm Hans de Goede

uhci: Limit amount of frames processed in one go

Before this patch uhci would process an unlimited amount of frames when
behind on schedule, by setting the timer to a time already past, causing the
timer subsys to immediately recall the frame_timer function gain....

9fdf7027 01/07/2013 01:57 pm Hans de Goede

uhci: Maximize how many frames we catch up when behind

If somehow we've gotten behind a lot, simply skip ahead, like the ehci code
does.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

027c03f7 01/07/2013 01:57 pm Hans de Goede

hid: Change idle handling to use a timer

This leads to cleaner code in usb-hid, and removes up to a 1000 calls / sec to
qemu_get_clock_ns(vm_clock) if idle-time is set to its default value of 0.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

6735d433 01/07/2013 01:57 pm Hans de Goede

usb: Fix usb_ep_find_packet_by_id

usb_ep_find_packet_by_id mistakenly only checks the first packet and if that
is not a match, keeps trying the first packet! This patch fixes this.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

f79738b0 01/07/2013 01:57 pm Hans de Goede

usb: Add an usb_device_ep_stopped USBDevice method

Some usb devices (host or network redirection) can benefit from knowing when
the guest stops using an endpoint. Redirection may involve submitting packets
independently from the guest (in combination with a fifo buffer between the...

f8c126f3 01/07/2013 01:57 pm Hans de Goede

usbredir: Add an usbredir_stop_ep helper function

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

4a9ef2c0 01/07/2013 01:57 pm Hans de Goede

ehci: Don't call commit_irq after raising PCD

ehci_raise_irq(s, USBSTS_PCD), gets applied immediately so there is no need
to call commit_irq after it.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom