Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / include / hw / usb / xhci.h
blob5c90e1373e5554991ad61aff0e4ab534fe64c218
1 #ifndef HW_USB_XHCI_H
2 #define HW_USB_XHCI_H
4 #define TYPE_XHCI "base-xhci"
5 #define TYPE_NEC_XHCI "nec-usb-xhci"
6 #define TYPE_QEMU_XHCI "qemu-xhci"
7 #define TYPE_XHCI_SYSBUS "sysbus-xhci"
9 #define XHCI_MAXPORTS_2 15
10 #define XHCI_MAXPORTS_3 15
12 #define XHCI_MAXPORTS (XHCI_MAXPORTS_2 + XHCI_MAXPORTS_3)
13 #define XHCI_MAXSLOTS 64
14 #define XHCI_MAXINTRS 16
16 /* must be power of 2 */
17 #define XHCI_LEN_REGS 0x4000
19 void xhci_sysbus_build_aml(Aml *scope, uint32_t mmio, unsigned int irq);
21 #endif