2018-02-09 13:40:30 +03:00
|
|
|
#ifndef CHIPIDEA_H
|
|
|
|
#define CHIPIDEA_H
|
|
|
|
|
|
|
|
#include "hw/usb/hcd-ehci.h"
|
2020-09-03 23:43:22 +03:00
|
|
|
#include "qom/object.h"
|
2018-02-09 13:40:30 +03:00
|
|
|
|
2020-09-03 23:43:22 +03:00
|
|
|
struct ChipideaState {
|
2018-02-09 13:40:30 +03:00
|
|
|
/*< private >*/
|
|
|
|
EHCISysBusState parent_obj;
|
|
|
|
|
|
|
|
MemoryRegion iomem[3];
|
2020-09-03 23:43:22 +03:00
|
|
|
};
|
|
|
|
typedef struct ChipideaState ChipideaState;
|
2018-02-09 13:40:30 +03:00
|
|
|
|
|
|
|
#define TYPE_CHIPIDEA "usb-chipidea"
|
2020-09-01 00:07:33 +03:00
|
|
|
DECLARE_INSTANCE_CHECKER(ChipideaState, CHIPIDEA,
|
|
|
|
TYPE_CHIPIDEA)
|
2018-02-09 13:40:30 +03:00
|
|
|
|
|
|
|
#endif /* CHIPIDEA_H */
|