183698261SGuenter Roeck #ifndef HW_USB_HCD_UHCI_SYSBUS_H 283698261SGuenter Roeck #define HW_USB_HCD_UHCI_SYSBUS_H 383698261SGuenter Roeck 483698261SGuenter Roeck #include "hcd-uhci.h" 583698261SGuenter Roeck 683698261SGuenter Roeck #define TYPE_SYSBUS_UHCI "sysbus-uhci" 7*a829d749SGuenter Roeck #define TYPE_ASPEED_UHCI "aspeed-uhci" 883698261SGuenter Roeck 983698261SGuenter Roeck OBJECT_DECLARE_SIMPLE_TYPE(UHCISysBusState, SYSBUS_UHCI) 1083698261SGuenter Roeck 1183698261SGuenter Roeck struct UHCISysBusState { 1283698261SGuenter Roeck /*< private >*/ 1383698261SGuenter Roeck SysBusDevice parent_obj; 1483698261SGuenter Roeck /*< public >*/ 1583698261SGuenter Roeck UHCIState uhci; 1683698261SGuenter Roeck 1783698261SGuenter Roeck char *masterbus; 1883698261SGuenter Roeck uint32_t firstport; 1983698261SGuenter Roeck uint32_t frame_bandwidth; 2083698261SGuenter Roeck uint32_t maxframes; 2183698261SGuenter Roeck uint32_t num_ports; 2283698261SGuenter Roeck }; 2383698261SGuenter Roeck 24*a829d749SGuenter Roeck OBJECT_DECLARE_SIMPLE_TYPE(ASPEEDUHCIState, ASPEED_UHCI) 25*a829d749SGuenter Roeck 26*a829d749SGuenter Roeck struct ASPEEDUHCIState { 27*a829d749SGuenter Roeck /*< private >*/ 28*a829d749SGuenter Roeck UHCISysBusState parent_obj; 29*a829d749SGuenter Roeck /*< public >*/ 30*a829d749SGuenter Roeck 31*a829d749SGuenter Roeck MemoryRegion mem_aspeed; 32*a829d749SGuenter Roeck }; 33*a829d749SGuenter Roeck 3483698261SGuenter Roeck #endif /* HW_USB_HCD_UHCI_SYSBUS_H */ 35