s390x/cpumodel: Fix feature property error API violations
[qemu/ar7.git] / tests / libqos / usb.h
blobeeced39a2f9f06a4e523548e43f2f18c3fe9d90d
1 #ifndef LIBQOS_USB_H
2 #define LIBQOS_USB_H
4 #include "libqos/pci-pc.h"
6 struct qhc {
7 QPCIDevice *dev;
8 QPCIBar bar;
9 };
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);
16 void usb_test_hotplug(QTestState *qts, const char *bus_name, const char *port,
17 void (*port_check)(void));
18 #endif