usb-ehci: codestyle fixups
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
20d183b6f0
commit
aac882e7ce
@ -437,37 +437,37 @@ struct EHCIState {
|
|||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
static const char *ehci_state_names[] = {
|
static const char *ehci_state_names[] = {
|
||||||
[ EST_INACTIVE ] = "INACTIVE",
|
[EST_INACTIVE] = "INACTIVE",
|
||||||
[ EST_ACTIVE ] = "ACTIVE",
|
[EST_ACTIVE] = "ACTIVE",
|
||||||
[ EST_EXECUTING ] = "EXECUTING",
|
[EST_EXECUTING] = "EXECUTING",
|
||||||
[ EST_SLEEPING ] = "SLEEPING",
|
[EST_SLEEPING] = "SLEEPING",
|
||||||
[ EST_WAITLISTHEAD ] = "WAITLISTHEAD",
|
[EST_WAITLISTHEAD] = "WAITLISTHEAD",
|
||||||
[ EST_FETCHENTRY ] = "FETCH ENTRY",
|
[EST_FETCHENTRY] = "FETCH ENTRY",
|
||||||
[ EST_FETCHQH ] = "FETCH QH",
|
[EST_FETCHQH] = "FETCH QH",
|
||||||
[ EST_FETCHITD ] = "FETCH ITD",
|
[EST_FETCHITD] = "FETCH ITD",
|
||||||
[ EST_ADVANCEQUEUE ] = "ADVANCEQUEUE",
|
[EST_ADVANCEQUEUE] = "ADVANCEQUEUE",
|
||||||
[ EST_FETCHQTD ] = "FETCH QTD",
|
[EST_FETCHQTD] = "FETCH QTD",
|
||||||
[ EST_EXECUTE ] = "EXECUTE",
|
[EST_EXECUTE] = "EXECUTE",
|
||||||
[ EST_WRITEBACK ] = "WRITEBACK",
|
[EST_WRITEBACK] = "WRITEBACK",
|
||||||
[ EST_HORIZONTALQH ] = "HORIZONTALQH",
|
[EST_HORIZONTALQH] = "HORIZONTALQH",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *ehci_mmio_names[] = {
|
static const char *ehci_mmio_names[] = {
|
||||||
[ CAPLENGTH ] = "CAPLENGTH",
|
[CAPLENGTH] = "CAPLENGTH",
|
||||||
[ HCIVERSION ] = "HCIVERSION",
|
[HCIVERSION] = "HCIVERSION",
|
||||||
[ HCSPARAMS ] = "HCSPARAMS",
|
[HCSPARAMS] = "HCSPARAMS",
|
||||||
[ HCCPARAMS ] = "HCCPARAMS",
|
[HCCPARAMS] = "HCCPARAMS",
|
||||||
[ USBCMD ] = "USBCMD",
|
[USBCMD] = "USBCMD",
|
||||||
[ USBSTS ] = "USBSTS",
|
[USBSTS] = "USBSTS",
|
||||||
[ USBINTR ] = "USBINTR",
|
[USBINTR] = "USBINTR",
|
||||||
[ FRINDEX ] = "FRINDEX",
|
[FRINDEX] = "FRINDEX",
|
||||||
[ PERIODICLISTBASE ] = "P-LIST BASE",
|
[PERIODICLISTBASE] = "P-LIST BASE",
|
||||||
[ ASYNCLISTADDR ] = "A-LIST ADDR",
|
[ASYNCLISTADDR] = "A-LIST ADDR",
|
||||||
[ PORTSC_BEGIN ] = "PORTSC #0",
|
[PORTSC_BEGIN] = "PORTSC #0",
|
||||||
[ PORTSC_BEGIN + 4] = "PORTSC #1",
|
[PORTSC_BEGIN + 4] = "PORTSC #1",
|
||||||
[ PORTSC_BEGIN + 8] = "PORTSC #2",
|
[PORTSC_BEGIN + 8] = "PORTSC #2",
|
||||||
[ PORTSC_BEGIN + 12] = "PORTSC #3",
|
[PORTSC_BEGIN + 12] = "PORTSC #3",
|
||||||
[ CONFIGFLAG ] = "CONFIGFLAG",
|
[CONFIGFLAG] = "CONFIGFLAG",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *nr2str(const char **n, size_t len, uint32_t nr)
|
static const char *nr2str(const char **n, size_t len, uint32_t nr)
|
||||||
|
Loading…
Reference in New Issue
Block a user