]> Git Repo - qemu.git/blob - tests/libqos/usb.h
Merge remote-tracking branch 'remotes/kraxel/tags/opengl-20171017-pull-request' into...
[qemu.git] / tests / libqos / usb.h
1 #ifndef LIBQOS_USB_H
2 #define LIBQOS_USB_H
3
4 #include "libqos/pci-pc.h"
5
6 struct qhc {
7     QPCIDevice *dev;
8     QPCIBar bar;
9 };
10
11 void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
12                        uint32_t devfn, int bar);
13 void uhci_port_test(struct qhc *hc, int port, uint16_t expect);
14 void uhci_deinit(struct qhc *hc);
15
16 void usb_test_hotplug(const char *bus_name, const int port,
17                       void (*port_check)(void));
18 #endif
This page took 0.025216 seconds and 4 git commands to generate.