block/nfs: fix calculation of allocated file size
[qemu.git] / tests / libqos / usb.h
blob8fe56872b7a5f27059eb42419566b2c3f2c4c045
1 #ifndef LIBQOS_USB_H
2 #define LIBQOS_USB_H
4 #include "libqos/pci-pc.h"
6 struct qhc {
7 QPCIDevice *dev;
8 void *base;
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);
15 void usb_test_hotplug(const char *bus_name, const int port,
16 void (*port_check)(void));
17 #endif