[PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation

Paul Zimmerman posted 6 patches 4 years ago
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test checkpatch failed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200329001705.15966-1-pauldzim@gmail.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Andrew Baumann <Andrew.Baumann@microsoft.com>
There is a newer version of this series
hw/arm/bcm2835_peripherals.c         |   38 +-
hw/misc/Makefile.objs                |    1 +
hw/misc/bcm2835_mphi.c               |  193 ++++
hw/usb/Kconfig                       |    5 +
hw/usb/Makefile.objs                 |    1 +
hw/usb/dev-storage.c                 |   15 +-
hw/usb/hcd-dwc2.c                    | 1301 ++++++++++++++++++++++++++
hw/usb/hcd-dwc2.h                    |  180 ++++
hw/usb/trace-events                  |   47 +
include/hw/arm/bcm2835_peripherals.h |    5 +-
include/hw/misc/bcm2835_mphi.h       |   50 +
include/hw/usb/dwc2-regs.h           |  895 ++++++++++++++++++
12 files changed, 2728 insertions(+), 3 deletions(-)
create mode 100644 hw/misc/bcm2835_mphi.c
create mode 100644 hw/usb/hcd-dwc2.c
create mode 100644 hw/usb/hcd-dwc2.h
create mode 100644 include/hw/misc/bcm2835_mphi.h
create mode 100644 include/hw/usb/dwc2-regs.h
[PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Posted by Paul Zimmerman 4 years ago
This patch series adds emulation for the dwc-hsotg USB controller,
which is used on the Raspberry Pi 3 and earlier, as well as a number
of other development boards. The main benefit for Raspberry Pi is that
this enables networking on these boards, since the network adapter is
attached via USB.

The emulation is working quite well, I have tested with USB network,
mass storage, mouse, keyboard, and tablet. I have tested with the dwc2
driver in the upstream Linux kernel, and with the dwc-otg driver in the
Raspbian kernel. One remaining issue is that USB redirection does not
work, I tried connecting to a USB stick on the host, but the device
generates babble errors and does not work. I will continue to work on
this issue.

The patch series also includes a very basic emulation of the MPHI
device on the Raspberry Pi SOC, which provides the FIQ interrupt that
is used by the dwc-otg driver in the Raspbian kernel. But that driver
still does not work in full FIQ mode, so it is necessary to add a
parameter to the kernel command line ("dwc_otg.fiq_fsm_enable=0") to
make it work.

I have used some on-line sources of information while developing
this emulation, including:

http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf
has a pretty complete description of the controller starting on
page 370.

https://sourceforge.net/p/wive-ng/wive-ng-mt/ci/master/tree/docs/DataSheets/RT3050_5x_V2.0_081408_0902.pdf
has a description of the controller registers starting on page
130.

Changes from v1:
  - Fixed checkpatch errors/warnings, except for dwc2-regs.h since
    that is a direct import from the Linux kernel.
  - Switched from debug printfs to tracepoints in hcd-dwc2.c, on the
    advice of Gerd. I just dropped the debug prints in bcm2835_mphi.c,
    since I didn't consider them very useful.
  - Updated a couple of the commit messages with more info.

Thanks for your time,
Paul

---

Paul Zimmerman (6):
  Add BCM2835 SOC MPHI emulation
  dwc-hsotg USB host controller register definitions
  dwc-hsotg USB host controller state definitions
  dwc-hsotg USB host controller emulation
  Add short-packet handling to usb-storage driver
  Wire in the dwc-hsotg USB host controller emulation

 hw/arm/bcm2835_peripherals.c         |   38 +-
 hw/misc/Makefile.objs                |    1 +
 hw/misc/bcm2835_mphi.c               |  193 ++++
 hw/usb/Kconfig                       |    5 +
 hw/usb/Makefile.objs                 |    1 +
 hw/usb/dev-storage.c                 |   15 +-
 hw/usb/hcd-dwc2.c                    | 1301 ++++++++++++++++++++++++++
 hw/usb/hcd-dwc2.h                    |  180 ++++
 hw/usb/trace-events                  |   47 +
 include/hw/arm/bcm2835_peripherals.h |    5 +-
 include/hw/misc/bcm2835_mphi.h       |   50 +
 include/hw/usb/dwc2-regs.h           |  895 ++++++++++++++++++
 12 files changed, 2728 insertions(+), 3 deletions(-)
 create mode 100644 hw/misc/bcm2835_mphi.c
 create mode 100644 hw/usb/hcd-dwc2.c
 create mode 100644 hw/usb/hcd-dwc2.h
 create mode 100644 include/hw/misc/bcm2835_mphi.h
 create mode 100644 include/hw/usb/dwc2-regs.h

-- 
2.17.1


Re: [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Posted by Gerd Hoffmann 4 years ago
On Sat, Mar 28, 2020 at 05:16:59PM -0700, Paul Zimmerman wrote:
> This patch series adds emulation for the dwc-hsotg USB controller,
> which is used on the Raspberry Pi 3 and earlier, as well as a number
> of other development boards. The main benefit for Raspberry Pi is that
> this enables networking on these boards, since the network adapter is
> attached via USB.
> 
> The emulation is working quite well, I have tested with USB network,
> mass storage, mouse, keyboard, and tablet. I have tested with the dwc2
> driver in the upstream Linux kernel, and with the dwc-otg driver in the
> Raspbian kernel. One remaining issue is that USB redirection does not
> work, I tried connecting to a USB stick on the host, but the device
> generates babble errors and does not work. I will continue to work on
> this issue.
> 
> The patch series also includes a very basic emulation of the MPHI
> device on the Raspberry Pi SOC, which provides the FIQ interrupt that
> is used by the dwc-otg driver in the Raspbian kernel. But that driver
> still does not work in full FIQ mode, so it is necessary to add a
> parameter to the kernel command line ("dwc_otg.fiq_fsm_enable=0") to
> make it work.
> 
> I have used some on-line sources of information while developing
> this emulation, including:
> 
> http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf
> has a pretty complete description of the controller starting on
> page 370.
> 
> https://sourceforge.net/p/wive-ng/wive-ng-mt/ci/master/tree/docs/DataSheets/RT3050_5x_V2.0_081408_0902.pdf
> has a description of the controller registers starting on page
> 130.
> 
> Changes from v1:
>   - Fixed checkpatch errors/warnings, except for dwc2-regs.h since
>     that is a direct import from the Linux kernel.
>   - Switched from debug printfs to tracepoints in hcd-dwc2.c, on the
>     advice of Gerd. I just dropped the debug prints in bcm2835_mphi.c,
>     since I didn't consider them very useful.
>   - Updated a couple of the commit messages with more info.
> 
> Thanks for your time,
> Paul

Looks good to me.  We are in 5.0 freeze now though, so this has to wait
until the tree is open for 5.1 development.

cheers,
  Gerd


Re: [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Posted by Philippe Mathieu-Daudé 4 years ago
On 3/31/20 11:28 AM, Gerd Hoffmann wrote:
> On Sat, Mar 28, 2020 at 05:16:59PM -0700, Paul Zimmerman wrote:
>> This patch series adds emulation for the dwc-hsotg USB controller,
>> which is used on the Raspberry Pi 3 and earlier, as well as a number
>> of other development boards. The main benefit for Raspberry Pi is that
>> this enables networking on these boards, since the network adapter is
>> attached via USB.
>>
>> The emulation is working quite well, I have tested with USB network,
>> mass storage, mouse, keyboard, and tablet. I have tested with the dwc2
>> driver in the upstream Linux kernel, and with the dwc-otg driver in the
>> Raspbian kernel. One remaining issue is that USB redirection does not
>> work, I tried connecting to a USB stick on the host, but the device
>> generates babble errors and does not work. I will continue to work on
>> this issue.
>>
>> The patch series also includes a very basic emulation of the MPHI
>> device on the Raspberry Pi SOC, which provides the FIQ interrupt that
>> is used by the dwc-otg driver in the Raspbian kernel. But that driver
>> still does not work in full FIQ mode, so it is necessary to add a
>> parameter to the kernel command line ("dwc_otg.fiq_fsm_enable=0") to
>> make it work.
>>
>> I have used some on-line sources of information while developing
>> this emulation, including:
>>
>> http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf
>> has a pretty complete description of the controller starting on
>> page 370.
>>
>> https://sourceforge.net/p/wive-ng/wive-ng-mt/ci/master/tree/docs/DataSheets/RT3050_5x_V2.0_081408_0902.pdf
>> has a description of the controller registers starting on page
>> 130.
>>
>> Changes from v1:
>>    - Fixed checkpatch errors/warnings, except for dwc2-regs.h since
>>      that is a direct import from the Linux kernel.
>>    - Switched from debug printfs to tracepoints in hcd-dwc2.c, on the
>>      advice of Gerd. I just dropped the debug prints in bcm2835_mphi.c,
>>      since I didn't consider them very useful.
>>    - Updated a couple of the commit messages with more info.
>>
>> Thanks for your time,
>> Paul
> 
> Looks good to me.  We are in 5.0 freeze now though, so this has to wait
> until the tree is open for 5.1 development.

Plenty of time to complete this series with an acceptance test using 
your device :)

As a starting point you can look at do_test_arm_raspi2() in 
tests/acceptance/boot_linux_console.py.

Regards,

Phil.


Re: [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Posted by Paul Zimmerman 4 years ago
On Tue, Mar 31, 2020 at 4:16 AM Philippe Mathieu-Daudé <philmd@redhat.com>
wrote:

> On 3/31/20 11:28 AM, Gerd Hoffmann wrote:
> > On Sat, Mar 28, 2020 at 05:16:59PM -0700, Paul Zimmerman wrote:
> >> This patch series adds emulation for the dwc-hsotg USB controller,
> >> which is used on the Raspberry Pi 3 and earlier, as well as a number
> >> of other development boards. The main benefit for Raspberry Pi is that
> >> this enables networking on these boards, since the network adapter is
> >> attached via USB.
> >>
> >> The emulation is working quite well, I have tested with USB network,
> >> mass storage, mouse, keyboard, and tablet. I have tested with the dwc2
> >> driver in the upstream Linux kernel, and with the dwc-otg driver in the
> >> Raspbian kernel. One remaining issue is that USB redirection does not
> >> work, I tried connecting to a USB stick on the host, but the device
> >> generates babble errors and does not work. I will continue to work on
> >> this issue.
> >>
> >> The patch series also includes a very basic emulation of the MPHI
> >> device on the Raspberry Pi SOC, which provides the FIQ interrupt that
> >> is used by the dwc-otg driver in the Raspbian kernel. But that driver
> >> still does not work in full FIQ mode, so it is necessary to add a
> >> parameter to the kernel command line ("dwc_otg.fiq_fsm_enable=0") to
> >> make it work.
> >>
> >> I have used some on-line sources of information while developing
> >> this emulation, including:
> >>
> >> http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf
> >> has a pretty complete description of the controller starting on
> >> page 370.
> >>
> >>
> https://sourceforge.net/p/wive-ng/wive-ng-mt/ci/master/tree/docs/DataSheets/RT3050_5x_V2.0_081408_0902.pdf
> >> has a description of the controller registers starting on page
> >> 130.
> >>
> >> Changes from v1:
> >>    - Fixed checkpatch errors/warnings, except for dwc2-regs.h since
> >>      that is a direct import from the Linux kernel.
> >>    - Switched from debug printfs to tracepoints in hcd-dwc2.c, on the
> >>      advice of Gerd. I just dropped the debug prints in bcm2835_mphi.c,
> >>      since I didn't consider them very useful.
> >>    - Updated a couple of the commit messages with more info.
> >>
> >> Thanks for your time,
> >> Paul
> >
> > Looks good to me.  We are in 5.0 freeze now though, so this has to wait
> > until the tree is open for 5.1 development.
>
> Plenty of time to complete this series with an acceptance test using
> your device :)
>
> As a starting point you can look at do_test_arm_raspi2() in
> tests/acceptance/boot_linux_console.py.
>
> Regards,
>
> Phil.
>
>
 Ok Phil, I will look into that.

Thanks,
Paul
Re: [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Posted by no-reply@patchew.org 4 years ago
Patchew URL: https://patchew.org/QEMU/20200329001705.15966-1-pauldzim@gmail.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation
Message-id: 20200329001705.15966-1-pauldzim@gmail.com
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
814b833 Wire in the dwc-hsotg USB host controller emulation
6b74a73 Add short-packet handling to usb-storage driver
8f3ea22 dwc-hsotg USB host controller emulation
dfe2b0d dwc-hsotg USB host controller state definitions
6c3ebf7 dwc-hsotg USB host controller register definitions
55c66de Add BCM2835 SOC MPHI emulation

=== OUTPUT BEGIN ===
1/6 Checking commit 55c66de0e143 (Add BCM2835 SOC MPHI emulation)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#62: 
new file mode 100644

total: 0 errors, 1 warnings, 293 lines checked

Patch 1/6 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
2/6 Checking commit 6c3ebf707965 (dwc-hsotg USB host controller register definitions)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#16: 
new file mode 100644

WARNING: architecture specific defines should be avoided
#58: FILE: include/hw/usb/dwc2-regs.h:38:
+#ifndef __DWC2_HW_H__

ERROR: code indent should never use tabs
#61: FILE: include/hw/usb/dwc2-regs.h:41:
+#define HSOTG_REG(x)^I(x)$

ERROR: code indent should never use tabs
#63: FILE: include/hw/usb/dwc2-regs.h:43:
+#define GOTGCTL^I^I^I^IHSOTG_REG(0x000)$

ERROR: code indent should never use tabs
#64: FILE: include/hw/usb/dwc2-regs.h:44:
+#define GOTGCTL_CHIRPEN^I^I^IBIT(27)$

ERROR: code indent should never use tabs
#65: FILE: include/hw/usb/dwc2-regs.h:45:
+#define GOTGCTL_MULT_VALID_BC_MASK^I(0x1f << 22)$

ERROR: code indent should never use tabs
#66: FILE: include/hw/usb/dwc2-regs.h:46:
+#define GOTGCTL_MULT_VALID_BC_SHIFT^I22$

ERROR: code indent should never use tabs
#67: FILE: include/hw/usb/dwc2-regs.h:47:
+#define GOTGCTL_OTGVER^I^I^IBIT(20)$

ERROR: code indent should never use tabs
#68: FILE: include/hw/usb/dwc2-regs.h:48:
+#define GOTGCTL_BSESVLD^I^I^IBIT(19)$

ERROR: code indent should never use tabs
#69: FILE: include/hw/usb/dwc2-regs.h:49:
+#define GOTGCTL_ASESVLD^I^I^IBIT(18)$

ERROR: code indent should never use tabs
#70: FILE: include/hw/usb/dwc2-regs.h:50:
+#define GOTGCTL_DBNC_SHORT^I^IBIT(17)$

ERROR: code indent should never use tabs
#71: FILE: include/hw/usb/dwc2-regs.h:51:
+#define GOTGCTL_CONID_B^I^I^IBIT(16)$

ERROR: code indent should never use tabs
#72: FILE: include/hw/usb/dwc2-regs.h:52:
+#define GOTGCTL_DBNCE_FLTR_BYPASS^IBIT(15)$

ERROR: code indent should never use tabs
#73: FILE: include/hw/usb/dwc2-regs.h:53:
+#define GOTGCTL_DEVHNPEN^I^IBIT(11)$

ERROR: code indent should never use tabs
#74: FILE: include/hw/usb/dwc2-regs.h:54:
+#define GOTGCTL_HSTSETHNPEN^I^IBIT(10)$

ERROR: code indent should never use tabs
#75: FILE: include/hw/usb/dwc2-regs.h:55:
+#define GOTGCTL_HNPREQ^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#76: FILE: include/hw/usb/dwc2-regs.h:56:
+#define GOTGCTL_HSTNEGSCS^I^IBIT(8)$

ERROR: code indent should never use tabs
#77: FILE: include/hw/usb/dwc2-regs.h:57:
+#define GOTGCTL_SESREQ^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#78: FILE: include/hw/usb/dwc2-regs.h:58:
+#define GOTGCTL_SESREQSCS^I^IBIT(0)$

ERROR: code indent should never use tabs
#80: FILE: include/hw/usb/dwc2-regs.h:60:
+#define GOTGINT^I^I^I^IHSOTG_REG(0x004)$

ERROR: code indent should never use tabs
#81: FILE: include/hw/usb/dwc2-regs.h:61:
+#define GOTGINT_DBNCE_DONE^I^IBIT(19)$

ERROR: code indent should never use tabs
#82: FILE: include/hw/usb/dwc2-regs.h:62:
+#define GOTGINT_A_DEV_TOUT_CHG^I^IBIT(18)$

ERROR: code indent should never use tabs
#83: FILE: include/hw/usb/dwc2-regs.h:63:
+#define GOTGINT_HST_NEG_DET^I^IBIT(17)$

ERROR: code indent should never use tabs
#84: FILE: include/hw/usb/dwc2-regs.h:64:
+#define GOTGINT_HST_NEG_SUC_STS_CHNG^IBIT(9)$

ERROR: code indent should never use tabs
#85: FILE: include/hw/usb/dwc2-regs.h:65:
+#define GOTGINT_SES_REQ_SUC_STS_CHNG^IBIT(8)$

ERROR: code indent should never use tabs
#86: FILE: include/hw/usb/dwc2-regs.h:66:
+#define GOTGINT_SES_END_DET^I^IBIT(2)$

ERROR: code indent should never use tabs
#88: FILE: include/hw/usb/dwc2-regs.h:68:
+#define GAHBCFG^I^I^I^IHSOTG_REG(0x008)$

ERROR: code indent should never use tabs
#89: FILE: include/hw/usb/dwc2-regs.h:69:
+#define GAHBCFG_AHB_SINGLE^I^IBIT(23)$

ERROR: code indent should never use tabs
#90: FILE: include/hw/usb/dwc2-regs.h:70:
+#define GAHBCFG_NOTI_ALL_DMA_WRIT^IBIT(22)$

ERROR: code indent should never use tabs
#91: FILE: include/hw/usb/dwc2-regs.h:71:
+#define GAHBCFG_REM_MEM_SUPP^I^IBIT(21)$

ERROR: code indent should never use tabs
#92: FILE: include/hw/usb/dwc2-regs.h:72:
+#define GAHBCFG_P_TXF_EMP_LVL^I^IBIT(8)$

ERROR: code indent should never use tabs
#93: FILE: include/hw/usb/dwc2-regs.h:73:
+#define GAHBCFG_NP_TXF_EMP_LVL^I^IBIT(7)$

ERROR: code indent should never use tabs
#94: FILE: include/hw/usb/dwc2-regs.h:74:
+#define GAHBCFG_DMA_EN^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#95: FILE: include/hw/usb/dwc2-regs.h:75:
+#define GAHBCFG_HBSTLEN_MASK^I^I(0xf << 1)$

ERROR: code indent should never use tabs
#96: FILE: include/hw/usb/dwc2-regs.h:76:
+#define GAHBCFG_HBSTLEN_SHIFT^I^I1$

ERROR: code indent should never use tabs
#97: FILE: include/hw/usb/dwc2-regs.h:77:
+#define GAHBCFG_HBSTLEN_SINGLE^I^I0$

ERROR: code indent should never use tabs
#98: FILE: include/hw/usb/dwc2-regs.h:78:
+#define GAHBCFG_HBSTLEN_INCR^I^I1$

ERROR: code indent should never use tabs
#99: FILE: include/hw/usb/dwc2-regs.h:79:
+#define GAHBCFG_HBSTLEN_INCR4^I^I3$

ERROR: code indent should never use tabs
#100: FILE: include/hw/usb/dwc2-regs.h:80:
+#define GAHBCFG_HBSTLEN_INCR8^I^I5$

ERROR: code indent should never use tabs
#101: FILE: include/hw/usb/dwc2-regs.h:81:
+#define GAHBCFG_HBSTLEN_INCR16^I^I7$

ERROR: code indent should never use tabs
#102: FILE: include/hw/usb/dwc2-regs.h:82:
+#define GAHBCFG_GLBL_INTR_EN^I^IBIT(0)$

ERROR: code indent should never use tabs
#103: FILE: include/hw/usb/dwc2-regs.h:83:
+#define GAHBCFG_CTRL_MASK^I^I(GAHBCFG_P_TXF_EMP_LVL | \$

ERROR: code indent should never use tabs
#104: FILE: include/hw/usb/dwc2-regs.h:84:
+^I^I^I^I^I GAHBCFG_NP_TXF_EMP_LVL | \$

ERROR: code indent should never use tabs
#105: FILE: include/hw/usb/dwc2-regs.h:85:
+^I^I^I^I^I GAHBCFG_DMA_EN | \$

ERROR: code indent should never use tabs
#106: FILE: include/hw/usb/dwc2-regs.h:86:
+^I^I^I^I^I GAHBCFG_GLBL_INTR_EN)$

ERROR: code indent should never use tabs
#108: FILE: include/hw/usb/dwc2-regs.h:88:
+#define GUSBCFG^I^I^I^IHSOTG_REG(0x00C)$

ERROR: code indent should never use tabs
#109: FILE: include/hw/usb/dwc2-regs.h:89:
+#define GUSBCFG_FORCEDEVMODE^I^IBIT(30)$

ERROR: code indent should never use tabs
#110: FILE: include/hw/usb/dwc2-regs.h:90:
+#define GUSBCFG_FORCEHOSTMODE^I^IBIT(29)$

ERROR: code indent should never use tabs
#111: FILE: include/hw/usb/dwc2-regs.h:91:
+#define GUSBCFG_TXENDDELAY^I^IBIT(28)$

ERROR: code indent should never use tabs
#112: FILE: include/hw/usb/dwc2-regs.h:92:
+#define GUSBCFG_ICTRAFFICPULLREMOVE^IBIT(27)$

ERROR: code indent should never use tabs
#113: FILE: include/hw/usb/dwc2-regs.h:93:
+#define GUSBCFG_ICUSBCAP^I^IBIT(26)$

ERROR: code indent should never use tabs
#114: FILE: include/hw/usb/dwc2-regs.h:94:
+#define GUSBCFG_ULPI_INT_PROT_DIS^IBIT(25)$

ERROR: code indent should never use tabs
#115: FILE: include/hw/usb/dwc2-regs.h:95:
+#define GUSBCFG_INDICATORPASSTHROUGH^IBIT(24)$

ERROR: code indent should never use tabs
#116: FILE: include/hw/usb/dwc2-regs.h:96:
+#define GUSBCFG_INDICATORCOMPLEMENT^IBIT(23)$

ERROR: code indent should never use tabs
#117: FILE: include/hw/usb/dwc2-regs.h:97:
+#define GUSBCFG_TERMSELDLPULSE^I^IBIT(22)$

ERROR: code indent should never use tabs
#118: FILE: include/hw/usb/dwc2-regs.h:98:
+#define GUSBCFG_ULPI_INT_VBUS_IND^IBIT(21)$

ERROR: code indent should never use tabs
#119: FILE: include/hw/usb/dwc2-regs.h:99:
+#define GUSBCFG_ULPI_EXT_VBUS_DRV^IBIT(20)$

ERROR: code indent should never use tabs
#120: FILE: include/hw/usb/dwc2-regs.h:100:
+#define GUSBCFG_ULPI_CLK_SUSP_M^I^IBIT(19)$

ERROR: code indent should never use tabs
#121: FILE: include/hw/usb/dwc2-regs.h:101:
+#define GUSBCFG_ULPI_AUTO_RES^I^IBIT(18)$

ERROR: code indent should never use tabs
#122: FILE: include/hw/usb/dwc2-regs.h:102:
+#define GUSBCFG_ULPI_FS_LS^I^IBIT(17)$

ERROR: code indent should never use tabs
#123: FILE: include/hw/usb/dwc2-regs.h:103:
+#define GUSBCFG_OTG_UTMI_FS_SEL^I^IBIT(16)$

ERROR: code indent should never use tabs
#124: FILE: include/hw/usb/dwc2-regs.h:104:
+#define GUSBCFG_PHY_LP_CLK_SEL^I^IBIT(15)$

ERROR: code indent should never use tabs
#125: FILE: include/hw/usb/dwc2-regs.h:105:
+#define GUSBCFG_USBTRDTIM_MASK^I^I(0xf << 10)$

ERROR: code indent should never use tabs
#126: FILE: include/hw/usb/dwc2-regs.h:106:
+#define GUSBCFG_USBTRDTIM_SHIFT^I^I10$

ERROR: code indent should never use tabs
#127: FILE: include/hw/usb/dwc2-regs.h:107:
+#define GUSBCFG_HNPCAP^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#128: FILE: include/hw/usb/dwc2-regs.h:108:
+#define GUSBCFG_SRPCAP^I^I^IBIT(8)$

ERROR: code indent should never use tabs
#129: FILE: include/hw/usb/dwc2-regs.h:109:
+#define GUSBCFG_DDRSEL^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#130: FILE: include/hw/usb/dwc2-regs.h:110:
+#define GUSBCFG_PHYSEL^I^I^IBIT(6)$

ERROR: code indent should never use tabs
#131: FILE: include/hw/usb/dwc2-regs.h:111:
+#define GUSBCFG_FSINTF^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#132: FILE: include/hw/usb/dwc2-regs.h:112:
+#define GUSBCFG_ULPI_UTMI_SEL^I^IBIT(4)$

ERROR: code indent should never use tabs
#133: FILE: include/hw/usb/dwc2-regs.h:113:
+#define GUSBCFG_PHYIF16^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#134: FILE: include/hw/usb/dwc2-regs.h:114:
+#define GUSBCFG_PHYIF8^I^I^I(0 << 3)$

ERROR: code indent should never use tabs
#135: FILE: include/hw/usb/dwc2-regs.h:115:
+#define GUSBCFG_TOUTCAL_MASK^I^I(0x7 << 0)$

ERROR: code indent should never use tabs
#136: FILE: include/hw/usb/dwc2-regs.h:116:
+#define GUSBCFG_TOUTCAL_SHIFT^I^I0$

ERROR: code indent should never use tabs
#137: FILE: include/hw/usb/dwc2-regs.h:117:
+#define GUSBCFG_TOUTCAL_LIMIT^I^I0x7$

ERROR: code indent should never use tabs
#138: FILE: include/hw/usb/dwc2-regs.h:118:
+#define GUSBCFG_TOUTCAL(_x)^I^I((_x) << 0)$

ERROR: code indent should never use tabs
#140: FILE: include/hw/usb/dwc2-regs.h:120:
+#define GRSTCTL^I^I^I^IHSOTG_REG(0x010)$

ERROR: code indent should never use tabs
#141: FILE: include/hw/usb/dwc2-regs.h:121:
+#define GRSTCTL_AHBIDLE^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#142: FILE: include/hw/usb/dwc2-regs.h:122:
+#define GRSTCTL_DMAREQ^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#143: FILE: include/hw/usb/dwc2-regs.h:123:
+#define GRSTCTL_TXFNUM_MASK^I^I(0x1f << 6)$

ERROR: code indent should never use tabs
#144: FILE: include/hw/usb/dwc2-regs.h:124:
+#define GRSTCTL_TXFNUM_SHIFT^I^I6$

ERROR: code indent should never use tabs
#145: FILE: include/hw/usb/dwc2-regs.h:125:
+#define GRSTCTL_TXFNUM_LIMIT^I^I0x1f$

ERROR: code indent should never use tabs
#146: FILE: include/hw/usb/dwc2-regs.h:126:
+#define GRSTCTL_TXFNUM(_x)^I^I((_x) << 6)$

ERROR: code indent should never use tabs
#147: FILE: include/hw/usb/dwc2-regs.h:127:
+#define GRSTCTL_TXFFLSH^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#148: FILE: include/hw/usb/dwc2-regs.h:128:
+#define GRSTCTL_RXFFLSH^I^I^IBIT(4)$

ERROR: code indent should never use tabs
#149: FILE: include/hw/usb/dwc2-regs.h:129:
+#define GRSTCTL_IN_TKNQ_FLSH^I^IBIT(3)$

ERROR: code indent should never use tabs
#150: FILE: include/hw/usb/dwc2-regs.h:130:
+#define GRSTCTL_FRMCNTRRST^I^IBIT(2)$

ERROR: code indent should never use tabs
#151: FILE: include/hw/usb/dwc2-regs.h:131:
+#define GRSTCTL_HSFTRST^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#152: FILE: include/hw/usb/dwc2-regs.h:132:
+#define GRSTCTL_CSFTRST^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#154: FILE: include/hw/usb/dwc2-regs.h:134:
+#define GINTSTS^I^I^I^IHSOTG_REG(0x014)$

ERROR: code indent should never use tabs
#155: FILE: include/hw/usb/dwc2-regs.h:135:
+#define GINTMSK^I^I^I^IHSOTG_REG(0x018)$

ERROR: code indent should never use tabs
#156: FILE: include/hw/usb/dwc2-regs.h:136:
+#define GINTSTS_WKUPINT^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#157: FILE: include/hw/usb/dwc2-regs.h:137:
+#define GINTSTS_SESSREQINT^I^IBIT(30)$

ERROR: code indent should never use tabs
#158: FILE: include/hw/usb/dwc2-regs.h:138:
+#define GINTSTS_DISCONNINT^I^IBIT(29)$

ERROR: code indent should never use tabs
#159: FILE: include/hw/usb/dwc2-regs.h:139:
+#define GINTSTS_CONIDSTSCHNG^I^IBIT(28)$

ERROR: code indent should never use tabs
#160: FILE: include/hw/usb/dwc2-regs.h:140:
+#define GINTSTS_LPMTRANRCVD^I^IBIT(27)$

ERROR: code indent should never use tabs
#161: FILE: include/hw/usb/dwc2-regs.h:141:
+#define GINTSTS_PTXFEMP^I^I^IBIT(26)$

ERROR: code indent should never use tabs
#162: FILE: include/hw/usb/dwc2-regs.h:142:
+#define GINTSTS_HCHINT^I^I^IBIT(25)$

ERROR: code indent should never use tabs
#163: FILE: include/hw/usb/dwc2-regs.h:143:
+#define GINTSTS_PRTINT^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#164: FILE: include/hw/usb/dwc2-regs.h:144:
+#define GINTSTS_RESETDET^I^IBIT(23)$

ERROR: code indent should never use tabs
#165: FILE: include/hw/usb/dwc2-regs.h:145:
+#define GINTSTS_FET_SUSP^I^IBIT(22)$

ERROR: code indent should never use tabs
#166: FILE: include/hw/usb/dwc2-regs.h:146:
+#define GINTSTS_INCOMPL_IP^I^IBIT(21)$

ERROR: code indent should never use tabs
#167: FILE: include/hw/usb/dwc2-regs.h:147:
+#define GINTSTS_INCOMPL_SOOUT^I^IBIT(21)$

ERROR: code indent should never use tabs
#168: FILE: include/hw/usb/dwc2-regs.h:148:
+#define GINTSTS_INCOMPL_SOIN^I^IBIT(20)$

ERROR: code indent should never use tabs
#169: FILE: include/hw/usb/dwc2-regs.h:149:
+#define GINTSTS_OEPINT^I^I^IBIT(19)$

ERROR: code indent should never use tabs
#170: FILE: include/hw/usb/dwc2-regs.h:150:
+#define GINTSTS_IEPINT^I^I^IBIT(18)$

ERROR: code indent should never use tabs
#171: FILE: include/hw/usb/dwc2-regs.h:151:
+#define GINTSTS_EPMIS^I^I^IBIT(17)$

ERROR: code indent should never use tabs
#172: FILE: include/hw/usb/dwc2-regs.h:152:
+#define GINTSTS_RESTOREDONE^I^IBIT(16)$

ERROR: code indent should never use tabs
#173: FILE: include/hw/usb/dwc2-regs.h:153:
+#define GINTSTS_EOPF^I^I^IBIT(15)$

ERROR: code indent should never use tabs
#174: FILE: include/hw/usb/dwc2-regs.h:154:
+#define GINTSTS_ISOUTDROP^I^IBIT(14)$

ERROR: code indent should never use tabs
#175: FILE: include/hw/usb/dwc2-regs.h:155:
+#define GINTSTS_ENUMDONE^I^IBIT(13)$

ERROR: code indent should never use tabs
#176: FILE: include/hw/usb/dwc2-regs.h:156:
+#define GINTSTS_USBRST^I^I^IBIT(12)$

ERROR: code indent should never use tabs
#177: FILE: include/hw/usb/dwc2-regs.h:157:
+#define GINTSTS_USBSUSP^I^I^IBIT(11)$

ERROR: code indent should never use tabs
#178: FILE: include/hw/usb/dwc2-regs.h:158:
+#define GINTSTS_ERLYSUSP^I^IBIT(10)$

ERROR: code indent should never use tabs
#179: FILE: include/hw/usb/dwc2-regs.h:159:
+#define GINTSTS_I2CINT^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#180: FILE: include/hw/usb/dwc2-regs.h:160:
+#define GINTSTS_ULPI_CK_INT^I^IBIT(8)$

ERROR: code indent should never use tabs
#181: FILE: include/hw/usb/dwc2-regs.h:161:
+#define GINTSTS_GOUTNAKEFF^I^IBIT(7)$

ERROR: code indent should never use tabs
#182: FILE: include/hw/usb/dwc2-regs.h:162:
+#define GINTSTS_GINNAKEFF^I^IBIT(6)$

ERROR: code indent should never use tabs
#183: FILE: include/hw/usb/dwc2-regs.h:163:
+#define GINTSTS_NPTXFEMP^I^IBIT(5)$

ERROR: code indent should never use tabs
#184: FILE: include/hw/usb/dwc2-regs.h:164:
+#define GINTSTS_RXFLVL^I^I^IBIT(4)$

ERROR: code indent should never use tabs
#185: FILE: include/hw/usb/dwc2-regs.h:165:
+#define GINTSTS_SOF^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#186: FILE: include/hw/usb/dwc2-regs.h:166:
+#define GINTSTS_OTGINT^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#187: FILE: include/hw/usb/dwc2-regs.h:167:
+#define GINTSTS_MODEMIS^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#188: FILE: include/hw/usb/dwc2-regs.h:168:
+#define GINTSTS_CURMODE_HOST^I^IBIT(0)$

ERROR: code indent should never use tabs
#190: FILE: include/hw/usb/dwc2-regs.h:170:
+#define GRXSTSR^I^I^I^IHSOTG_REG(0x01C)$

ERROR: code indent should never use tabs
#191: FILE: include/hw/usb/dwc2-regs.h:171:
+#define GRXSTSP^I^I^I^IHSOTG_REG(0x020)$

ERROR: code indent should never use tabs
#192: FILE: include/hw/usb/dwc2-regs.h:172:
+#define GRXSTS_FN_MASK^I^I^I(0x7f << 25)$

ERROR: code indent should never use tabs
#193: FILE: include/hw/usb/dwc2-regs.h:173:
+#define GRXSTS_FN_SHIFT^I^I^I25$

ERROR: code indent should never use tabs
#194: FILE: include/hw/usb/dwc2-regs.h:174:
+#define GRXSTS_PKTSTS_MASK^I^I(0xf << 17)$

ERROR: code indent should never use tabs
#195: FILE: include/hw/usb/dwc2-regs.h:175:
+#define GRXSTS_PKTSTS_SHIFT^I^I17$

ERROR: code indent should never use tabs
#196: FILE: include/hw/usb/dwc2-regs.h:176:
+#define GRXSTS_PKTSTS_GLOBALOUTNAK^I1$

ERROR: code indent should never use tabs
#197: FILE: include/hw/usb/dwc2-regs.h:177:
+#define GRXSTS_PKTSTS_OUTRX^I^I2$

ERROR: code indent should never use tabs
#198: FILE: include/hw/usb/dwc2-regs.h:178:
+#define GRXSTS_PKTSTS_HCHIN^I^I2$

ERROR: code indent should never use tabs
#199: FILE: include/hw/usb/dwc2-regs.h:179:
+#define GRXSTS_PKTSTS_OUTDONE^I^I3$

ERROR: code indent should never use tabs
#200: FILE: include/hw/usb/dwc2-regs.h:180:
+#define GRXSTS_PKTSTS_HCHIN_XFER_COMP^I3$

ERROR: code indent should never use tabs
#201: FILE: include/hw/usb/dwc2-regs.h:181:
+#define GRXSTS_PKTSTS_SETUPDONE^I^I4$

ERROR: code indent should never use tabs
#202: FILE: include/hw/usb/dwc2-regs.h:182:
+#define GRXSTS_PKTSTS_DATATOGGLEERR^I5$

ERROR: code indent should never use tabs
#203: FILE: include/hw/usb/dwc2-regs.h:183:
+#define GRXSTS_PKTSTS_SETUPRX^I^I6$

ERROR: code indent should never use tabs
#204: FILE: include/hw/usb/dwc2-regs.h:184:
+#define GRXSTS_PKTSTS_HCHHALTED^I^I7$

ERROR: code indent should never use tabs
#205: FILE: include/hw/usb/dwc2-regs.h:185:
+#define GRXSTS_HCHNUM_MASK^I^I(0xf << 0)$

ERROR: code indent should never use tabs
#206: FILE: include/hw/usb/dwc2-regs.h:186:
+#define GRXSTS_HCHNUM_SHIFT^I^I0$

ERROR: code indent should never use tabs
#207: FILE: include/hw/usb/dwc2-regs.h:187:
+#define GRXSTS_DPID_MASK^I^I(0x3 << 15)$

ERROR: code indent should never use tabs
#208: FILE: include/hw/usb/dwc2-regs.h:188:
+#define GRXSTS_DPID_SHIFT^I^I15$

ERROR: code indent should never use tabs
#209: FILE: include/hw/usb/dwc2-regs.h:189:
+#define GRXSTS_BYTECNT_MASK^I^I(0x7ff << 4)$

ERROR: code indent should never use tabs
#210: FILE: include/hw/usb/dwc2-regs.h:190:
+#define GRXSTS_BYTECNT_SHIFT^I^I4$

ERROR: code indent should never use tabs
#211: FILE: include/hw/usb/dwc2-regs.h:191:
+#define GRXSTS_EPNUM_MASK^I^I(0xf << 0)$

ERROR: code indent should never use tabs
#212: FILE: include/hw/usb/dwc2-regs.h:192:
+#define GRXSTS_EPNUM_SHIFT^I^I0$

ERROR: code indent should never use tabs
#214: FILE: include/hw/usb/dwc2-regs.h:194:
+#define GRXFSIZ^I^I^I^IHSOTG_REG(0x024)$

ERROR: code indent should never use tabs
#215: FILE: include/hw/usb/dwc2-regs.h:195:
+#define GRXFSIZ_DEPTH_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#216: FILE: include/hw/usb/dwc2-regs.h:196:
+#define GRXFSIZ_DEPTH_SHIFT^I^I0$

ERROR: code indent should never use tabs
#218: FILE: include/hw/usb/dwc2-regs.h:198:
+#define GNPTXFSIZ^I^I^IHSOTG_REG(0x028)$

ERROR: code indent should never use tabs
#221: FILE: include/hw/usb/dwc2-regs.h:201:
+#define GNPTXSTS^I^I^IHSOTG_REG(0x02C)$

ERROR: code indent should never use tabs
#222: FILE: include/hw/usb/dwc2-regs.h:202:
+#define GNPTXSTS_NP_TXQ_TOP_MASK^I^I(0x7f << 24)$

ERROR: code indent should never use tabs
#223: FILE: include/hw/usb/dwc2-regs.h:203:
+#define GNPTXSTS_NP_TXQ_TOP_SHIFT^I^I24$

ERROR: code indent should never use tabs
#224: FILE: include/hw/usb/dwc2-regs.h:204:
+#define GNPTXSTS_NP_TXQ_SPC_AVAIL_MASK^I^I(0xff << 16)$

ERROR: code indent should never use tabs
#225: FILE: include/hw/usb/dwc2-regs.h:205:
+#define GNPTXSTS_NP_TXQ_SPC_AVAIL_SHIFT^I^I16$

ERROR: code indent should never use tabs
#226: FILE: include/hw/usb/dwc2-regs.h:206:
+#define GNPTXSTS_NP_TXQ_SPC_AVAIL_GET(_v)^I(((_v) >> 16) & 0xff)$

ERROR: code indent should never use tabs
#227: FILE: include/hw/usb/dwc2-regs.h:207:
+#define GNPTXSTS_NP_TXF_SPC_AVAIL_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#228: FILE: include/hw/usb/dwc2-regs.h:208:
+#define GNPTXSTS_NP_TXF_SPC_AVAIL_SHIFT^I^I0$

ERROR: code indent should never use tabs
#229: FILE: include/hw/usb/dwc2-regs.h:209:
+#define GNPTXSTS_NP_TXF_SPC_AVAIL_GET(_v)^I(((_v) >> 0) & 0xffff)$

ERROR: code indent should never use tabs
#231: FILE: include/hw/usb/dwc2-regs.h:211:
+#define GI2CCTL^I^I^I^IHSOTG_REG(0x0030)$

ERROR: code indent should never use tabs
#232: FILE: include/hw/usb/dwc2-regs.h:212:
+#define GI2CCTL_BSYDNE^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#233: FILE: include/hw/usb/dwc2-regs.h:213:
+#define GI2CCTL_RW^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#234: FILE: include/hw/usb/dwc2-regs.h:214:
+#define GI2CCTL_I2CDATSE0^I^IBIT(28)$

ERROR: code indent should never use tabs
#235: FILE: include/hw/usb/dwc2-regs.h:215:
+#define GI2CCTL_I2CDEVADDR_MASK^I^I(0x3 << 26)$

ERROR: code indent should never use tabs
#236: FILE: include/hw/usb/dwc2-regs.h:216:
+#define GI2CCTL_I2CDEVADDR_SHIFT^I26$

ERROR: code indent should never use tabs
#237: FILE: include/hw/usb/dwc2-regs.h:217:
+#define GI2CCTL_I2CSUSPCTL^I^IBIT(25)$

ERROR: code indent should never use tabs
#238: FILE: include/hw/usb/dwc2-regs.h:218:
+#define GI2CCTL_ACK^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#239: FILE: include/hw/usb/dwc2-regs.h:219:
+#define GI2CCTL_I2CEN^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#240: FILE: include/hw/usb/dwc2-regs.h:220:
+#define GI2CCTL_ADDR_MASK^I^I(0x7f << 16)$

ERROR: code indent should never use tabs
#241: FILE: include/hw/usb/dwc2-regs.h:221:
+#define GI2CCTL_ADDR_SHIFT^I^I16$

ERROR: code indent should never use tabs
#242: FILE: include/hw/usb/dwc2-regs.h:222:
+#define GI2CCTL_REGADDR_MASK^I^I(0xff << 8)$

ERROR: code indent should never use tabs
#243: FILE: include/hw/usb/dwc2-regs.h:223:
+#define GI2CCTL_REGADDR_SHIFT^I^I8$

ERROR: code indent should never use tabs
#244: FILE: include/hw/usb/dwc2-regs.h:224:
+#define GI2CCTL_RWDATA_MASK^I^I(0xff << 0)$

ERROR: code indent should never use tabs
#245: FILE: include/hw/usb/dwc2-regs.h:225:
+#define GI2CCTL_RWDATA_SHIFT^I^I0$

ERROR: code indent should never use tabs
#247: FILE: include/hw/usb/dwc2-regs.h:227:
+#define GPVNDCTL^I^I^IHSOTG_REG(0x0034)$

ERROR: code indent should never use tabs
#248: FILE: include/hw/usb/dwc2-regs.h:228:
+#define GGPIO^I^I^I^IHSOTG_REG(0x0038)$

ERROR: code indent should never use tabs
#249: FILE: include/hw/usb/dwc2-regs.h:229:
+#define GGPIO_STM32_OTG_GCCFG_PWRDWN^IBIT(16)$

ERROR: code indent should never use tabs
#251: FILE: include/hw/usb/dwc2-regs.h:231:
+#define GUID^I^I^I^IHSOTG_REG(0x003c)$

ERROR: code indent should never use tabs
#252: FILE: include/hw/usb/dwc2-regs.h:232:
+#define GSNPSID^I^I^I^IHSOTG_REG(0x0040)$

ERROR: code indent should never use tabs
#253: FILE: include/hw/usb/dwc2-regs.h:233:
+#define GHWCFG1^I^I^I^IHSOTG_REG(0x0044)$

ERROR: code indent should never use tabs
#254: FILE: include/hw/usb/dwc2-regs.h:234:
+#define GSNPSID_ID_MASK^I^I^IGENMASK(31, 16)$

ERROR: code indent should never use tabs
#256: FILE: include/hw/usb/dwc2-regs.h:236:
+#define GHWCFG2^I^I^I^IHSOTG_REG(0x0048)$

ERROR: code indent should never use tabs
#257: FILE: include/hw/usb/dwc2-regs.h:237:
+#define GHWCFG2_OTG_ENABLE_IC_USB^I^IBIT(31)$

ERROR: code indent should never use tabs
#258: FILE: include/hw/usb/dwc2-regs.h:238:
+#define GHWCFG2_DEV_TOKEN_Q_DEPTH_MASK^I^I(0x1f << 26)$

ERROR: code indent should never use tabs
#259: FILE: include/hw/usb/dwc2-regs.h:239:
+#define GHWCFG2_DEV_TOKEN_Q_DEPTH_SHIFT^I^I26$

ERROR: code indent should never use tabs
#260: FILE: include/hw/usb/dwc2-regs.h:240:
+#define GHWCFG2_HOST_PERIO_TX_Q_DEPTH_MASK^I(0x3 << 24)$

ERROR: code indent should never use tabs
#261: FILE: include/hw/usb/dwc2-regs.h:241:
+#define GHWCFG2_HOST_PERIO_TX_Q_DEPTH_SHIFT^I24$

ERROR: code indent should never use tabs
#262: FILE: include/hw/usb/dwc2-regs.h:242:
+#define GHWCFG2_NONPERIO_TX_Q_DEPTH_MASK^I(0x3 << 22)$

ERROR: code indent should never use tabs
#263: FILE: include/hw/usb/dwc2-regs.h:243:
+#define GHWCFG2_NONPERIO_TX_Q_DEPTH_SHIFT^I22$

ERROR: code indent should never use tabs
#264: FILE: include/hw/usb/dwc2-regs.h:244:
+#define GHWCFG2_MULTI_PROC_INT^I^I^IBIT(20)$

ERROR: code indent should never use tabs
#265: FILE: include/hw/usb/dwc2-regs.h:245:
+#define GHWCFG2_DYNAMIC_FIFO^I^I^IBIT(19)$

ERROR: code indent should never use tabs
#266: FILE: include/hw/usb/dwc2-regs.h:246:
+#define GHWCFG2_PERIO_EP_SUPPORTED^I^IBIT(18)$

ERROR: code indent should never use tabs
#267: FILE: include/hw/usb/dwc2-regs.h:247:
+#define GHWCFG2_NUM_HOST_CHAN_MASK^I^I(0xf << 14)$

ERROR: code indent should never use tabs
#268: FILE: include/hw/usb/dwc2-regs.h:248:
+#define GHWCFG2_NUM_HOST_CHAN_SHIFT^I^I14$

ERROR: code indent should never use tabs
#269: FILE: include/hw/usb/dwc2-regs.h:249:
+#define GHWCFG2_NUM_DEV_EP_MASK^I^I^I(0xf << 10)$

ERROR: code indent should never use tabs
#270: FILE: include/hw/usb/dwc2-regs.h:250:
+#define GHWCFG2_NUM_DEV_EP_SHIFT^I^I10$

ERROR: code indent should never use tabs
#271: FILE: include/hw/usb/dwc2-regs.h:251:
+#define GHWCFG2_FS_PHY_TYPE_MASK^I^I(0x3 << 8)$

ERROR: code indent should never use tabs
#272: FILE: include/hw/usb/dwc2-regs.h:252:
+#define GHWCFG2_FS_PHY_TYPE_SHIFT^I^I8$

ERROR: code indent should never use tabs
#273: FILE: include/hw/usb/dwc2-regs.h:253:
+#define GHWCFG2_FS_PHY_TYPE_NOT_SUPPORTED^I0$

ERROR: code indent should never use tabs
#274: FILE: include/hw/usb/dwc2-regs.h:254:
+#define GHWCFG2_FS_PHY_TYPE_DEDICATED^I^I1$

ERROR: code indent should never use tabs
#275: FILE: include/hw/usb/dwc2-regs.h:255:
+#define GHWCFG2_FS_PHY_TYPE_SHARED_UTMI^I^I2$

ERROR: code indent should never use tabs
#276: FILE: include/hw/usb/dwc2-regs.h:256:
+#define GHWCFG2_FS_PHY_TYPE_SHARED_ULPI^I^I3$

ERROR: code indent should never use tabs
#277: FILE: include/hw/usb/dwc2-regs.h:257:
+#define GHWCFG2_HS_PHY_TYPE_MASK^I^I(0x3 << 6)$

ERROR: code indent should never use tabs
#278: FILE: include/hw/usb/dwc2-regs.h:258:
+#define GHWCFG2_HS_PHY_TYPE_SHIFT^I^I6$

ERROR: code indent should never use tabs
#279: FILE: include/hw/usb/dwc2-regs.h:259:
+#define GHWCFG2_HS_PHY_TYPE_NOT_SUPPORTED^I0$

ERROR: code indent should never use tabs
#280: FILE: include/hw/usb/dwc2-regs.h:260:
+#define GHWCFG2_HS_PHY_TYPE_UTMI^I^I1$

ERROR: code indent should never use tabs
#281: FILE: include/hw/usb/dwc2-regs.h:261:
+#define GHWCFG2_HS_PHY_TYPE_ULPI^I^I2$

ERROR: code indent should never use tabs
#282: FILE: include/hw/usb/dwc2-regs.h:262:
+#define GHWCFG2_HS_PHY_TYPE_UTMI_ULPI^I^I3$

ERROR: code indent should never use tabs
#283: FILE: include/hw/usb/dwc2-regs.h:263:
+#define GHWCFG2_POINT2POINT^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#284: FILE: include/hw/usb/dwc2-regs.h:264:
+#define GHWCFG2_ARCHITECTURE_MASK^I^I(0x3 << 3)$

ERROR: code indent should never use tabs
#285: FILE: include/hw/usb/dwc2-regs.h:265:
+#define GHWCFG2_ARCHITECTURE_SHIFT^I^I3$

ERROR: code indent should never use tabs
#286: FILE: include/hw/usb/dwc2-regs.h:266:
+#define GHWCFG2_SLAVE_ONLY_ARCH^I^I^I0$

ERROR: code indent should never use tabs
#287: FILE: include/hw/usb/dwc2-regs.h:267:
+#define GHWCFG2_EXT_DMA_ARCH^I^I^I1$

ERROR: code indent should never use tabs
#288: FILE: include/hw/usb/dwc2-regs.h:268:
+#define GHWCFG2_INT_DMA_ARCH^I^I^I2$

ERROR: code indent should never use tabs
#289: FILE: include/hw/usb/dwc2-regs.h:269:
+#define GHWCFG2_OP_MODE_MASK^I^I^I(0x7 << 0)$

ERROR: code indent should never use tabs
#290: FILE: include/hw/usb/dwc2-regs.h:270:
+#define GHWCFG2_OP_MODE_SHIFT^I^I^I0$

ERROR: code indent should never use tabs
#291: FILE: include/hw/usb/dwc2-regs.h:271:
+#define GHWCFG2_OP_MODE_HNP_SRP_CAPABLE^I^I0$

ERROR: code indent should never use tabs
#292: FILE: include/hw/usb/dwc2-regs.h:272:
+#define GHWCFG2_OP_MODE_SRP_ONLY_CAPABLE^I1$

ERROR: code indent should never use tabs
#293: FILE: include/hw/usb/dwc2-regs.h:273:
+#define GHWCFG2_OP_MODE_NO_HNP_SRP_CAPABLE^I2$

ERROR: code indent should never use tabs
#294: FILE: include/hw/usb/dwc2-regs.h:274:
+#define GHWCFG2_OP_MODE_SRP_CAPABLE_DEVICE^I3$

ERROR: code indent should never use tabs
#295: FILE: include/hw/usb/dwc2-regs.h:275:
+#define GHWCFG2_OP_MODE_NO_SRP_CAPABLE_DEVICE^I4$

ERROR: code indent should never use tabs
#296: FILE: include/hw/usb/dwc2-regs.h:276:
+#define GHWCFG2_OP_MODE_SRP_CAPABLE_HOST^I5$

ERROR: code indent should never use tabs
#297: FILE: include/hw/usb/dwc2-regs.h:277:
+#define GHWCFG2_OP_MODE_NO_SRP_CAPABLE_HOST^I6$

ERROR: code indent should never use tabs
#298: FILE: include/hw/usb/dwc2-regs.h:278:
+#define GHWCFG2_OP_MODE_UNDEFINED^I^I7$

ERROR: code indent should never use tabs
#300: FILE: include/hw/usb/dwc2-regs.h:280:
+#define GHWCFG3^I^I^I^IHSOTG_REG(0x004c)$

ERROR: code indent should never use tabs
#301: FILE: include/hw/usb/dwc2-regs.h:281:
+#define GHWCFG3_DFIFO_DEPTH_MASK^I^I(0xffff << 16)$

ERROR: code indent should never use tabs
#302: FILE: include/hw/usb/dwc2-regs.h:282:
+#define GHWCFG3_DFIFO_DEPTH_SHIFT^I^I16$

ERROR: code indent should never use tabs
#303: FILE: include/hw/usb/dwc2-regs.h:283:
+#define GHWCFG3_OTG_LPM_EN^I^I^IBIT(15)$

ERROR: code indent should never use tabs
#304: FILE: include/hw/usb/dwc2-regs.h:284:
+#define GHWCFG3_BC_SUPPORT^I^I^IBIT(14)$

ERROR: code indent should never use tabs
#305: FILE: include/hw/usb/dwc2-regs.h:285:
+#define GHWCFG3_OTG_ENABLE_HSIC^I^I^IBIT(13)$

ERROR: code indent should never use tabs
#306: FILE: include/hw/usb/dwc2-regs.h:286:
+#define GHWCFG3_ADP_SUPP^I^I^IBIT(12)$

ERROR: code indent should never use tabs
#307: FILE: include/hw/usb/dwc2-regs.h:287:
+#define GHWCFG3_SYNCH_RESET_TYPE^I^IBIT(11)$

ERROR: code indent should never use tabs
#308: FILE: include/hw/usb/dwc2-regs.h:288:
+#define GHWCFG3_OPTIONAL_FEATURES^I^IBIT(10)$

ERROR: code indent should never use tabs
#309: FILE: include/hw/usb/dwc2-regs.h:289:
+#define GHWCFG3_VENDOR_CTRL_IF^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#310: FILE: include/hw/usb/dwc2-regs.h:290:
+#define GHWCFG3_I2C^I^I^I^IBIT(8)$

ERROR: code indent should never use tabs
#311: FILE: include/hw/usb/dwc2-regs.h:291:
+#define GHWCFG3_OTG_FUNC^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#312: FILE: include/hw/usb/dwc2-regs.h:292:
+#define GHWCFG3_PACKET_SIZE_CNTR_WIDTH_MASK^I(0x7 << 4)$

ERROR: code indent should never use tabs
#313: FILE: include/hw/usb/dwc2-regs.h:293:
+#define GHWCFG3_PACKET_SIZE_CNTR_WIDTH_SHIFT^I4$

ERROR: code indent should never use tabs
#314: FILE: include/hw/usb/dwc2-regs.h:294:
+#define GHWCFG3_XFER_SIZE_CNTR_WIDTH_MASK^I(0xf << 0)$

ERROR: code indent should never use tabs
#315: FILE: include/hw/usb/dwc2-regs.h:295:
+#define GHWCFG3_XFER_SIZE_CNTR_WIDTH_SHIFT^I0$

ERROR: code indent should never use tabs
#317: FILE: include/hw/usb/dwc2-regs.h:297:
+#define GHWCFG4^I^I^I^IHSOTG_REG(0x0050)$

ERROR: code indent should never use tabs
#318: FILE: include/hw/usb/dwc2-regs.h:298:
+#define GHWCFG4_DESC_DMA_DYN^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#319: FILE: include/hw/usb/dwc2-regs.h:299:
+#define GHWCFG4_DESC_DMA^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#320: FILE: include/hw/usb/dwc2-regs.h:300:
+#define GHWCFG4_NUM_IN_EPS_MASK^I^I^I(0xf << 26)$

ERROR: code indent should never use tabs
#321: FILE: include/hw/usb/dwc2-regs.h:301:
+#define GHWCFG4_NUM_IN_EPS_SHIFT^I^I26$

ERROR: code indent should never use tabs
#322: FILE: include/hw/usb/dwc2-regs.h:302:
+#define GHWCFG4_DED_FIFO_EN^I^I^IBIT(25)$

ERROR: code indent should never use tabs
#323: FILE: include/hw/usb/dwc2-regs.h:303:
+#define GHWCFG4_DED_FIFO_SHIFT^I^I25$

ERROR: code indent should never use tabs
#324: FILE: include/hw/usb/dwc2-regs.h:304:
+#define GHWCFG4_SESSION_END_FILT_EN^I^IBIT(24)$

ERROR: code indent should never use tabs
#325: FILE: include/hw/usb/dwc2-regs.h:305:
+#define GHWCFG4_B_VALID_FILT_EN^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#326: FILE: include/hw/usb/dwc2-regs.h:306:
+#define GHWCFG4_A_VALID_FILT_EN^I^I^IBIT(22)$

ERROR: code indent should never use tabs
#327: FILE: include/hw/usb/dwc2-regs.h:307:
+#define GHWCFG4_VBUS_VALID_FILT_EN^I^IBIT(21)$

ERROR: code indent should never use tabs
#328: FILE: include/hw/usb/dwc2-regs.h:308:
+#define GHWCFG4_IDDIG_FILT_EN^I^I^IBIT(20)$

ERROR: code indent should never use tabs
#329: FILE: include/hw/usb/dwc2-regs.h:309:
+#define GHWCFG4_NUM_DEV_MODE_CTRL_EP_MASK^I(0xf << 16)$

ERROR: code indent should never use tabs
#330: FILE: include/hw/usb/dwc2-regs.h:310:
+#define GHWCFG4_NUM_DEV_MODE_CTRL_EP_SHIFT^I16$

ERROR: code indent should never use tabs
#331: FILE: include/hw/usb/dwc2-regs.h:311:
+#define GHWCFG4_UTMI_PHY_DATA_WIDTH_MASK^I(0x3 << 14)$

ERROR: code indent should never use tabs
#332: FILE: include/hw/usb/dwc2-regs.h:312:
+#define GHWCFG4_UTMI_PHY_DATA_WIDTH_SHIFT^I14$

ERROR: code indent should never use tabs
#333: FILE: include/hw/usb/dwc2-regs.h:313:
+#define GHWCFG4_UTMI_PHY_DATA_WIDTH_8^I^I0$

ERROR: code indent should never use tabs
#334: FILE: include/hw/usb/dwc2-regs.h:314:
+#define GHWCFG4_UTMI_PHY_DATA_WIDTH_16^I^I1$

ERROR: code indent should never use tabs
#335: FILE: include/hw/usb/dwc2-regs.h:315:
+#define GHWCFG4_UTMI_PHY_DATA_WIDTH_8_OR_16^I2$

ERROR: code indent should never use tabs
#336: FILE: include/hw/usb/dwc2-regs.h:316:
+#define GHWCFG4_ACG_SUPPORTED^I^I^IBIT(12)$

ERROR: code indent should never use tabs
#337: FILE: include/hw/usb/dwc2-regs.h:317:
+#define GHWCFG4_IPG_ISOC_SUPPORTED^I^IBIT(11)$

ERROR: code indent should never use tabs
#339: FILE: include/hw/usb/dwc2-regs.h:319:
+#define GHWCFG4_XHIBER^I^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#340: FILE: include/hw/usb/dwc2-regs.h:320:
+#define GHWCFG4_HIBER^I^I^I^IBIT(6)$

ERROR: code indent should never use tabs
#341: FILE: include/hw/usb/dwc2-regs.h:321:
+#define GHWCFG4_MIN_AHB_FREQ^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#342: FILE: include/hw/usb/dwc2-regs.h:322:
+#define GHWCFG4_POWER_OPTIMIZ^I^I^IBIT(4)$

ERROR: code indent should never use tabs
#343: FILE: include/hw/usb/dwc2-regs.h:323:
+#define GHWCFG4_NUM_DEV_PERIO_IN_EP_MASK^I(0xf << 0)$

ERROR: code indent should never use tabs
#344: FILE: include/hw/usb/dwc2-regs.h:324:
+#define GHWCFG4_NUM_DEV_PERIO_IN_EP_SHIFT^I0$

ERROR: code indent should never use tabs
#346: FILE: include/hw/usb/dwc2-regs.h:326:
+#define GLPMCFG^I^I^I^IHSOTG_REG(0x0054)$

ERROR: code indent should never use tabs
#347: FILE: include/hw/usb/dwc2-regs.h:327:
+#define GLPMCFG_INVSELHSIC^I^IBIT(31)$

ERROR: code indent should never use tabs
#348: FILE: include/hw/usb/dwc2-regs.h:328:
+#define GLPMCFG_HSICCON^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#349: FILE: include/hw/usb/dwc2-regs.h:329:
+#define GLPMCFG_RSTRSLPSTS^I^IBIT(29)$

ERROR: code indent should never use tabs
#350: FILE: include/hw/usb/dwc2-regs.h:330:
+#define GLPMCFG_ENBESL^I^I^IBIT(28)$

ERROR: code indent should never use tabs
#351: FILE: include/hw/usb/dwc2-regs.h:331:
+#define GLPMCFG_LPM_RETRYCNT_STS_MASK^I(0x7 << 25)$

ERROR: code indent should never use tabs
#352: FILE: include/hw/usb/dwc2-regs.h:332:
+#define GLPMCFG_LPM_RETRYCNT_STS_SHIFT^I25$

ERROR: code indent should never use tabs
#353: FILE: include/hw/usb/dwc2-regs.h:333:
+#define GLPMCFG_SNDLPM^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#354: FILE: include/hw/usb/dwc2-regs.h:334:
+#define GLPMCFG_RETRY_CNT_MASK^I^I(0x7 << 21)$

ERROR: code indent should never use tabs
#355: FILE: include/hw/usb/dwc2-regs.h:335:
+#define GLPMCFG_RETRY_CNT_SHIFT^I^I21$

ERROR: code indent should never use tabs
#356: FILE: include/hw/usb/dwc2-regs.h:336:
+#define GLPMCFG_LPM_REJECT_CTRL_CONTROL^IBIT(21)$

ERROR: code indent should never use tabs
#357: FILE: include/hw/usb/dwc2-regs.h:337:
+#define GLPMCFG_LPM_ACCEPT_CTRL_ISOC^IBIT(22)$

ERROR: code indent should never use tabs
#358: FILE: include/hw/usb/dwc2-regs.h:338:
+#define GLPMCFG_LPM_CHNL_INDX_MASK^I(0xf << 17)$

ERROR: code indent should never use tabs
#359: FILE: include/hw/usb/dwc2-regs.h:339:
+#define GLPMCFG_LPM_CHNL_INDX_SHIFT^I17$

ERROR: code indent should never use tabs
#360: FILE: include/hw/usb/dwc2-regs.h:340:
+#define GLPMCFG_L1RESUMEOK^I^IBIT(16)$

ERROR: code indent should never use tabs
#361: FILE: include/hw/usb/dwc2-regs.h:341:
+#define GLPMCFG_SLPSTS^I^I^IBIT(15)$

ERROR: code indent should never use tabs
#362: FILE: include/hw/usb/dwc2-regs.h:342:
+#define GLPMCFG_COREL1RES_MASK^I^I(0x3 << 13)$

ERROR: code indent should never use tabs
#363: FILE: include/hw/usb/dwc2-regs.h:343:
+#define GLPMCFG_COREL1RES_SHIFT^I^I13$

ERROR: code indent should never use tabs
#364: FILE: include/hw/usb/dwc2-regs.h:344:
+#define GLPMCFG_HIRD_THRES_MASK^I^I(0x1f << 8)$

ERROR: code indent should never use tabs
#365: FILE: include/hw/usb/dwc2-regs.h:345:
+#define GLPMCFG_HIRD_THRES_SHIFT^I8$

ERROR: code indent should never use tabs
#366: FILE: include/hw/usb/dwc2-regs.h:346:
+#define GLPMCFG_HIRD_THRES_EN^I^I(0x10 << 8)$

ERROR: code indent should never use tabs
#367: FILE: include/hw/usb/dwc2-regs.h:347:
+#define GLPMCFG_ENBLSLPM^I^IBIT(7)$

ERROR: code indent should never use tabs
#368: FILE: include/hw/usb/dwc2-regs.h:348:
+#define GLPMCFG_BREMOTEWAKE^I^IBIT(6)$

ERROR: code indent should never use tabs
#369: FILE: include/hw/usb/dwc2-regs.h:349:
+#define GLPMCFG_HIRD_MASK^I^I(0xf << 2)$

ERROR: code indent should never use tabs
#370: FILE: include/hw/usb/dwc2-regs.h:350:
+#define GLPMCFG_HIRD_SHIFT^I^I2$

ERROR: code indent should never use tabs
#371: FILE: include/hw/usb/dwc2-regs.h:351:
+#define GLPMCFG_APPL1RES^I^IBIT(1)$

ERROR: code indent should never use tabs
#372: FILE: include/hw/usb/dwc2-regs.h:352:
+#define GLPMCFG_LPMCAP^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#374: FILE: include/hw/usb/dwc2-regs.h:354:
+#define GPWRDN^I^I^I^IHSOTG_REG(0x0058)$

ERROR: code indent should never use tabs
#375: FILE: include/hw/usb/dwc2-regs.h:355:
+#define GPWRDN_MULT_VAL_ID_BC_MASK^I(0x1f << 24)$

ERROR: code indent should never use tabs
#376: FILE: include/hw/usb/dwc2-regs.h:356:
+#define GPWRDN_MULT_VAL_ID_BC_SHIFT^I24$

ERROR: code indent should never use tabs
#377: FILE: include/hw/usb/dwc2-regs.h:357:
+#define GPWRDN_ADP_INT^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#378: FILE: include/hw/usb/dwc2-regs.h:358:
+#define GPWRDN_BSESSVLD^I^I^IBIT(22)$

ERROR: code indent should never use tabs
#379: FILE: include/hw/usb/dwc2-regs.h:359:
+#define GPWRDN_IDSTS^I^I^IBIT(21)$

ERROR: code indent should never use tabs
#380: FILE: include/hw/usb/dwc2-regs.h:360:
+#define GPWRDN_LINESTATE_MASK^I^I(0x3 << 19)$

ERROR: code indent should never use tabs
#381: FILE: include/hw/usb/dwc2-regs.h:361:
+#define GPWRDN_LINESTATE_SHIFT^I^I19$

ERROR: code indent should never use tabs
#382: FILE: include/hw/usb/dwc2-regs.h:362:
+#define GPWRDN_STS_CHGINT_MSK^I^IBIT(18)$

ERROR: code indent should never use tabs
#383: FILE: include/hw/usb/dwc2-regs.h:363:
+#define GPWRDN_STS_CHGINT^I^IBIT(17)$

ERROR: code indent should never use tabs
#384: FILE: include/hw/usb/dwc2-regs.h:364:
+#define GPWRDN_SRP_DET_MSK^I^IBIT(16)$

ERROR: code indent should never use tabs
#385: FILE: include/hw/usb/dwc2-regs.h:365:
+#define GPWRDN_SRP_DET^I^I^IBIT(15)$

ERROR: code indent should never use tabs
#386: FILE: include/hw/usb/dwc2-regs.h:366:
+#define GPWRDN_CONNECT_DET_MSK^I^IBIT(14)$

ERROR: code indent should never use tabs
#387: FILE: include/hw/usb/dwc2-regs.h:367:
+#define GPWRDN_CONNECT_DET^I^IBIT(13)$

ERROR: code indent should never use tabs
#388: FILE: include/hw/usb/dwc2-regs.h:368:
+#define GPWRDN_DISCONN_DET_MSK^I^IBIT(12)$

ERROR: code indent should never use tabs
#389: FILE: include/hw/usb/dwc2-regs.h:369:
+#define GPWRDN_DISCONN_DET^I^IBIT(11)$

ERROR: code indent should never use tabs
#390: FILE: include/hw/usb/dwc2-regs.h:370:
+#define GPWRDN_RST_DET_MSK^I^IBIT(10)$

ERROR: code indent should never use tabs
#391: FILE: include/hw/usb/dwc2-regs.h:371:
+#define GPWRDN_RST_DET^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#392: FILE: include/hw/usb/dwc2-regs.h:372:
+#define GPWRDN_LNSTSCHG_MSK^I^IBIT(8)$

ERROR: code indent should never use tabs
#393: FILE: include/hw/usb/dwc2-regs.h:373:
+#define GPWRDN_LNSTSCHG^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#394: FILE: include/hw/usb/dwc2-regs.h:374:
+#define GPWRDN_DIS_VBUS^I^I^IBIT(6)$

ERROR: code indent should never use tabs
#395: FILE: include/hw/usb/dwc2-regs.h:375:
+#define GPWRDN_PWRDNSWTCH^I^IBIT(5)$

ERROR: code indent should never use tabs
#396: FILE: include/hw/usb/dwc2-regs.h:376:
+#define GPWRDN_PWRDNRSTN^I^IBIT(4)$

ERROR: code indent should never use tabs
#397: FILE: include/hw/usb/dwc2-regs.h:377:
+#define GPWRDN_PWRDNCLMP^I^IBIT(3)$

ERROR: code indent should never use tabs
#398: FILE: include/hw/usb/dwc2-regs.h:378:
+#define GPWRDN_RESTORE^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#399: FILE: include/hw/usb/dwc2-regs.h:379:
+#define GPWRDN_PMUACTV^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#400: FILE: include/hw/usb/dwc2-regs.h:380:
+#define GPWRDN_PMUINTSEL^I^IBIT(0)$

ERROR: code indent should never use tabs
#402: FILE: include/hw/usb/dwc2-regs.h:382:
+#define GDFIFOCFG^I^I^IHSOTG_REG(0x005c)$

ERROR: code indent should never use tabs
#403: FILE: include/hw/usb/dwc2-regs.h:383:
+#define GDFIFOCFG_EPINFOBASE_MASK^I(0xffff << 16)$

ERROR: code indent should never use tabs
#404: FILE: include/hw/usb/dwc2-regs.h:384:
+#define GDFIFOCFG_EPINFOBASE_SHIFT^I16$

ERROR: code indent should never use tabs
#405: FILE: include/hw/usb/dwc2-regs.h:385:
+#define GDFIFOCFG_GDFIFOCFG_MASK^I(0xffff << 0)$

ERROR: code indent should never use tabs
#406: FILE: include/hw/usb/dwc2-regs.h:386:
+#define GDFIFOCFG_GDFIFOCFG_SHIFT^I0$

ERROR: code indent should never use tabs
#408: FILE: include/hw/usb/dwc2-regs.h:388:
+#define ADPCTL^I^I^I^IHSOTG_REG(0x0060)$

ERROR: code indent should never use tabs
#409: FILE: include/hw/usb/dwc2-regs.h:389:
+#define ADPCTL_AR_MASK^I^I^I(0x3 << 27)$

ERROR: code indent should never use tabs
#410: FILE: include/hw/usb/dwc2-regs.h:390:
+#define ADPCTL_AR_SHIFT^I^I^I27$

ERROR: code indent should never use tabs
#411: FILE: include/hw/usb/dwc2-regs.h:391:
+#define ADPCTL_ADP_TMOUT_INT_MSK^IBIT(26)$

ERROR: code indent should never use tabs
#412: FILE: include/hw/usb/dwc2-regs.h:392:
+#define ADPCTL_ADP_SNS_INT_MSK^I^IBIT(25)$

ERROR: code indent should never use tabs
#413: FILE: include/hw/usb/dwc2-regs.h:393:
+#define ADPCTL_ADP_PRB_INT_MSK^I^IBIT(24)$

ERROR: code indent should never use tabs
#414: FILE: include/hw/usb/dwc2-regs.h:394:
+#define ADPCTL_ADP_TMOUT_INT^I^IBIT(23)$

ERROR: code indent should never use tabs
#415: FILE: include/hw/usb/dwc2-regs.h:395:
+#define ADPCTL_ADP_SNS_INT^I^IBIT(22)$

ERROR: code indent should never use tabs
#416: FILE: include/hw/usb/dwc2-regs.h:396:
+#define ADPCTL_ADP_PRB_INT^I^IBIT(21)$

ERROR: code indent should never use tabs
#417: FILE: include/hw/usb/dwc2-regs.h:397:
+#define ADPCTL_ADPENA^I^I^IBIT(20)$

ERROR: code indent should never use tabs
#418: FILE: include/hw/usb/dwc2-regs.h:398:
+#define ADPCTL_ADPRES^I^I^IBIT(19)$

ERROR: code indent should never use tabs
#419: FILE: include/hw/usb/dwc2-regs.h:399:
+#define ADPCTL_ENASNS^I^I^IBIT(18)$

ERROR: code indent should never use tabs
#420: FILE: include/hw/usb/dwc2-regs.h:400:
+#define ADPCTL_ENAPRB^I^I^IBIT(17)$

ERROR: code indent should never use tabs
#421: FILE: include/hw/usb/dwc2-regs.h:401:
+#define ADPCTL_RTIM_MASK^I^I(0x7ff << 6)$

ERROR: code indent should never use tabs
#422: FILE: include/hw/usb/dwc2-regs.h:402:
+#define ADPCTL_RTIM_SHIFT^I^I6$

ERROR: code indent should never use tabs
#423: FILE: include/hw/usb/dwc2-regs.h:403:
+#define ADPCTL_PRB_PER_MASK^I^I(0x3 << 4)$

ERROR: code indent should never use tabs
#424: FILE: include/hw/usb/dwc2-regs.h:404:
+#define ADPCTL_PRB_PER_SHIFT^I^I4$

ERROR: code indent should never use tabs
#425: FILE: include/hw/usb/dwc2-regs.h:405:
+#define ADPCTL_PRB_DELTA_MASK^I^I(0x3 << 2)$

ERROR: code indent should never use tabs
#426: FILE: include/hw/usb/dwc2-regs.h:406:
+#define ADPCTL_PRB_DELTA_SHIFT^I^I2$

ERROR: code indent should never use tabs
#427: FILE: include/hw/usb/dwc2-regs.h:407:
+#define ADPCTL_PRB_DSCHRG_MASK^I^I(0x3 << 0)$

ERROR: code indent should never use tabs
#428: FILE: include/hw/usb/dwc2-regs.h:408:
+#define ADPCTL_PRB_DSCHRG_SHIFT^I^I0$

ERROR: code indent should never use tabs
#430: FILE: include/hw/usb/dwc2-regs.h:410:
+#define GREFCLK^I^I^I^I    HSOTG_REG(0x0064)$

ERROR: code indent should never use tabs
#431: FILE: include/hw/usb/dwc2-regs.h:411:
+#define GREFCLK_REFCLKPER_MASK^I^I    (0x1ffff << 15)$

ERROR: code indent should never use tabs
#432: FILE: include/hw/usb/dwc2-regs.h:412:
+#define GREFCLK_REFCLKPER_SHIFT^I^I    15$

ERROR: code indent should never use tabs
#433: FILE: include/hw/usb/dwc2-regs.h:413:
+#define GREFCLK_REF_CLK_MODE^I^I    BIT(14)$

ERROR: code indent should never use tabs
#434: FILE: include/hw/usb/dwc2-regs.h:414:
+#define GREFCLK_SOF_CNT_WKUP_ALERT_MASK^I    (0x3ff)$

ERROR: code indent should never use tabs
#437: FILE: include/hw/usb/dwc2-regs.h:417:
+#define GINTMSK2^I^I^IHSOTG_REG(0x0068)$

ERROR: code indent should never use tabs
#438: FILE: include/hw/usb/dwc2-regs.h:418:
+#define GINTMSK2_WKUP_ALERT_INT_MSK^IBIT(0)$

ERROR: code indent should never use tabs
#440: FILE: include/hw/usb/dwc2-regs.h:420:
+#define GINTSTS2^I^I^IHSOTG_REG(0x006c)$

ERROR: code indent should never use tabs
#441: FILE: include/hw/usb/dwc2-regs.h:421:
+#define GINTSTS2_WKUP_ALERT_INT^I^IBIT(0)$

ERROR: code indent should never use tabs
#443: FILE: include/hw/usb/dwc2-regs.h:423:
+#define HPTXFSIZ^I^I^IHSOTG_REG(0x100)$

ERROR: code indent should never use tabs
#446: FILE: include/hw/usb/dwc2-regs.h:426:
+#define DPTXFSIZN(_a)^I^I^IHSOTG_REG(0x104 + (((_a) - 1) * 4))$

ERROR: code indent should never use tabs
#450: FILE: include/hw/usb/dwc2-regs.h:430:
+#define FIFOSIZE_DEPTH_MASK^I^I(0xffff << 16)$

ERROR: code indent should never use tabs
#451: FILE: include/hw/usb/dwc2-regs.h:431:
+#define FIFOSIZE_DEPTH_SHIFT^I^I16$

ERROR: code indent should never use tabs
#452: FILE: include/hw/usb/dwc2-regs.h:432:
+#define FIFOSIZE_STARTADDR_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#453: FILE: include/hw/usb/dwc2-regs.h:433:
+#define FIFOSIZE_STARTADDR_SHIFT^I0$

ERROR: code indent should never use tabs
#454: FILE: include/hw/usb/dwc2-regs.h:434:
+#define FIFOSIZE_DEPTH_GET(_x)^I^I(((_x) >> 16) & 0xffff)$

ERROR: code indent should never use tabs
#458: FILE: include/hw/usb/dwc2-regs.h:438:
+#define DCFG^I^I^I^IHSOTG_REG(0x800)$

ERROR: code indent should never use tabs
#459: FILE: include/hw/usb/dwc2-regs.h:439:
+#define DCFG_DESCDMA_EN^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#460: FILE: include/hw/usb/dwc2-regs.h:440:
+#define DCFG_EPMISCNT_MASK^I^I(0x1f << 18)$

ERROR: code indent should never use tabs
#461: FILE: include/hw/usb/dwc2-regs.h:441:
+#define DCFG_EPMISCNT_SHIFT^I^I18$

ERROR: code indent should never use tabs
#462: FILE: include/hw/usb/dwc2-regs.h:442:
+#define DCFG_EPMISCNT_LIMIT^I^I0x1f$

ERROR: code indent should never use tabs
#463: FILE: include/hw/usb/dwc2-regs.h:443:
+#define DCFG_EPMISCNT(_x)^I^I((_x) << 18)$

ERROR: code indent should never use tabs
#464: FILE: include/hw/usb/dwc2-regs.h:444:
+#define DCFG_IPG_ISOC_SUPPORDED^I^IBIT(17)$

ERROR: code indent should never use tabs
#465: FILE: include/hw/usb/dwc2-regs.h:445:
+#define DCFG_PERFRINT_MASK^I^I(0x3 << 11)$

ERROR: code indent should never use tabs
#466: FILE: include/hw/usb/dwc2-regs.h:446:
+#define DCFG_PERFRINT_SHIFT^I^I11$

ERROR: code indent should never use tabs
#467: FILE: include/hw/usb/dwc2-regs.h:447:
+#define DCFG_PERFRINT_LIMIT^I^I0x3$

ERROR: code indent should never use tabs
#468: FILE: include/hw/usb/dwc2-regs.h:448:
+#define DCFG_PERFRINT(_x)^I^I((_x) << 11)$

ERROR: code indent should never use tabs
#469: FILE: include/hw/usb/dwc2-regs.h:449:
+#define DCFG_DEVADDR_MASK^I^I(0x7f << 4)$

ERROR: code indent should never use tabs
#470: FILE: include/hw/usb/dwc2-regs.h:450:
+#define DCFG_DEVADDR_SHIFT^I^I4$

ERROR: code indent should never use tabs
#471: FILE: include/hw/usb/dwc2-regs.h:451:
+#define DCFG_DEVADDR_LIMIT^I^I0x7f$

ERROR: code indent should never use tabs
#472: FILE: include/hw/usb/dwc2-regs.h:452:
+#define DCFG_DEVADDR(_x)^I^I((_x) << 4)$

ERROR: code indent should never use tabs
#473: FILE: include/hw/usb/dwc2-regs.h:453:
+#define DCFG_NZ_STS_OUT_HSHK^I^IBIT(2)$

ERROR: code indent should never use tabs
#474: FILE: include/hw/usb/dwc2-regs.h:454:
+#define DCFG_DEVSPD_MASK^I^I(0x3 << 0)$

ERROR: code indent should never use tabs
#475: FILE: include/hw/usb/dwc2-regs.h:455:
+#define DCFG_DEVSPD_SHIFT^I^I0$

ERROR: code indent should never use tabs
#476: FILE: include/hw/usb/dwc2-regs.h:456:
+#define DCFG_DEVSPD_HS^I^I^I0$

ERROR: code indent should never use tabs
#477: FILE: include/hw/usb/dwc2-regs.h:457:
+#define DCFG_DEVSPD_FS^I^I^I1$

ERROR: code indent should never use tabs
#478: FILE: include/hw/usb/dwc2-regs.h:458:
+#define DCFG_DEVSPD_LS^I^I^I2$

ERROR: code indent should never use tabs
#479: FILE: include/hw/usb/dwc2-regs.h:459:
+#define DCFG_DEVSPD_FS48^I^I3$

ERROR: code indent should never use tabs
#481: FILE: include/hw/usb/dwc2-regs.h:461:
+#define DCTL^I^I^I^IHSOTG_REG(0x804)$

ERROR: code indent should never use tabs
#483: FILE: include/hw/usb/dwc2-regs.h:463:
+#define DCTL_PWRONPRGDONE^I^IBIT(11)$

ERROR: code indent should never use tabs
#484: FILE: include/hw/usb/dwc2-regs.h:464:
+#define DCTL_CGOUTNAK^I^I^IBIT(10)$

ERROR: code indent should never use tabs
#485: FILE: include/hw/usb/dwc2-regs.h:465:
+#define DCTL_SGOUTNAK^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#486: FILE: include/hw/usb/dwc2-regs.h:466:
+#define DCTL_CGNPINNAK^I^I^IBIT(8)$

ERROR: code indent should never use tabs
#487: FILE: include/hw/usb/dwc2-regs.h:467:
+#define DCTL_SGNPINNAK^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#488: FILE: include/hw/usb/dwc2-regs.h:468:
+#define DCTL_TSTCTL_MASK^I^I(0x7 << 4)$

ERROR: code indent should never use tabs
#489: FILE: include/hw/usb/dwc2-regs.h:469:
+#define DCTL_TSTCTL_SHIFT^I^I4$

ERROR: code indent should never use tabs
#490: FILE: include/hw/usb/dwc2-regs.h:470:
+#define DCTL_GOUTNAKSTS^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#491: FILE: include/hw/usb/dwc2-regs.h:471:
+#define DCTL_GNPINNAKSTS^I^IBIT(2)$

ERROR: code indent should never use tabs
#492: FILE: include/hw/usb/dwc2-regs.h:472:
+#define DCTL_SFTDISCON^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#493: FILE: include/hw/usb/dwc2-regs.h:473:
+#define DCTL_RMTWKUPSIG^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#495: FILE: include/hw/usb/dwc2-regs.h:475:
+#define DSTS^I^I^I^IHSOTG_REG(0x808)$

ERROR: code indent should never use tabs
#496: FILE: include/hw/usb/dwc2-regs.h:476:
+#define DSTS_SOFFN_MASK^I^I^I(0x3fff << 8)$

ERROR: code indent should never use tabs
#497: FILE: include/hw/usb/dwc2-regs.h:477:
+#define DSTS_SOFFN_SHIFT^I^I8$

ERROR: code indent should never use tabs
#498: FILE: include/hw/usb/dwc2-regs.h:478:
+#define DSTS_SOFFN_LIMIT^I^I0x3fff$

ERROR: code indent should never use tabs
#499: FILE: include/hw/usb/dwc2-regs.h:479:
+#define DSTS_SOFFN(_x)^I^I^I((_x) << 8)$

ERROR: code indent should never use tabs
#500: FILE: include/hw/usb/dwc2-regs.h:480:
+#define DSTS_ERRATICERR^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#501: FILE: include/hw/usb/dwc2-regs.h:481:
+#define DSTS_ENUMSPD_MASK^I^I(0x3 << 1)$

ERROR: code indent should never use tabs
#502: FILE: include/hw/usb/dwc2-regs.h:482:
+#define DSTS_ENUMSPD_SHIFT^I^I1$

ERROR: code indent should never use tabs
#503: FILE: include/hw/usb/dwc2-regs.h:483:
+#define DSTS_ENUMSPD_HS^I^I^I0$

ERROR: code indent should never use tabs
#504: FILE: include/hw/usb/dwc2-regs.h:484:
+#define DSTS_ENUMSPD_FS^I^I^I1$

ERROR: code indent should never use tabs
#505: FILE: include/hw/usb/dwc2-regs.h:485:
+#define DSTS_ENUMSPD_LS^I^I^I2$

ERROR: code indent should never use tabs
#506: FILE: include/hw/usb/dwc2-regs.h:486:
+#define DSTS_ENUMSPD_FS48^I^I3$

ERROR: code indent should never use tabs
#507: FILE: include/hw/usb/dwc2-regs.h:487:
+#define DSTS_SUSPSTS^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#509: FILE: include/hw/usb/dwc2-regs.h:489:
+#define DIEPMSK^I^I^I^IHSOTG_REG(0x810)$

ERROR: code indent should never use tabs
#510: FILE: include/hw/usb/dwc2-regs.h:490:
+#define DIEPMSK_NAKMSK^I^I^IBIT(13)$

ERROR: code indent should never use tabs
#511: FILE: include/hw/usb/dwc2-regs.h:491:
+#define DIEPMSK_BNAININTRMSK^I^IBIT(9)$

ERROR: code indent should never use tabs
#512: FILE: include/hw/usb/dwc2-regs.h:492:
+#define DIEPMSK_TXFIFOUNDRNMSK^I^IBIT(8)$

ERROR: code indent should never use tabs
#513: FILE: include/hw/usb/dwc2-regs.h:493:
+#define DIEPMSK_TXFIFOEMPTY^I^IBIT(7)$

ERROR: code indent should never use tabs
#514: FILE: include/hw/usb/dwc2-regs.h:494:
+#define DIEPMSK_INEPNAKEFFMSK^I^IBIT(6)$

ERROR: code indent should never use tabs
#515: FILE: include/hw/usb/dwc2-regs.h:495:
+#define DIEPMSK_INTKNEPMISMSK^I^IBIT(5)$

ERROR: code indent should never use tabs
#516: FILE: include/hw/usb/dwc2-regs.h:496:
+#define DIEPMSK_INTKNTXFEMPMSK^I^IBIT(4)$

ERROR: code indent should never use tabs
#517: FILE: include/hw/usb/dwc2-regs.h:497:
+#define DIEPMSK_TIMEOUTMSK^I^IBIT(3)$

ERROR: code indent should never use tabs
#518: FILE: include/hw/usb/dwc2-regs.h:498:
+#define DIEPMSK_AHBERRMSK^I^IBIT(2)$

ERROR: code indent should never use tabs
#519: FILE: include/hw/usb/dwc2-regs.h:499:
+#define DIEPMSK_EPDISBLDMSK^I^IBIT(1)$

ERROR: code indent should never use tabs
#520: FILE: include/hw/usb/dwc2-regs.h:500:
+#define DIEPMSK_XFERCOMPLMSK^I^IBIT(0)$

ERROR: code indent should never use tabs
#522: FILE: include/hw/usb/dwc2-regs.h:502:
+#define DOEPMSK^I^I^I^IHSOTG_REG(0x814)$

ERROR: code indent should never use tabs
#523: FILE: include/hw/usb/dwc2-regs.h:503:
+#define DOEPMSK_BNAMSK^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#524: FILE: include/hw/usb/dwc2-regs.h:504:
+#define DOEPMSK_BACK2BACKSETUP^I^IBIT(6)$

ERROR: code indent should never use tabs
#525: FILE: include/hw/usb/dwc2-regs.h:505:
+#define DOEPMSK_STSPHSERCVDMSK^I^IBIT(5)$

ERROR: code indent should never use tabs
#526: FILE: include/hw/usb/dwc2-regs.h:506:
+#define DOEPMSK_OUTTKNEPDISMSK^I^IBIT(4)$

ERROR: code indent should never use tabs
#527: FILE: include/hw/usb/dwc2-regs.h:507:
+#define DOEPMSK_SETUPMSK^I^IBIT(3)$

ERROR: code indent should never use tabs
#528: FILE: include/hw/usb/dwc2-regs.h:508:
+#define DOEPMSK_AHBERRMSK^I^IBIT(2)$

ERROR: code indent should never use tabs
#529: FILE: include/hw/usb/dwc2-regs.h:509:
+#define DOEPMSK_EPDISBLDMSK^I^IBIT(1)$

ERROR: code indent should never use tabs
#530: FILE: include/hw/usb/dwc2-regs.h:510:
+#define DOEPMSK_XFERCOMPLMSK^I^IBIT(0)$

ERROR: code indent should never use tabs
#532: FILE: include/hw/usb/dwc2-regs.h:512:
+#define DAINT^I^I^I^IHSOTG_REG(0x818)$

ERROR: code indent should never use tabs
#533: FILE: include/hw/usb/dwc2-regs.h:513:
+#define DAINTMSK^I^I^IHSOTG_REG(0x81C)$

ERROR: code indent should never use tabs
#534: FILE: include/hw/usb/dwc2-regs.h:514:
+#define DAINT_OUTEP_SHIFT^I^I16$

ERROR: code indent should never use tabs
#535: FILE: include/hw/usb/dwc2-regs.h:515:
+#define DAINT_OUTEP(_x)^I^I^I(1 << ((_x) + 16))$

ERROR: code indent should never use tabs
#536: FILE: include/hw/usb/dwc2-regs.h:516:
+#define DAINT_INEP(_x)^I^I^I(1 << (_x))$

ERROR: code indent should never use tabs
#538: FILE: include/hw/usb/dwc2-regs.h:518:
+#define DTKNQR1^I^I^I^IHSOTG_REG(0x820)$

ERROR: code indent should never use tabs
#539: FILE: include/hw/usb/dwc2-regs.h:519:
+#define DTKNQR2^I^I^I^IHSOTG_REG(0x824)$

ERROR: code indent should never use tabs
#540: FILE: include/hw/usb/dwc2-regs.h:520:
+#define DTKNQR3^I^I^I^IHSOTG_REG(0x830)$

ERROR: code indent should never use tabs
#541: FILE: include/hw/usb/dwc2-regs.h:521:
+#define DTKNQR4^I^I^I^IHSOTG_REG(0x834)$

ERROR: code indent should never use tabs
#542: FILE: include/hw/usb/dwc2-regs.h:522:
+#define DIEPEMPMSK^I^I^IHSOTG_REG(0x834)$

ERROR: code indent should never use tabs
#544: FILE: include/hw/usb/dwc2-regs.h:524:
+#define DVBUSDIS^I^I^IHSOTG_REG(0x828)$

ERROR: code indent should never use tabs
#545: FILE: include/hw/usb/dwc2-regs.h:525:
+#define DVBUSPULSE^I^I^IHSOTG_REG(0x82C)$

ERROR: code indent should never use tabs
#547: FILE: include/hw/usb/dwc2-regs.h:527:
+#define DIEPCTL0^I^I^IHSOTG_REG(0x900)$

ERROR: code indent should never use tabs
#548: FILE: include/hw/usb/dwc2-regs.h:528:
+#define DIEPCTL(_a)^I^I^IHSOTG_REG(0x900 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#550: FILE: include/hw/usb/dwc2-regs.h:530:
+#define DOEPCTL0^I^I^IHSOTG_REG(0xB00)$

ERROR: code indent should never use tabs
#551: FILE: include/hw/usb/dwc2-regs.h:531:
+#define DOEPCTL(_a)^I^I^IHSOTG_REG(0xB00 + ((_a) * 0x20))$

WARNING: Block comments use a leading /* on a separate line
#553: FILE: include/hw/usb/dwc2-regs.h:533:
+/* EP0 specialness:

ERROR: code indent should never use tabs
#558: FILE: include/hw/usb/dwc2-regs.h:538:
+#define D0EPCTL_MPS_MASK^I^I(0x3 << 0)$

ERROR: code indent should never use tabs
#559: FILE: include/hw/usb/dwc2-regs.h:539:
+#define D0EPCTL_MPS_SHIFT^I^I0$

ERROR: code indent should never use tabs
#560: FILE: include/hw/usb/dwc2-regs.h:540:
+#define D0EPCTL_MPS_64^I^I^I0$

ERROR: code indent should never use tabs
#561: FILE: include/hw/usb/dwc2-regs.h:541:
+#define D0EPCTL_MPS_32^I^I^I1$

ERROR: code indent should never use tabs
#562: FILE: include/hw/usb/dwc2-regs.h:542:
+#define D0EPCTL_MPS_16^I^I^I2$

ERROR: code indent should never use tabs
#563: FILE: include/hw/usb/dwc2-regs.h:543:
+#define D0EPCTL_MPS_8^I^I^I3$

ERROR: code indent should never use tabs
#565: FILE: include/hw/usb/dwc2-regs.h:545:
+#define DXEPCTL_EPENA^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#566: FILE: include/hw/usb/dwc2-regs.h:546:
+#define DXEPCTL_EPDIS^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#567: FILE: include/hw/usb/dwc2-regs.h:547:
+#define DXEPCTL_SETD1PID^I^IBIT(29)$

ERROR: code indent should never use tabs
#568: FILE: include/hw/usb/dwc2-regs.h:548:
+#define DXEPCTL_SETODDFR^I^IBIT(29)$

ERROR: code indent should never use tabs
#569: FILE: include/hw/usb/dwc2-regs.h:549:
+#define DXEPCTL_SETD0PID^I^IBIT(28)$

ERROR: code indent should never use tabs
#570: FILE: include/hw/usb/dwc2-regs.h:550:
+#define DXEPCTL_SETEVENFR^I^IBIT(28)$

ERROR: code indent should never use tabs
#571: FILE: include/hw/usb/dwc2-regs.h:551:
+#define DXEPCTL_SNAK^I^I^IBIT(27)$

ERROR: code indent should never use tabs
#572: FILE: include/hw/usb/dwc2-regs.h:552:
+#define DXEPCTL_CNAK^I^I^IBIT(26)$

ERROR: code indent should never use tabs
#573: FILE: include/hw/usb/dwc2-regs.h:553:
+#define DXEPCTL_TXFNUM_MASK^I^I(0xf << 22)$

ERROR: code indent should never use tabs
#574: FILE: include/hw/usb/dwc2-regs.h:554:
+#define DXEPCTL_TXFNUM_SHIFT^I^I22$

ERROR: code indent should never use tabs
#575: FILE: include/hw/usb/dwc2-regs.h:555:
+#define DXEPCTL_TXFNUM_LIMIT^I^I0xf$

ERROR: code indent should never use tabs
#576: FILE: include/hw/usb/dwc2-regs.h:556:
+#define DXEPCTL_TXFNUM(_x)^I^I((_x) << 22)$

ERROR: code indent should never use tabs
#577: FILE: include/hw/usb/dwc2-regs.h:557:
+#define DXEPCTL_STALL^I^I^IBIT(21)$

ERROR: code indent should never use tabs
#578: FILE: include/hw/usb/dwc2-regs.h:558:
+#define DXEPCTL_SNP^I^I^IBIT(20)$

ERROR: code indent should never use tabs
#579: FILE: include/hw/usb/dwc2-regs.h:559:
+#define DXEPCTL_EPTYPE_MASK^I^I(0x3 << 18)$

ERROR: code indent should never use tabs
#580: FILE: include/hw/usb/dwc2-regs.h:560:
+#define DXEPCTL_EPTYPE_CONTROL^I^I(0x0 << 18)$

ERROR: code indent should never use tabs
#581: FILE: include/hw/usb/dwc2-regs.h:561:
+#define DXEPCTL_EPTYPE_ISO^I^I(0x1 << 18)$

ERROR: code indent should never use tabs
#582: FILE: include/hw/usb/dwc2-regs.h:562:
+#define DXEPCTL_EPTYPE_BULK^I^I(0x2 << 18)$

ERROR: code indent should never use tabs
#583: FILE: include/hw/usb/dwc2-regs.h:563:
+#define DXEPCTL_EPTYPE_INTERRUPT^I(0x3 << 18)$

ERROR: code indent should never use tabs
#585: FILE: include/hw/usb/dwc2-regs.h:565:
+#define DXEPCTL_NAKSTS^I^I^IBIT(17)$

ERROR: code indent should never use tabs
#586: FILE: include/hw/usb/dwc2-regs.h:566:
+#define DXEPCTL_DPID^I^I^IBIT(16)$

ERROR: code indent should never use tabs
#587: FILE: include/hw/usb/dwc2-regs.h:567:
+#define DXEPCTL_EOFRNUM^I^I^IBIT(16)$

ERROR: code indent should never use tabs
#588: FILE: include/hw/usb/dwc2-regs.h:568:
+#define DXEPCTL_USBACTEP^I^IBIT(15)$

ERROR: code indent should never use tabs
#589: FILE: include/hw/usb/dwc2-regs.h:569:
+#define DXEPCTL_NEXTEP_MASK^I^I(0xf << 11)$

ERROR: code indent should never use tabs
#590: FILE: include/hw/usb/dwc2-regs.h:570:
+#define DXEPCTL_NEXTEP_SHIFT^I^I11$

ERROR: code indent should never use tabs
#591: FILE: include/hw/usb/dwc2-regs.h:571:
+#define DXEPCTL_NEXTEP_LIMIT^I^I0xf$

ERROR: code indent should never use tabs
#592: FILE: include/hw/usb/dwc2-regs.h:572:
+#define DXEPCTL_NEXTEP(_x)^I^I((_x) << 11)$

ERROR: code indent should never use tabs
#593: FILE: include/hw/usb/dwc2-regs.h:573:
+#define DXEPCTL_MPS_MASK^I^I(0x7ff << 0)$

ERROR: code indent should never use tabs
#594: FILE: include/hw/usb/dwc2-regs.h:574:
+#define DXEPCTL_MPS_SHIFT^I^I0$

ERROR: code indent should never use tabs
#595: FILE: include/hw/usb/dwc2-regs.h:575:
+#define DXEPCTL_MPS_LIMIT^I^I0x7ff$

ERROR: code indent should never use tabs
#596: FILE: include/hw/usb/dwc2-regs.h:576:
+#define DXEPCTL_MPS(_x)^I^I^I((_x) << 0)$

ERROR: code indent should never use tabs
#598: FILE: include/hw/usb/dwc2-regs.h:578:
+#define DIEPINT(_a)^I^I^IHSOTG_REG(0x908 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#599: FILE: include/hw/usb/dwc2-regs.h:579:
+#define DOEPINT(_a)^I^I^IHSOTG_REG(0xB08 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#600: FILE: include/hw/usb/dwc2-regs.h:580:
+#define DXEPINT_SETUP_RCVD^I^IBIT(15)$

ERROR: code indent should never use tabs
#601: FILE: include/hw/usb/dwc2-regs.h:581:
+#define DXEPINT_NYETINTRPT^I^IBIT(14)$

ERROR: code indent should never use tabs
#602: FILE: include/hw/usb/dwc2-regs.h:582:
+#define DXEPINT_NAKINTRPT^I^IBIT(13)$

ERROR: code indent should never use tabs
#603: FILE: include/hw/usb/dwc2-regs.h:583:
+#define DXEPINT_BBLEERRINTRPT^I^IBIT(12)$

ERROR: code indent should never use tabs
#604: FILE: include/hw/usb/dwc2-regs.h:584:
+#define DXEPINT_PKTDRPSTS^I^IBIT(11)$

ERROR: code indent should never use tabs
#605: FILE: include/hw/usb/dwc2-regs.h:585:
+#define DXEPINT_BNAINTR^I^I^IBIT(9)$

ERROR: code indent should never use tabs
#606: FILE: include/hw/usb/dwc2-regs.h:586:
+#define DXEPINT_TXFIFOUNDRN^I^IBIT(8)$

ERROR: code indent should never use tabs
#607: FILE: include/hw/usb/dwc2-regs.h:587:
+#define DXEPINT_OUTPKTERR^I^IBIT(8)$

ERROR: code indent should never use tabs
#608: FILE: include/hw/usb/dwc2-regs.h:588:
+#define DXEPINT_TXFEMP^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#609: FILE: include/hw/usb/dwc2-regs.h:589:
+#define DXEPINT_INEPNAKEFF^I^IBIT(6)$

ERROR: code indent should never use tabs
#610: FILE: include/hw/usb/dwc2-regs.h:590:
+#define DXEPINT_BACK2BACKSETUP^I^IBIT(6)$

ERROR: code indent should never use tabs
#611: FILE: include/hw/usb/dwc2-regs.h:591:
+#define DXEPINT_INTKNEPMIS^I^IBIT(5)$

ERROR: code indent should never use tabs
#612: FILE: include/hw/usb/dwc2-regs.h:592:
+#define DXEPINT_STSPHSERCVD^I^IBIT(5)$

ERROR: code indent should never use tabs
#613: FILE: include/hw/usb/dwc2-regs.h:593:
+#define DXEPINT_INTKNTXFEMP^I^IBIT(4)$

ERROR: code indent should never use tabs
#614: FILE: include/hw/usb/dwc2-regs.h:594:
+#define DXEPINT_OUTTKNEPDIS^I^IBIT(4)$

ERROR: code indent should never use tabs
#615: FILE: include/hw/usb/dwc2-regs.h:595:
+#define DXEPINT_TIMEOUT^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#616: FILE: include/hw/usb/dwc2-regs.h:596:
+#define DXEPINT_SETUP^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#617: FILE: include/hw/usb/dwc2-regs.h:597:
+#define DXEPINT_AHBERR^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#618: FILE: include/hw/usb/dwc2-regs.h:598:
+#define DXEPINT_EPDISBLD^I^IBIT(1)$

ERROR: code indent should never use tabs
#619: FILE: include/hw/usb/dwc2-regs.h:599:
+#define DXEPINT_XFERCOMPL^I^IBIT(0)$

ERROR: code indent should never use tabs
#621: FILE: include/hw/usb/dwc2-regs.h:601:
+#define DIEPTSIZ0^I^I^IHSOTG_REG(0x910)$

ERROR: code indent should never use tabs
#622: FILE: include/hw/usb/dwc2-regs.h:602:
+#define DIEPTSIZ0_PKTCNT_MASK^I^I(0x3 << 19)$

ERROR: code indent should never use tabs
#623: FILE: include/hw/usb/dwc2-regs.h:603:
+#define DIEPTSIZ0_PKTCNT_SHIFT^I^I19$

ERROR: code indent should never use tabs
#624: FILE: include/hw/usb/dwc2-regs.h:604:
+#define DIEPTSIZ0_PKTCNT_LIMIT^I^I0x3$

ERROR: code indent should never use tabs
#625: FILE: include/hw/usb/dwc2-regs.h:605:
+#define DIEPTSIZ0_PKTCNT(_x)^I^I((_x) << 19)$

ERROR: code indent should never use tabs
#626: FILE: include/hw/usb/dwc2-regs.h:606:
+#define DIEPTSIZ0_XFERSIZE_MASK^I^I(0x7f << 0)$

ERROR: code indent should never use tabs
#627: FILE: include/hw/usb/dwc2-regs.h:607:
+#define DIEPTSIZ0_XFERSIZE_SHIFT^I0$

ERROR: code indent should never use tabs
#628: FILE: include/hw/usb/dwc2-regs.h:608:
+#define DIEPTSIZ0_XFERSIZE_LIMIT^I0x7f$

ERROR: code indent should never use tabs
#629: FILE: include/hw/usb/dwc2-regs.h:609:
+#define DIEPTSIZ0_XFERSIZE(_x)^I^I((_x) << 0)$

ERROR: code indent should never use tabs
#631: FILE: include/hw/usb/dwc2-regs.h:611:
+#define DOEPTSIZ0^I^I^IHSOTG_REG(0xB10)$

ERROR: code indent should never use tabs
#632: FILE: include/hw/usb/dwc2-regs.h:612:
+#define DOEPTSIZ0_SUPCNT_MASK^I^I(0x3 << 29)$

ERROR: code indent should never use tabs
#633: FILE: include/hw/usb/dwc2-regs.h:613:
+#define DOEPTSIZ0_SUPCNT_SHIFT^I^I29$

ERROR: code indent should never use tabs
#634: FILE: include/hw/usb/dwc2-regs.h:614:
+#define DOEPTSIZ0_SUPCNT_LIMIT^I^I0x3$

ERROR: code indent should never use tabs
#635: FILE: include/hw/usb/dwc2-regs.h:615:
+#define DOEPTSIZ0_SUPCNT(_x)^I^I((_x) << 29)$

ERROR: code indent should never use tabs
#636: FILE: include/hw/usb/dwc2-regs.h:616:
+#define DOEPTSIZ0_PKTCNT^I^IBIT(19)$

ERROR: code indent should never use tabs
#637: FILE: include/hw/usb/dwc2-regs.h:617:
+#define DOEPTSIZ0_XFERSIZE_MASK^I^I(0x7f << 0)$

ERROR: code indent should never use tabs
#638: FILE: include/hw/usb/dwc2-regs.h:618:
+#define DOEPTSIZ0_XFERSIZE_SHIFT^I0$

ERROR: code indent should never use tabs
#640: FILE: include/hw/usb/dwc2-regs.h:620:
+#define DIEPTSIZ(_a)^I^I^IHSOTG_REG(0x910 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#641: FILE: include/hw/usb/dwc2-regs.h:621:
+#define DOEPTSIZ(_a)^I^I^IHSOTG_REG(0xB10 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#642: FILE: include/hw/usb/dwc2-regs.h:622:
+#define DXEPTSIZ_MC_MASK^I^I(0x3 << 29)$

ERROR: code indent should never use tabs
#643: FILE: include/hw/usb/dwc2-regs.h:623:
+#define DXEPTSIZ_MC_SHIFT^I^I29$

ERROR: code indent should never use tabs
#644: FILE: include/hw/usb/dwc2-regs.h:624:
+#define DXEPTSIZ_MC_LIMIT^I^I0x3$

ERROR: code indent should never use tabs
#645: FILE: include/hw/usb/dwc2-regs.h:625:
+#define DXEPTSIZ_MC(_x)^I^I^I((_x) << 29)$

ERROR: code indent should never use tabs
#646: FILE: include/hw/usb/dwc2-regs.h:626:
+#define DXEPTSIZ_PKTCNT_MASK^I^I(0x3ff << 19)$

ERROR: code indent should never use tabs
#647: FILE: include/hw/usb/dwc2-regs.h:627:
+#define DXEPTSIZ_PKTCNT_SHIFT^I^I19$

ERROR: code indent should never use tabs
#648: FILE: include/hw/usb/dwc2-regs.h:628:
+#define DXEPTSIZ_PKTCNT_LIMIT^I^I0x3ff$

ERROR: code indent should never use tabs
#649: FILE: include/hw/usb/dwc2-regs.h:629:
+#define DXEPTSIZ_PKTCNT_GET(_v)^I^I(((_v) >> 19) & 0x3ff)$

ERROR: code indent should never use tabs
#650: FILE: include/hw/usb/dwc2-regs.h:630:
+#define DXEPTSIZ_PKTCNT(_x)^I^I((_x) << 19)$

ERROR: code indent should never use tabs
#651: FILE: include/hw/usb/dwc2-regs.h:631:
+#define DXEPTSIZ_XFERSIZE_MASK^I^I(0x7ffff << 0)$

ERROR: code indent should never use tabs
#652: FILE: include/hw/usb/dwc2-regs.h:632:
+#define DXEPTSIZ_XFERSIZE_SHIFT^I^I0$

ERROR: code indent should never use tabs
#653: FILE: include/hw/usb/dwc2-regs.h:633:
+#define DXEPTSIZ_XFERSIZE_LIMIT^I^I0x7ffff$

ERROR: code indent should never use tabs
#654: FILE: include/hw/usb/dwc2-regs.h:634:
+#define DXEPTSIZ_XFERSIZE_GET(_v)^I(((_v) >> 0) & 0x7ffff)$

ERROR: code indent should never use tabs
#655: FILE: include/hw/usb/dwc2-regs.h:635:
+#define DXEPTSIZ_XFERSIZE(_x)^I^I((_x) << 0)$

ERROR: code indent should never use tabs
#657: FILE: include/hw/usb/dwc2-regs.h:637:
+#define DIEPDMA(_a)^I^I^IHSOTG_REG(0x914 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#658: FILE: include/hw/usb/dwc2-regs.h:638:
+#define DOEPDMA(_a)^I^I^IHSOTG_REG(0xB14 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#660: FILE: include/hw/usb/dwc2-regs.h:640:
+#define DTXFSTS(_a)^I^I^IHSOTG_REG(0x918 + ((_a) * 0x20))$

ERROR: code indent should never use tabs
#662: FILE: include/hw/usb/dwc2-regs.h:642:
+#define PCGCTL^I^I^I^IHSOTG_REG(0x0e00)$

ERROR: code indent should never use tabs
#663: FILE: include/hw/usb/dwc2-regs.h:643:
+#define PCGCTL_IF_DEV_MODE^I^IBIT(31)$

ERROR: code indent should never use tabs
#664: FILE: include/hw/usb/dwc2-regs.h:644:
+#define PCGCTL_P2HD_PRT_SPD_MASK^I(0x3 << 29)$

ERROR: code indent should never use tabs
#665: FILE: include/hw/usb/dwc2-regs.h:645:
+#define PCGCTL_P2HD_PRT_SPD_SHIFT^I29$

ERROR: code indent should never use tabs
#666: FILE: include/hw/usb/dwc2-regs.h:646:
+#define PCGCTL_P2HD_DEV_ENUM_SPD_MASK^I(0x3 << 27)$

ERROR: code indent should never use tabs
#667: FILE: include/hw/usb/dwc2-regs.h:647:
+#define PCGCTL_P2HD_DEV_ENUM_SPD_SHIFT^I27$

ERROR: code indent should never use tabs
#668: FILE: include/hw/usb/dwc2-regs.h:648:
+#define PCGCTL_MAC_DEV_ADDR_MASK^I(0x7f << 20)$

ERROR: code indent should never use tabs
#669: FILE: include/hw/usb/dwc2-regs.h:649:
+#define PCGCTL_MAC_DEV_ADDR_SHIFT^I20$

ERROR: code indent should never use tabs
#670: FILE: include/hw/usb/dwc2-regs.h:650:
+#define PCGCTL_MAX_TERMSEL^I^IBIT(19)$

ERROR: code indent should never use tabs
#671: FILE: include/hw/usb/dwc2-regs.h:651:
+#define PCGCTL_MAX_XCVRSELECT_MASK^I(0x3 << 17)$

ERROR: code indent should never use tabs
#672: FILE: include/hw/usb/dwc2-regs.h:652:
+#define PCGCTL_MAX_XCVRSELECT_SHIFT^I17$

ERROR: code indent should never use tabs
#673: FILE: include/hw/usb/dwc2-regs.h:653:
+#define PCGCTL_PORT_POWER^I^IBIT(16)$

ERROR: code indent should never use tabs
#674: FILE: include/hw/usb/dwc2-regs.h:654:
+#define PCGCTL_PRT_CLK_SEL_MASK^I^I(0x3 << 14)$

ERROR: code indent should never use tabs
#675: FILE: include/hw/usb/dwc2-regs.h:655:
+#define PCGCTL_PRT_CLK_SEL_SHIFT^I14$

ERROR: code indent should never use tabs
#676: FILE: include/hw/usb/dwc2-regs.h:656:
+#define PCGCTL_ESS_REG_RESTORED^I^IBIT(13)$

ERROR: code indent should never use tabs
#677: FILE: include/hw/usb/dwc2-regs.h:657:
+#define PCGCTL_EXTND_HIBER_SWITCH^IBIT(12)$

ERROR: code indent should never use tabs
#678: FILE: include/hw/usb/dwc2-regs.h:658:
+#define PCGCTL_EXTND_HIBER_PWRCLMP^IBIT(11)$

ERROR: code indent should never use tabs
#679: FILE: include/hw/usb/dwc2-regs.h:659:
+#define PCGCTL_ENBL_EXTND_HIBER^I^IBIT(10)$

ERROR: code indent should never use tabs
#680: FILE: include/hw/usb/dwc2-regs.h:660:
+#define PCGCTL_RESTOREMODE^I^IBIT(9)$

ERROR: code indent should never use tabs
#681: FILE: include/hw/usb/dwc2-regs.h:661:
+#define PCGCTL_RESETAFTSUSP^I^IBIT(8)$

ERROR: code indent should never use tabs
#682: FILE: include/hw/usb/dwc2-regs.h:662:
+#define PCGCTL_DEEP_SLEEP^I^IBIT(7)$

ERROR: code indent should never use tabs
#683: FILE: include/hw/usb/dwc2-regs.h:663:
+#define PCGCTL_PHY_IN_SLEEP^I^IBIT(6)$

ERROR: code indent should never use tabs
#684: FILE: include/hw/usb/dwc2-regs.h:664:
+#define PCGCTL_ENBL_SLEEP_GATING^IBIT(5)$

ERROR: code indent should never use tabs
#685: FILE: include/hw/usb/dwc2-regs.h:665:
+#define PCGCTL_RSTPDWNMODULE^I^IBIT(3)$

ERROR: code indent should never use tabs
#686: FILE: include/hw/usb/dwc2-regs.h:666:
+#define PCGCTL_PWRCLMP^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#687: FILE: include/hw/usb/dwc2-regs.h:667:
+#define PCGCTL_GATEHCLK^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#688: FILE: include/hw/usb/dwc2-regs.h:668:
+#define PCGCTL_STOPPCLK^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#694: FILE: include/hw/usb/dwc2-regs.h:674:
+#define EPFIFO(_a)^I^I^IHSOTG_REG(0x1000 + ((_a) * 0x1000))$

ERROR: code indent should never use tabs
#698: FILE: include/hw/usb/dwc2-regs.h:678:
+#define HCFG^I^I^I^IHSOTG_REG(0x0400)$

ERROR: code indent should never use tabs
#699: FILE: include/hw/usb/dwc2-regs.h:679:
+#define HCFG_MODECHTIMEN^I^IBIT(31)$

ERROR: code indent should never use tabs
#700: FILE: include/hw/usb/dwc2-regs.h:680:
+#define HCFG_PERSCHEDENA^I^IBIT(26)$

ERROR: code indent should never use tabs
#701: FILE: include/hw/usb/dwc2-regs.h:681:
+#define HCFG_FRLISTEN_MASK^I^I(0x3 << 24)$

ERROR: code indent should never use tabs
#702: FILE: include/hw/usb/dwc2-regs.h:682:
+#define HCFG_FRLISTEN_SHIFT^I^I24$

ERROR: code indent should never use tabs
#703: FILE: include/hw/usb/dwc2-regs.h:683:
+#define HCFG_FRLISTEN_8^I^I^I^I(0 << 24)$

ERROR: code indent should never use tabs
#704: FILE: include/hw/usb/dwc2-regs.h:684:
+#define FRLISTEN_8_SIZE^I^I^I^I8$

ERROR: code indent should never use tabs
#705: FILE: include/hw/usb/dwc2-regs.h:685:
+#define HCFG_FRLISTEN_16^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#706: FILE: include/hw/usb/dwc2-regs.h:686:
+#define FRLISTEN_16_SIZE^I^I^I16$

ERROR: code indent should never use tabs
#707: FILE: include/hw/usb/dwc2-regs.h:687:
+#define HCFG_FRLISTEN_32^I^I^I(2 << 24)$

ERROR: code indent should never use tabs
#708: FILE: include/hw/usb/dwc2-regs.h:688:
+#define FRLISTEN_32_SIZE^I^I^I32$

ERROR: code indent should never use tabs
#709: FILE: include/hw/usb/dwc2-regs.h:689:
+#define HCFG_FRLISTEN_64^I^I^I(3 << 24)$

ERROR: code indent should never use tabs
#710: FILE: include/hw/usb/dwc2-regs.h:690:
+#define FRLISTEN_64_SIZE^I^I^I64$

ERROR: code indent should never use tabs
#711: FILE: include/hw/usb/dwc2-regs.h:691:
+#define HCFG_DESCDMA^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#712: FILE: include/hw/usb/dwc2-regs.h:692:
+#define HCFG_RESVALID_MASK^I^I(0xff << 8)$

ERROR: code indent should never use tabs
#713: FILE: include/hw/usb/dwc2-regs.h:693:
+#define HCFG_RESVALID_SHIFT^I^I8$

ERROR: code indent should never use tabs
#714: FILE: include/hw/usb/dwc2-regs.h:694:
+#define HCFG_ENA32KHZ^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#715: FILE: include/hw/usb/dwc2-regs.h:695:
+#define HCFG_FSLSSUPP^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#716: FILE: include/hw/usb/dwc2-regs.h:696:
+#define HCFG_FSLSPCLKSEL_MASK^I^I(0x3 << 0)$

ERROR: code indent should never use tabs
#717: FILE: include/hw/usb/dwc2-regs.h:697:
+#define HCFG_FSLSPCLKSEL_SHIFT^I^I0$

ERROR: code indent should never use tabs
#718: FILE: include/hw/usb/dwc2-regs.h:698:
+#define HCFG_FSLSPCLKSEL_30_60_MHZ^I0$

ERROR: code indent should never use tabs
#719: FILE: include/hw/usb/dwc2-regs.h:699:
+#define HCFG_FSLSPCLKSEL_48_MHZ^I^I1$

ERROR: code indent should never use tabs
#720: FILE: include/hw/usb/dwc2-regs.h:700:
+#define HCFG_FSLSPCLKSEL_6_MHZ^I^I2$

ERROR: code indent should never use tabs
#722: FILE: include/hw/usb/dwc2-regs.h:702:
+#define HFIR^I^I^I^IHSOTG_REG(0x0404)$

ERROR: code indent should never use tabs
#723: FILE: include/hw/usb/dwc2-regs.h:703:
+#define HFIR_FRINT_MASK^I^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#724: FILE: include/hw/usb/dwc2-regs.h:704:
+#define HFIR_FRINT_SHIFT^I^I0$

ERROR: code indent should never use tabs
#725: FILE: include/hw/usb/dwc2-regs.h:705:
+#define HFIR_RLDCTRL^I^I^IBIT(16)$

ERROR: code indent should never use tabs
#727: FILE: include/hw/usb/dwc2-regs.h:707:
+#define HFNUM^I^I^I^IHSOTG_REG(0x0408)$

ERROR: code indent should never use tabs
#728: FILE: include/hw/usb/dwc2-regs.h:708:
+#define HFNUM_FRREM_MASK^I^I(0xffff << 16)$

ERROR: code indent should never use tabs
#729: FILE: include/hw/usb/dwc2-regs.h:709:
+#define HFNUM_FRREM_SHIFT^I^I16$

ERROR: code indent should never use tabs
#730: FILE: include/hw/usb/dwc2-regs.h:710:
+#define HFNUM_FRNUM_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#731: FILE: include/hw/usb/dwc2-regs.h:711:
+#define HFNUM_FRNUM_SHIFT^I^I0$

ERROR: code indent should never use tabs
#732: FILE: include/hw/usb/dwc2-regs.h:712:
+#define HFNUM_MAX_FRNUM^I^I^I0x3fff$

ERROR: code indent should never use tabs
#734: FILE: include/hw/usb/dwc2-regs.h:714:
+#define HPTXSTS^I^I^I^IHSOTG_REG(0x0410)$

ERROR: code indent should never use tabs
#735: FILE: include/hw/usb/dwc2-regs.h:715:
+#define TXSTS_QTOP_ODD^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#736: FILE: include/hw/usb/dwc2-regs.h:716:
+#define TXSTS_QTOP_CHNEP_MASK^I^I(0xf << 27)$

ERROR: code indent should never use tabs
#737: FILE: include/hw/usb/dwc2-regs.h:717:
+#define TXSTS_QTOP_CHNEP_SHIFT^I^I27$

ERROR: code indent should never use tabs
#738: FILE: include/hw/usb/dwc2-regs.h:718:
+#define TXSTS_QTOP_TOKEN_MASK^I^I(0x3 << 25)$

ERROR: code indent should never use tabs
#739: FILE: include/hw/usb/dwc2-regs.h:719:
+#define TXSTS_QTOP_TOKEN_SHIFT^I^I25$

ERROR: code indent should never use tabs
#740: FILE: include/hw/usb/dwc2-regs.h:720:
+#define TXSTS_QTOP_TERMINATE^I^IBIT(24)$

ERROR: code indent should never use tabs
#741: FILE: include/hw/usb/dwc2-regs.h:721:
+#define TXSTS_QSPCAVAIL_MASK^I^I(0xff << 16)$

ERROR: code indent should never use tabs
#742: FILE: include/hw/usb/dwc2-regs.h:722:
+#define TXSTS_QSPCAVAIL_SHIFT^I^I16$

ERROR: code indent should never use tabs
#743: FILE: include/hw/usb/dwc2-regs.h:723:
+#define TXSTS_FSPCAVAIL_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#744: FILE: include/hw/usb/dwc2-regs.h:724:
+#define TXSTS_FSPCAVAIL_SHIFT^I^I0$

ERROR: code indent should never use tabs
#746: FILE: include/hw/usb/dwc2-regs.h:726:
+#define HAINT^I^I^I^IHSOTG_REG(0x0414)$

ERROR: code indent should never use tabs
#747: FILE: include/hw/usb/dwc2-regs.h:727:
+#define HAINTMSK^I^I^IHSOTG_REG(0x0418)$

ERROR: code indent should never use tabs
#748: FILE: include/hw/usb/dwc2-regs.h:728:
+#define HFLBADDR^I^I^IHSOTG_REG(0x041c)$

ERROR: code indent should never use tabs
#750: FILE: include/hw/usb/dwc2-regs.h:730:
+#define HPRT0^I^I^I^IHSOTG_REG(0x0440)$

ERROR: code indent should never use tabs
#751: FILE: include/hw/usb/dwc2-regs.h:731:
+#define HPRT0_SPD_MASK^I^I^I(0x3 << 17)$

ERROR: code indent should never use tabs
#752: FILE: include/hw/usb/dwc2-regs.h:732:
+#define HPRT0_SPD_SHIFT^I^I^I17$

ERROR: code indent should never use tabs
#753: FILE: include/hw/usb/dwc2-regs.h:733:
+#define HPRT0_SPD_HIGH_SPEED^I^I0$

ERROR: code indent should never use tabs
#754: FILE: include/hw/usb/dwc2-regs.h:734:
+#define HPRT0_SPD_FULL_SPEED^I^I1$

ERROR: code indent should never use tabs
#755: FILE: include/hw/usb/dwc2-regs.h:735:
+#define HPRT0_SPD_LOW_SPEED^I^I2$

ERROR: code indent should never use tabs
#756: FILE: include/hw/usb/dwc2-regs.h:736:
+#define HPRT0_TSTCTL_MASK^I^I(0xf << 13)$

ERROR: code indent should never use tabs
#757: FILE: include/hw/usb/dwc2-regs.h:737:
+#define HPRT0_TSTCTL_SHIFT^I^I13$

ERROR: code indent should never use tabs
#758: FILE: include/hw/usb/dwc2-regs.h:738:
+#define HPRT0_PWR^I^I^IBIT(12)$

ERROR: code indent should never use tabs
#759: FILE: include/hw/usb/dwc2-regs.h:739:
+#define HPRT0_LNSTS_MASK^I^I(0x3 << 10)$

ERROR: code indent should never use tabs
#760: FILE: include/hw/usb/dwc2-regs.h:740:
+#define HPRT0_LNSTS_SHIFT^I^I10$

ERROR: code indent should never use tabs
#761: FILE: include/hw/usb/dwc2-regs.h:741:
+#define HPRT0_RST^I^I^IBIT(8)$

ERROR: code indent should never use tabs
#762: FILE: include/hw/usb/dwc2-regs.h:742:
+#define HPRT0_SUSP^I^I^IBIT(7)$

ERROR: code indent should never use tabs
#763: FILE: include/hw/usb/dwc2-regs.h:743:
+#define HPRT0_RES^I^I^IBIT(6)$

ERROR: code indent should never use tabs
#764: FILE: include/hw/usb/dwc2-regs.h:744:
+#define HPRT0_OVRCURRCHG^I^IBIT(5)$

ERROR: code indent should never use tabs
#765: FILE: include/hw/usb/dwc2-regs.h:745:
+#define HPRT0_OVRCURRACT^I^IBIT(4)$

ERROR: code indent should never use tabs
#766: FILE: include/hw/usb/dwc2-regs.h:746:
+#define HPRT0_ENACHG^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#767: FILE: include/hw/usb/dwc2-regs.h:747:
+#define HPRT0_ENA^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#768: FILE: include/hw/usb/dwc2-regs.h:748:
+#define HPRT0_CONNDET^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#769: FILE: include/hw/usb/dwc2-regs.h:749:
+#define HPRT0_CONNSTS^I^I^IBIT(0)$

ERROR: code indent should never use tabs
#771: FILE: include/hw/usb/dwc2-regs.h:751:
+#define HCCHAR(_ch)^I^I^IHSOTG_REG(0x0500 + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#772: FILE: include/hw/usb/dwc2-regs.h:752:
+#define HCCHAR_CHENA^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#773: FILE: include/hw/usb/dwc2-regs.h:753:
+#define HCCHAR_CHDIS^I^I^IBIT(30)$

ERROR: code indent should never use tabs
#774: FILE: include/hw/usb/dwc2-regs.h:754:
+#define HCCHAR_ODDFRM^I^I^IBIT(29)$

ERROR: code indent should never use tabs
#775: FILE: include/hw/usb/dwc2-regs.h:755:
+#define HCCHAR_DEVADDR_MASK^I^I(0x7f << 22)$

ERROR: code indent should never use tabs
#776: FILE: include/hw/usb/dwc2-regs.h:756:
+#define HCCHAR_DEVADDR_SHIFT^I^I22$

ERROR: code indent should never use tabs
#777: FILE: include/hw/usb/dwc2-regs.h:757:
+#define HCCHAR_MULTICNT_MASK^I^I(0x3 << 20)$

ERROR: code indent should never use tabs
#778: FILE: include/hw/usb/dwc2-regs.h:758:
+#define HCCHAR_MULTICNT_SHIFT^I^I20$

ERROR: code indent should never use tabs
#779: FILE: include/hw/usb/dwc2-regs.h:759:
+#define HCCHAR_EPTYPE_MASK^I^I(0x3 << 18)$

ERROR: code indent should never use tabs
#780: FILE: include/hw/usb/dwc2-regs.h:760:
+#define HCCHAR_EPTYPE_SHIFT^I^I18$

ERROR: code indent should never use tabs
#781: FILE: include/hw/usb/dwc2-regs.h:761:
+#define HCCHAR_LSPDDEV^I^I^IBIT(17)$

ERROR: code indent should never use tabs
#782: FILE: include/hw/usb/dwc2-regs.h:762:
+#define HCCHAR_EPDIR^I^I^IBIT(15)$

ERROR: code indent should never use tabs
#783: FILE: include/hw/usb/dwc2-regs.h:763:
+#define HCCHAR_EPNUM_MASK^I^I(0xf << 11)$

ERROR: code indent should never use tabs
#784: FILE: include/hw/usb/dwc2-regs.h:764:
+#define HCCHAR_EPNUM_SHIFT^I^I11$

ERROR: code indent should never use tabs
#785: FILE: include/hw/usb/dwc2-regs.h:765:
+#define HCCHAR_MPS_MASK^I^I^I(0x7ff << 0)$

ERROR: code indent should never use tabs
#786: FILE: include/hw/usb/dwc2-regs.h:766:
+#define HCCHAR_MPS_SHIFT^I^I0$

ERROR: code indent should never use tabs
#788: FILE: include/hw/usb/dwc2-regs.h:768:
+#define HCSPLT(_ch)^I^I^IHSOTG_REG(0x0504 + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#789: FILE: include/hw/usb/dwc2-regs.h:769:
+#define HCSPLT_SPLTENA^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#790: FILE: include/hw/usb/dwc2-regs.h:770:
+#define HCSPLT_COMPSPLT^I^I^IBIT(16)$

ERROR: code indent should never use tabs
#791: FILE: include/hw/usb/dwc2-regs.h:771:
+#define HCSPLT_XACTPOS_MASK^I^I(0x3 << 14)$

ERROR: code indent should never use tabs
#792: FILE: include/hw/usb/dwc2-regs.h:772:
+#define HCSPLT_XACTPOS_SHIFT^I^I14$

ERROR: code indent should never use tabs
#793: FILE: include/hw/usb/dwc2-regs.h:773:
+#define HCSPLT_XACTPOS_MID^I^I0$

ERROR: code indent should never use tabs
#794: FILE: include/hw/usb/dwc2-regs.h:774:
+#define HCSPLT_XACTPOS_END^I^I1$

ERROR: code indent should never use tabs
#795: FILE: include/hw/usb/dwc2-regs.h:775:
+#define HCSPLT_XACTPOS_BEGIN^I^I2$

ERROR: code indent should never use tabs
#796: FILE: include/hw/usb/dwc2-regs.h:776:
+#define HCSPLT_XACTPOS_ALL^I^I3$

ERROR: code indent should never use tabs
#797: FILE: include/hw/usb/dwc2-regs.h:777:
+#define HCSPLT_HUBADDR_MASK^I^I(0x7f << 7)$

ERROR: code indent should never use tabs
#798: FILE: include/hw/usb/dwc2-regs.h:778:
+#define HCSPLT_HUBADDR_SHIFT^I^I7$

ERROR: code indent should never use tabs
#799: FILE: include/hw/usb/dwc2-regs.h:779:
+#define HCSPLT_PRTADDR_MASK^I^I(0x7f << 0)$

ERROR: code indent should never use tabs
#800: FILE: include/hw/usb/dwc2-regs.h:780:
+#define HCSPLT_PRTADDR_SHIFT^I^I0$

ERROR: code indent should never use tabs
#802: FILE: include/hw/usb/dwc2-regs.h:782:
+#define HCINT(_ch)^I^I^IHSOTG_REG(0x0508 + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#803: FILE: include/hw/usb/dwc2-regs.h:783:
+#define HCINTMSK(_ch)^I^I^IHSOTG_REG(0x050c + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#804: FILE: include/hw/usb/dwc2-regs.h:784:
+#define HCINTMSK_RESERVED14_31^I^I(0x3ffff << 14)$

ERROR: code indent should never use tabs
#805: FILE: include/hw/usb/dwc2-regs.h:785:
+#define HCINTMSK_FRM_LIST_ROLL^I^IBIT(13)$

ERROR: code indent should never use tabs
#806: FILE: include/hw/usb/dwc2-regs.h:786:
+#define HCINTMSK_XCS_XACT^I^IBIT(12)$

ERROR: code indent should never use tabs
#807: FILE: include/hw/usb/dwc2-regs.h:787:
+#define HCINTMSK_BNA^I^I^IBIT(11)$

ERROR: code indent should never use tabs
#808: FILE: include/hw/usb/dwc2-regs.h:788:
+#define HCINTMSK_DATATGLERR^I^IBIT(10)$

ERROR: code indent should never use tabs
#809: FILE: include/hw/usb/dwc2-regs.h:789:
+#define HCINTMSK_FRMOVRUN^I^IBIT(9)$

ERROR: code indent should never use tabs
#810: FILE: include/hw/usb/dwc2-regs.h:790:
+#define HCINTMSK_BBLERR^I^I^IBIT(8)$

ERROR: code indent should never use tabs
#811: FILE: include/hw/usb/dwc2-regs.h:791:
+#define HCINTMSK_XACTERR^I^IBIT(7)$

ERROR: code indent should never use tabs
#812: FILE: include/hw/usb/dwc2-regs.h:792:
+#define HCINTMSK_NYET^I^I^IBIT(6)$

ERROR: code indent should never use tabs
#813: FILE: include/hw/usb/dwc2-regs.h:793:
+#define HCINTMSK_ACK^I^I^IBIT(5)$

ERROR: code indent should never use tabs
#814: FILE: include/hw/usb/dwc2-regs.h:794:
+#define HCINTMSK_NAK^I^I^IBIT(4)$

ERROR: code indent should never use tabs
#815: FILE: include/hw/usb/dwc2-regs.h:795:
+#define HCINTMSK_STALL^I^I^IBIT(3)$

ERROR: code indent should never use tabs
#816: FILE: include/hw/usb/dwc2-regs.h:796:
+#define HCINTMSK_AHBERR^I^I^IBIT(2)$

ERROR: code indent should never use tabs
#817: FILE: include/hw/usb/dwc2-regs.h:797:
+#define HCINTMSK_CHHLTD^I^I^IBIT(1)$

ERROR: code indent should never use tabs
#818: FILE: include/hw/usb/dwc2-regs.h:798:
+#define HCINTMSK_XFERCOMPL^I^IBIT(0)$

ERROR: code indent should never use tabs
#820: FILE: include/hw/usb/dwc2-regs.h:800:
+#define HCTSIZ(_ch)^I^I^IHSOTG_REG(0x0510 + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#821: FILE: include/hw/usb/dwc2-regs.h:801:
+#define TSIZ_DOPNG^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#822: FILE: include/hw/usb/dwc2-regs.h:802:
+#define TSIZ_SC_MC_PID_MASK^I^I(0x3 << 29)$

ERROR: code indent should never use tabs
#823: FILE: include/hw/usb/dwc2-regs.h:803:
+#define TSIZ_SC_MC_PID_SHIFT^I^I29$

ERROR: code indent should never use tabs
#824: FILE: include/hw/usb/dwc2-regs.h:804:
+#define TSIZ_SC_MC_PID_DATA0^I^I0$

ERROR: code indent should never use tabs
#825: FILE: include/hw/usb/dwc2-regs.h:805:
+#define TSIZ_SC_MC_PID_DATA2^I^I1$

ERROR: code indent should never use tabs
#826: FILE: include/hw/usb/dwc2-regs.h:806:
+#define TSIZ_SC_MC_PID_DATA1^I^I2$

ERROR: code indent should never use tabs
#827: FILE: include/hw/usb/dwc2-regs.h:807:
+#define TSIZ_SC_MC_PID_MDATA^I^I3$

ERROR: code indent should never use tabs
#828: FILE: include/hw/usb/dwc2-regs.h:808:
+#define TSIZ_SC_MC_PID_SETUP^I^I3$

ERROR: code indent should never use tabs
#829: FILE: include/hw/usb/dwc2-regs.h:809:
+#define TSIZ_PKTCNT_MASK^I^I(0x3ff << 19)$

ERROR: code indent should never use tabs
#830: FILE: include/hw/usb/dwc2-regs.h:810:
+#define TSIZ_PKTCNT_SHIFT^I^I19$

ERROR: code indent should never use tabs
#831: FILE: include/hw/usb/dwc2-regs.h:811:
+#define TSIZ_NTD_MASK^I^I^I(0xff << 8)$

ERROR: code indent should never use tabs
#832: FILE: include/hw/usb/dwc2-regs.h:812:
+#define TSIZ_NTD_SHIFT^I^I^I8$

ERROR: code indent should never use tabs
#833: FILE: include/hw/usb/dwc2-regs.h:813:
+#define TSIZ_SCHINFO_MASK^I^I(0xff << 0)$

ERROR: code indent should never use tabs
#834: FILE: include/hw/usb/dwc2-regs.h:814:
+#define TSIZ_SCHINFO_SHIFT^I^I0$

ERROR: code indent should never use tabs
#835: FILE: include/hw/usb/dwc2-regs.h:815:
+#define TSIZ_XFERSIZE_MASK^I^I(0x7ffff << 0)$

ERROR: code indent should never use tabs
#836: FILE: include/hw/usb/dwc2-regs.h:816:
+#define TSIZ_XFERSIZE_SHIFT^I^I0$

ERROR: code indent should never use tabs
#838: FILE: include/hw/usb/dwc2-regs.h:818:
+#define HCDMA(_ch)^I^I^IHSOTG_REG(0x0514 + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#840: FILE: include/hw/usb/dwc2-regs.h:820:
+#define HCDMAB(_ch)^I^I^IHSOTG_REG(0x051c + 0x20 * (_ch))$

ERROR: code indent should never use tabs
#842: FILE: include/hw/usb/dwc2-regs.h:822:
+#define HCFIFO(_ch)^I^I^IHSOTG_REG(0x1000 + 0x1000 * (_ch))$

ERROR: code indent should never use tabs
#855: FILE: include/hw/usb/dwc2-regs.h:835:
+^Iuint32_t status;$

ERROR: code indent should never use tabs
#856: FILE: include/hw/usb/dwc2-regs.h:836:
+^Iuint32_t buf;$

ERROR: code indent should never use tabs
#861: FILE: include/hw/usb/dwc2-regs.h:841:
+#define HOST_DMA_A^I^I^IBIT(31)$

ERROR: code indent should never use tabs
#862: FILE: include/hw/usb/dwc2-regs.h:842:
+#define HOST_DMA_STS_MASK^I^I(0x3 << 28)$

ERROR: code indent should never use tabs
#863: FILE: include/hw/usb/dwc2-regs.h:843:
+#define HOST_DMA_STS_SHIFT^I^I28$

ERROR: code indent should never use tabs
#864: FILE: include/hw/usb/dwc2-regs.h:844:
+#define HOST_DMA_STS_PKTERR^I^IBIT(28)$

ERROR: code indent should never use tabs
#865: FILE: include/hw/usb/dwc2-regs.h:845:
+#define HOST_DMA_EOL^I^I^IBIT(26)$

ERROR: code indent should never use tabs
#866: FILE: include/hw/usb/dwc2-regs.h:846:
+#define HOST_DMA_IOC^I^I^IBIT(25)$

ERROR: code indent should never use tabs
#867: FILE: include/hw/usb/dwc2-regs.h:847:
+#define HOST_DMA_SUP^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#868: FILE: include/hw/usb/dwc2-regs.h:848:
+#define HOST_DMA_ALT_QTD^I^IBIT(23)$

ERROR: code indent should never use tabs
#869: FILE: include/hw/usb/dwc2-regs.h:849:
+#define HOST_DMA_QTD_OFFSET_MASK^I(0x3f << 17)$

ERROR: code indent should never use tabs
#870: FILE: include/hw/usb/dwc2-regs.h:850:
+#define HOST_DMA_QTD_OFFSET_SHIFT^I17$

ERROR: code indent should never use tabs
#871: FILE: include/hw/usb/dwc2-regs.h:851:
+#define HOST_DMA_ISOC_NBYTES_MASK^I(0xfff << 0)$

ERROR: code indent should never use tabs
#872: FILE: include/hw/usb/dwc2-regs.h:852:
+#define HOST_DMA_ISOC_NBYTES_SHIFT^I0$

ERROR: code indent should never use tabs
#873: FILE: include/hw/usb/dwc2-regs.h:853:
+#define HOST_DMA_NBYTES_MASK^I^I(0x1ffff << 0)$

ERROR: code indent should never use tabs
#874: FILE: include/hw/usb/dwc2-regs.h:854:
+#define HOST_DMA_NBYTES_SHIFT^I^I0$

ERROR: code indent should never use tabs
#875: FILE: include/hw/usb/dwc2-regs.h:855:
+#define HOST_DMA_NBYTES_LIMIT^I^I131071$

ERROR: code indent should never use tabs
#879: FILE: include/hw/usb/dwc2-regs.h:859:
+#define DEV_DMA_BUFF_STS_MASK^I^I(0x3 << 30)$

ERROR: code indent should never use tabs
#880: FILE: include/hw/usb/dwc2-regs.h:860:
+#define DEV_DMA_BUFF_STS_SHIFT^I^I30$

ERROR: code indent should never use tabs
#881: FILE: include/hw/usb/dwc2-regs.h:861:
+#define DEV_DMA_BUFF_STS_HREADY^I^I0$

ERROR: code indent should never use tabs
#882: FILE: include/hw/usb/dwc2-regs.h:862:
+#define DEV_DMA_BUFF_STS_DMABUSY^I1$

ERROR: code indent should never use tabs
#883: FILE: include/hw/usb/dwc2-regs.h:863:
+#define DEV_DMA_BUFF_STS_DMADONE^I2$

ERROR: code indent should never use tabs
#884: FILE: include/hw/usb/dwc2-regs.h:864:
+#define DEV_DMA_BUFF_STS_HBUSY^I^I3$

ERROR: code indent should never use tabs
#885: FILE: include/hw/usb/dwc2-regs.h:865:
+#define DEV_DMA_STS_MASK^I^I(0x3 << 28)$

ERROR: code indent should never use tabs
#886: FILE: include/hw/usb/dwc2-regs.h:866:
+#define DEV_DMA_STS_SHIFT^I^I28$

ERROR: code indent should never use tabs
#887: FILE: include/hw/usb/dwc2-regs.h:867:
+#define DEV_DMA_STS_SUCC^I^I0$

ERROR: code indent should never use tabs
#888: FILE: include/hw/usb/dwc2-regs.h:868:
+#define DEV_DMA_STS_BUFF_FLUSH^I^I1$

ERROR: code indent should never use tabs
#889: FILE: include/hw/usb/dwc2-regs.h:869:
+#define DEV_DMA_STS_BUFF_ERR^I^I3$

ERROR: code indent should never use tabs
#890: FILE: include/hw/usb/dwc2-regs.h:870:
+#define DEV_DMA_L^I^I^IBIT(27)$

ERROR: code indent should never use tabs
#891: FILE: include/hw/usb/dwc2-regs.h:871:
+#define DEV_DMA_SHORT^I^I^IBIT(26)$

ERROR: code indent should never use tabs
#892: FILE: include/hw/usb/dwc2-regs.h:872:
+#define DEV_DMA_IOC^I^I^IBIT(25)$

ERROR: code indent should never use tabs
#893: FILE: include/hw/usb/dwc2-regs.h:873:
+#define DEV_DMA_SR^I^I^IBIT(24)$

ERROR: code indent should never use tabs
#894: FILE: include/hw/usb/dwc2-regs.h:874:
+#define DEV_DMA_MTRF^I^I^IBIT(23)$

ERROR: code indent should never use tabs
#895: FILE: include/hw/usb/dwc2-regs.h:875:
+#define DEV_DMA_ISOC_PID_MASK^I^I(0x3 << 23)$

ERROR: code indent should never use tabs
#896: FILE: include/hw/usb/dwc2-regs.h:876:
+#define DEV_DMA_ISOC_PID_SHIFT^I^I23$

ERROR: code indent should never use tabs
#897: FILE: include/hw/usb/dwc2-regs.h:877:
+#define DEV_DMA_ISOC_PID_DATA0^I^I0$

ERROR: code indent should never use tabs
#898: FILE: include/hw/usb/dwc2-regs.h:878:
+#define DEV_DMA_ISOC_PID_DATA2^I^I1$

ERROR: code indent should never use tabs
#899: FILE: include/hw/usb/dwc2-regs.h:879:
+#define DEV_DMA_ISOC_PID_DATA1^I^I2$

ERROR: code indent should never use tabs
#900: FILE: include/hw/usb/dwc2-regs.h:880:
+#define DEV_DMA_ISOC_PID_MDATA^I^I3$

ERROR: code indent should never use tabs
#901: FILE: include/hw/usb/dwc2-regs.h:881:
+#define DEV_DMA_ISOC_FRNUM_MASK^I^I(0x7ff << 12)$

ERROR: code indent should never use tabs
#902: FILE: include/hw/usb/dwc2-regs.h:882:
+#define DEV_DMA_ISOC_FRNUM_SHIFT^I12$

ERROR: code indent should never use tabs
#903: FILE: include/hw/usb/dwc2-regs.h:883:
+#define DEV_DMA_ISOC_TX_NBYTES_MASK^I(0xfff << 0)$

ERROR: code indent should never use tabs
#904: FILE: include/hw/usb/dwc2-regs.h:884:
+#define DEV_DMA_ISOC_TX_NBYTES_LIMIT^I0xfff$

ERROR: code indent should never use tabs
#905: FILE: include/hw/usb/dwc2-regs.h:885:
+#define DEV_DMA_ISOC_RX_NBYTES_MASK^I(0x7ff << 0)$

ERROR: code indent should never use tabs
#906: FILE: include/hw/usb/dwc2-regs.h:886:
+#define DEV_DMA_ISOC_RX_NBYTES_LIMIT^I0x7ff$

ERROR: code indent should never use tabs
#907: FILE: include/hw/usb/dwc2-regs.h:887:
+#define DEV_DMA_ISOC_NBYTES_SHIFT^I0$

ERROR: code indent should never use tabs
#908: FILE: include/hw/usb/dwc2-regs.h:888:
+#define DEV_DMA_NBYTES_MASK^I^I(0xffff << 0)$

ERROR: code indent should never use tabs
#909: FILE: include/hw/usb/dwc2-regs.h:889:
+#define DEV_DMA_NBYTES_SHIFT^I^I0$

ERROR: code indent should never use tabs
#910: FILE: include/hw/usb/dwc2-regs.h:890:
+#define DEV_DMA_NBYTES_LIMIT^I^I0xffff$

ERROR: code indent should never use tabs
#912: FILE: include/hw/usb/dwc2-regs.h:892:
+#define MAX_DMA_DESC_NUM_GENERIC^I64$

ERROR: code indent should never use tabs
#913: FILE: include/hw/usb/dwc2-regs.h:893:
+#define MAX_DMA_DESC_NUM_HS_ISOC^I256$

total: 753 errors, 3 warnings, 895 lines checked

Patch 2/6 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

3/6 Checking commit dfe2b0d327f2 (dwc-hsotg USB host controller state definitions)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#14: 
new file mode 100644

total: 0 errors, 1 warnings, 180 lines checked

Patch 3/6 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
4/6 Checking commit 8f3ea2203934 (dwc-hsotg USB host controller emulation)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#32: 
new file mode 100644

total: 0 errors, 1 warnings, 1354 lines checked

Patch 4/6 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
5/6 Checking commit 6b74a73b7fe2 (Add short-packet handling to usb-storage driver)
6/6 Checking commit 814b8331d9e0 (Wire in the dwc-hsotg USB host controller emulation)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/20200329001705.15966-1-pauldzim@gmail.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com