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