/***************************************************************************
 *             __________               __   ___.
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
 *                     \/            \/     \/    \/            \/
 * This file was automatically generated by headergen, DO NOT EDIT it.
 * headergen version: 3.0.0
 * imx233 version: 2.4.0
 * imx233 authors: Amaury Pouly
 *
 * Copyright (C) 2015 by the authors
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 * KIND, either express or implied.
 *
 ****************************************************************************/
#ifndef __HEADERGEN_IMX233_USBCTRL_H__
#define __HEADERGEN_IMX233_USBCTRL_H__

#define HW_USBCTRL_ID                   HW(USBCTRL_ID)
#define HWA_USBCTRL_ID                  (0x80080000 + 0x0)
#define HWT_USBCTRL_ID                  HWIO_32_RW
#define HWN_USBCTRL_ID                  USBCTRL_ID
#define HWI_USBCTRL_ID                  
#define BP_USBCTRL_ID_CIVERSION         29
#define BM_USBCTRL_ID_CIVERSION         0xe0000000
#define BF_USBCTRL_ID_CIVERSION(v)      (((v) & 0x7) << 29)
#define BFM_USBCTRL_ID_CIVERSION(v)     BM_USBCTRL_ID_CIVERSION
#define BF_USBCTRL_ID_CIVERSION_V(e)    BF_USBCTRL_ID_CIVERSION(BV_USBCTRL_ID_CIVERSION__##e)
#define BFM_USBCTRL_ID_CIVERSION_V(v)   BM_USBCTRL_ID_CIVERSION
#define BP_USBCTRL_ID_VERSION           25
#define BM_USBCTRL_ID_VERSION           0x1e000000
#define BF_USBCTRL_ID_VERSION(v)        (((v) & 0xf) << 25)
#define BFM_USBCTRL_ID_VERSION(v)       BM_USBCTRL_ID_VERSION
#define BF_USBCTRL_ID_VERSION_V(e)      BF_USBCTRL_ID_VERSION(BV_USBCTRL_ID_VERSION__##e)
#define BFM_USBCTRL_ID_VERSION_V(v)     BM_USBCTRL_ID_VERSION
#define BP_USBCTRL_ID_REVISION          21
#define BM_USBCTRL_ID_REVISION          0x1e00000
#define BF_USBCTRL_ID_REVISION(v)       (((v) & 0xf) << 21)
#define BFM_USBCTRL_ID_REVISION(v)      BM_USBCTRL_ID_REVISION
#define BF_USBCTRL_ID_REVISION_V(e)     BF_USBCTRL_ID_REVISION(BV_USBCTRL_ID_REVISION__##e)
#define BFM_USBCTRL_ID_REVISION_V(v)    BM_USBCTRL_ID_REVISION
#define BP_USBCTRL_ID_TAG               16
#define BM_USBCTRL_ID_TAG               0x1f0000
#define BF_USBCTRL_ID_TAG(v)            (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ID_TAG(v)           BM_USBCTRL_ID_TAG
#define BF_USBCTRL_ID_TAG_V(e)          BF_USBCTRL_ID_TAG(BV_USBCTRL_ID_TAG__##e)
#define BFM_USBCTRL_ID_TAG_V(v)         BM_USBCTRL_ID_TAG
#define BP_USBCTRL_ID_RSVD1             14
#define BM_USBCTRL_ID_RSVD1             0xc000
#define BF_USBCTRL_ID_RSVD1(v)          (((v) & 0x3) << 14)
#define BFM_USBCTRL_ID_RSVD1(v)         BM_USBCTRL_ID_RSVD1
#define BF_USBCTRL_ID_RSVD1_V(e)        BF_USBCTRL_ID_RSVD1(BV_USBCTRL_ID_RSVD1__##e)
#define BFM_USBCTRL_ID_RSVD1_V(v)       BM_USBCTRL_ID_RSVD1
#define BP_USBCTRL_ID_NID               8
#define BM_USBCTRL_ID_NID               0x3f00
#define BF_USBCTRL_ID_NID(v)            (((v) & 0x3f) << 8)
#define BFM_USBCTRL_ID_NID(v)           BM_USBCTRL_ID_NID
#define BF_USBCTRL_ID_NID_V(e)          BF_USBCTRL_ID_NID(BV_USBCTRL_ID_NID__##e)
#define BFM_USBCTRL_ID_NID_V(v)         BM_USBCTRL_ID_NID
#define BP_USBCTRL_ID_RSVD0             6
#define BM_USBCTRL_ID_RSVD0             0xc0
#define BF_USBCTRL_ID_RSVD0(v)          (((v) & 0x3) << 6)
#define BFM_USBCTRL_ID_RSVD0(v)         BM_USBCTRL_ID_RSVD0
#define BF_USBCTRL_ID_RSVD0_V(e)        BF_USBCTRL_ID_RSVD0(BV_USBCTRL_ID_RSVD0__##e)
#define BFM_USBCTRL_ID_RSVD0_V(v)       BM_USBCTRL_ID_RSVD0
#define BP_USBCTRL_ID_ID                0
#define BM_USBCTRL_ID_ID                0x3f
#define BF_USBCTRL_ID_ID(v)             (((v) & 0x3f) << 0)
#define BFM_USBCTRL_ID_ID(v)            BM_USBCTRL_ID_ID
#define BF_USBCTRL_ID_ID_V(e)           BF_USBCTRL_ID_ID(BV_USBCTRL_ID_ID__##e)
#define BFM_USBCTRL_ID_ID_V(v)          BM_USBCTRL_ID_ID

#define HW_USBCTRL_HWGENERAL            HW(USBCTRL_HWGENERAL)
#define HWA_USBCTRL_HWGENERAL           (0x80080000 + 0x4)
#define HWT_USBCTRL_HWGENERAL           HWIO_32_RW
#define HWN_USBCTRL_HWGENERAL           USBCTRL_HWGENERAL
#define HWI_USBCTRL_HWGENERAL           
#define BP_USBCTRL_HWGENERAL_RSVD       11
#define BM_USBCTRL_HWGENERAL_RSVD       0xfffff800
#define BF_USBCTRL_HWGENERAL_RSVD(v)    (((v) & 0x1fffff) << 11)
#define BFM_USBCTRL_HWGENERAL_RSVD(v)   BM_USBCTRL_HWGENERAL_RSVD
#define BF_USBCTRL_HWGENERAL_RSVD_V(e)  BF_USBCTRL_HWGENERAL_RSVD(BV_USBCTRL_HWGENERAL_RSVD__##e)
#define BFM_USBCTRL_HWGENERAL_RSVD_V(v) BM_USBCTRL_HWGENERAL_RSVD
#define BP_USBCTRL_HWGENERAL_SM         9
#define BM_USBCTRL_HWGENERAL_SM         0x600
#define BF_USBCTRL_HWGENERAL_SM(v)      (((v) & 0x3) << 9)
#define BFM_USBCTRL_HWGENERAL_SM(v)     BM_USBCTRL_HWGENERAL_SM
#define BF_USBCTRL_HWGENERAL_SM_V(e)    BF_USBCTRL_HWGENERAL_SM(BV_USBCTRL_HWGENERAL_SM__##e)
#define BFM_USBCTRL_HWGENERAL_SM_V(v)   BM_USBCTRL_HWGENERAL_SM
#define BP_USBCTRL_HWGENERAL_PHYM       6
#define BM_USBCTRL_HWGENERAL_PHYM       0x1c0
#define BF_USBCTRL_HWGENERAL_PHYM(v)    (((v) & 0x7) << 6)
#define BFM_USBCTRL_HWGENERAL_PHYM(v)   BM_USBCTRL_HWGENERAL_PHYM
#define BF_USBCTRL_HWGENERAL_PHYM_V(e)  BF_USBCTRL_HWGENERAL_PHYM(BV_USBCTRL_HWGENERAL_PHYM__##e)
#define BFM_USBCTRL_HWGENERAL_PHYM_V(v) BM_USBCTRL_HWGENERAL_PHYM
#define BP_USBCTRL_HWGENERAL_PHYW       4
#define BM_USBCTRL_HWGENERAL_PHYW       0x30
#define BF_USBCTRL_HWGENERAL_PHYW(v)    (((v) & 0x3) << 4)
#define BFM_USBCTRL_HWGENERAL_PHYW(v)   BM_USBCTRL_HWGENERAL_PHYW
#define BF_USBCTRL_HWGENERAL_PHYW_V(e)  BF_USBCTRL_HWGENERAL_PHYW(BV_USBCTRL_HWGENERAL_PHYW__##e)
#define BFM_USBCTRL_HWGENERAL_PHYW_V(v) BM_USBCTRL_HWGENERAL_PHYW
#define BP_USBCTRL_HWGENERAL_BWT        3
#define BM_USBCTRL_HWGENERAL_BWT        0x8
#define BF_USBCTRL_HWGENERAL_BWT(v)     (((v) & 0x1) << 3)
#define BFM_USBCTRL_HWGENERAL_BWT(v)    BM_USBCTRL_HWGENERAL_BWT
#define BF_USBCTRL_HWGENERAL_BWT_V(e)   BF_USBCTRL_HWGENERAL_BWT(BV_USBCTRL_HWGENERAL_BWT__##e)
#define BFM_USBCTRL_HWGENERAL_BWT_V(v)  BM_USBCTRL_HWGENERAL_BWT
#define BP_USBCTRL_HWGENERAL_CLKC       1
#define BM_USBCTRL_HWGENERAL_CLKC       0x6
#define BF_USBCTRL_HWGENERAL_CLKC(v)    (((v) & 0x3) << 1)
#define BFM_USBCTRL_HWGENERAL_CLKC(v)   BM_USBCTRL_HWGENERAL_CLKC
#define BF_USBCTRL_HWGENERAL_CLKC_V(e)  BF_USBCTRL_HWGENERAL_CLKC(BV_USBCTRL_HWGENERAL_CLKC__##e)
#define BFM_USBCTRL_HWGENERAL_CLKC_V(v) BM_USBCTRL_HWGENERAL_CLKC
#define BP_USBCTRL_HWGENERAL_RT         0
#define BM_USBCTRL_HWGENERAL_RT         0x1
#define BF_USBCTRL_HWGENERAL_RT(v)      (((v) & 0x1) << 0)
#define BFM_USBCTRL_HWGENERAL_RT(v)     BM_USBCTRL_HWGENERAL_RT
#define BF_USBCTRL_HWGENERAL_RT_V(e)    BF_USBCTRL_HWGENERAL_RT(BV_USBCTRL_HWGENERAL_RT__##e)
#define BFM_USBCTRL_HWGENERAL_RT_V(v)   BM_USBCTRL_HWGENERAL_RT

#define HW_USBCTRL_HWHOST               HW(USBCTRL_HWHOST)
#define HWA_USBCTRL_HWHOST              (0x80080000 + 0x8)
#define HWT_USBCTRL_HWHOST              HWIO_32_RW
#define HWN_USBCTRL_HWHOST              USBCTRL_HWHOST
#define HWI_USBCTRL_HWHOST              
#define BP_USBCTRL_HWHOST_TTPER         24
#define BM_USBCTRL_HWHOST_TTPER         0xff000000
#define BF_USBCTRL_HWHOST_TTPER(v)      (((v) & 0xff) << 24)
#define BFM_USBCTRL_HWHOST_TTPER(v)     BM_USBCTRL_HWHOST_TTPER
#define BF_USBCTRL_HWHOST_TTPER_V(e)    BF_USBCTRL_HWHOST_TTPER(BV_USBCTRL_HWHOST_TTPER__##e)
#define BFM_USBCTRL_HWHOST_TTPER_V(v)   BM_USBCTRL_HWHOST_TTPER
#define BP_USBCTRL_HWHOST_TTASY         16
#define BM_USBCTRL_HWHOST_TTASY         0xff0000
#define BF_USBCTRL_HWHOST_TTASY(v)      (((v) & 0xff) << 16)
#define BFM_USBCTRL_HWHOST_TTASY(v)     BM_USBCTRL_HWHOST_TTASY
#define BF_USBCTRL_HWHOST_TTASY_V(e)    BF_USBCTRL_HWHOST_TTASY(BV_USBCTRL_HWHOST_TTASY__##e)
#define BFM_USBCTRL_HWHOST_TTASY_V(v)   BM_USBCTRL_HWHOST_TTASY
#define BP_USBCTRL_HWHOST_RSVD          4
#define BM_USBCTRL_HWHOST_RSVD          0xfff0
#define BF_USBCTRL_HWHOST_RSVD(v)       (((v) & 0xfff) << 4)
#define BFM_USBCTRL_HWHOST_RSVD(v)      BM_USBCTRL_HWHOST_RSVD
#define BF_USBCTRL_HWHOST_RSVD_V(e)     BF_USBCTRL_HWHOST_RSVD(BV_USBCTRL_HWHOST_RSVD__##e)
#define BFM_USBCTRL_HWHOST_RSVD_V(v)    BM_USBCTRL_HWHOST_RSVD
#define BP_USBCTRL_HWHOST_NPORT         1
#define BM_USBCTRL_HWHOST_NPORT         0xe
#define BF_USBCTRL_HWHOST_NPORT(v)      (((v) & 0x7) << 1)
#define BFM_USBCTRL_HWHOST_NPORT(v)     BM_USBCTRL_HWHOST_NPORT
#define BF_USBCTRL_HWHOST_NPORT_V(e)    BF_USBCTRL_HWHOST_NPORT(BV_USBCTRL_HWHOST_NPORT__##e)
#define BFM_USBCTRL_HWHOST_NPORT_V(v)   BM_USBCTRL_HWHOST_NPORT
#define BP_USBCTRL_HWHOST_HC            0
#define BM_USBCTRL_HWHOST_HC            0x1
#define BF_USBCTRL_HWHOST_HC(v)         (((v) & 0x1) << 0)
#define BFM_USBCTRL_HWHOST_HC(v)        BM_USBCTRL_HWHOST_HC
#define BF_USBCTRL_HWHOST_HC_V(e)       BF_USBCTRL_HWHOST_HC(BV_USBCTRL_HWHOST_HC__##e)
#define BFM_USBCTRL_HWHOST_HC_V(v)      BM_USBCTRL_HWHOST_HC

#define HW_USBCTRL_HWDEVICE             HW(USBCTRL_HWDEVICE)
#define HWA_USBCTRL_HWDEVICE            (0x80080000 + 0xc)
#define HWT_USBCTRL_HWDEVICE            HWIO_32_RW
#define HWN_USBCTRL_HWDEVICE            USBCTRL_HWDEVICE
#define HWI_USBCTRL_HWDEVICE            
#define BP_USBCTRL_HWDEVICE_RSVD        6
#define BM_USBCTRL_HWDEVICE_RSVD        0xffffffc0
#define BF_USBCTRL_HWDEVICE_RSVD(v)     (((v) & 0x3ffffff) << 6)
#define BFM_USBCTRL_HWDEVICE_RSVD(v)    BM_USBCTRL_HWDEVICE_RSVD
#define BF_USBCTRL_HWDEVICE_RSVD_V(e)   BF_USBCTRL_HWDEVICE_RSVD(BV_USBCTRL_HWDEVICE_RSVD__##e)
#define BFM_USBCTRL_HWDEVICE_RSVD_V(v)  BM_USBCTRL_HWDEVICE_RSVD
#define BP_USBCTRL_HWDEVICE_DEVEP       1
#define BM_USBCTRL_HWDEVICE_DEVEP       0x3e
#define BF_USBCTRL_HWDEVICE_DEVEP(v)    (((v) & 0x1f) << 1)
#define BFM_USBCTRL_HWDEVICE_DEVEP(v)   BM_USBCTRL_HWDEVICE_DEVEP
#define BF_USBCTRL_HWDEVICE_DEVEP_V(e)  BF_USBCTRL_HWDEVICE_DEVEP(BV_USBCTRL_HWDEVICE_DEVEP__##e)
#define BFM_USBCTRL_HWDEVICE_DEVEP_V(v) BM_USBCTRL_HWDEVICE_DEVEP
#define BP_USBCTRL_HWDEVICE_DC          0
#define BM_USBCTRL_HWDEVICE_DC          0x1
#define BF_USBCTRL_HWDEVICE_DC(v)       (((v) & 0x1) << 0)
#define BFM_USBCTRL_HWDEVICE_DC(v)      BM_USBCTRL_HWDEVICE_DC
#define BF_USBCTRL_HWDEVICE_DC_V(e)     BF_USBCTRL_HWDEVICE_DC(BV_USBCTRL_HWDEVICE_DC__##e)
#define BFM_USBCTRL_HWDEVICE_DC_V(v)    BM_USBCTRL_HWDEVICE_DC

#define HW_USBCTRL_HWTXBUF                  HW(USBCTRL_HWTXBUF)
#define HWA_USBCTRL_HWTXBUF                 (0x80080000 + 0x10)
#define HWT_USBCTRL_HWTXBUF                 HWIO_32_RW
#define HWN_USBCTRL_HWTXBUF                 USBCTRL_HWTXBUF
#define HWI_USBCTRL_HWTXBUF                 
#define BP_USBCTRL_HWTXBUF_TXLCR            31
#define BM_USBCTRL_HWTXBUF_TXLCR            0x80000000
#define BF_USBCTRL_HWTXBUF_TXLCR(v)         (((v) & 0x1) << 31)
#define BFM_USBCTRL_HWTXBUF_TXLCR(v)        BM_USBCTRL_HWTXBUF_TXLCR
#define BF_USBCTRL_HWTXBUF_TXLCR_V(e)       BF_USBCTRL_HWTXBUF_TXLCR(BV_USBCTRL_HWTXBUF_TXLCR__##e)
#define BFM_USBCTRL_HWTXBUF_TXLCR_V(v)      BM_USBCTRL_HWTXBUF_TXLCR
#define BP_USBCTRL_HWTXBUF_RSVD             24
#define BM_USBCTRL_HWTXBUF_RSVD             0x7f000000
#define BF_USBCTRL_HWTXBUF_RSVD(v)          (((v) & 0x7f) << 24)
#define BFM_USBCTRL_HWTXBUF_RSVD(v)         BM_USBCTRL_HWTXBUF_RSVD
#define BF_USBCTRL_HWTXBUF_RSVD_V(e)        BF_USBCTRL_HWTXBUF_RSVD(BV_USBCTRL_HWTXBUF_RSVD__##e)
#define BFM_USBCTRL_HWTXBUF_RSVD_V(v)       BM_USBCTRL_HWTXBUF_RSVD
#define BP_USBCTRL_HWTXBUF_TXCHANADD        16
#define BM_USBCTRL_HWTXBUF_TXCHANADD        0xff0000
#define BF_USBCTRL_HWTXBUF_TXCHANADD(v)     (((v) & 0xff) << 16)
#define BFM_USBCTRL_HWTXBUF_TXCHANADD(v)    BM_USBCTRL_HWTXBUF_TXCHANADD
#define BF_USBCTRL_HWTXBUF_TXCHANADD_V(e)   BF_USBCTRL_HWTXBUF_TXCHANADD(BV_USBCTRL_HWTXBUF_TXCHANADD__##e)
#define BFM_USBCTRL_HWTXBUF_TXCHANADD_V(v)  BM_USBCTRL_HWTXBUF_TXCHANADD
#define BP_USBCTRL_HWTXBUF_TXADD            8
#define BM_USBCTRL_HWTXBUF_TXADD            0xff00
#define BF_USBCTRL_HWTXBUF_TXADD(v)         (((v) & 0xff) << 8)
#define BFM_USBCTRL_HWTXBUF_TXADD(v)        BM_USBCTRL_HWTXBUF_TXADD
#define BF_USBCTRL_HWTXBUF_TXADD_V(e)       BF_USBCTRL_HWTXBUF_TXADD(BV_USBCTRL_HWTXBUF_TXADD__##e)
#define BFM_USBCTRL_HWTXBUF_TXADD_V(v)      BM_USBCTRL_HWTXBUF_TXADD
#define BP_USBCTRL_HWTXBUF_TXBURST          0
#define BM_USBCTRL_HWTXBUF_TXBURST          0xff
#define BF_USBCTRL_HWTXBUF_TXBURST(v)       (((v) & 0xff) << 0)
#define BFM_USBCTRL_HWTXBUF_TXBURST(v)      BM_USBCTRL_HWTXBUF_TXBURST
#define BF_USBCTRL_HWTXBUF_TXBURST_V(e)     BF_USBCTRL_HWTXBUF_TXBURST(BV_USBCTRL_HWTXBUF_TXBURST__##e)
#define BFM_USBCTRL_HWTXBUF_TXBURST_V(v)    BM_USBCTRL_HWTXBUF_TXBURST

#define HW_USBCTRL_HWRXBUF                  HW(USBCTRL_HWRXBUF)
#define HWA_USBCTRL_HWRXBUF                 (0x80080000 + 0x14)
#define HWT_USBCTRL_HWRXBUF                 HWIO_32_RW
#define HWN_USBCTRL_HWRXBUF                 USBCTRL_HWRXBUF
#define HWI_USBCTRL_HWRXBUF                 
#define BP_USBCTRL_HWRXBUF_RSVD             16
#define BM_USBCTRL_HWRXBUF_RSVD             0xffff0000
#define BF_USBCTRL_HWRXBUF_RSVD(v)          (((v) & 0xffff) << 16)
#define BFM_USBCTRL_HWRXBUF_RSVD(v)         BM_USBCTRL_HWRXBUF_RSVD
#define BF_USBCTRL_HWRXBUF_RSVD_V(e)        BF_USBCTRL_HWRXBUF_RSVD(BV_USBCTRL_HWRXBUF_RSVD__##e)
#define BFM_USBCTRL_HWRXBUF_RSVD_V(v)       BM_USBCTRL_HWRXBUF_RSVD
#define BP_USBCTRL_HWRXBUF_RXADD            8
#define BM_USBCTRL_HWRXBUF_RXADD            0xff00
#define BF_USBCTRL_HWRXBUF_RXADD(v)         (((v) & 0xff) << 8)
#define BFM_USBCTRL_HWRXBUF_RXADD(v)        BM_USBCTRL_HWRXBUF_RXADD
#define BF_USBCTRL_HWRXBUF_RXADD_V(e)       BF_USBCTRL_HWRXBUF_RXADD(BV_USBCTRL_HWRXBUF_RXADD__##e)
#define BFM_USBCTRL_HWRXBUF_RXADD_V(v)      BM_USBCTRL_HWRXBUF_RXADD
#define BP_USBCTRL_HWRXBUF_RXBURST          0
#define BM_USBCTRL_HWRXBUF_RXBURST          0xff
#define BF_USBCTRL_HWRXBUF_RXBURST(v)       (((v) & 0xff) << 0)
#define BFM_USBCTRL_HWRXBUF_RXBURST(v)      BM_USBCTRL_HWRXBUF_RXBURST
#define BF_USBCTRL_HWRXBUF_RXBURST_V(e)     BF_USBCTRL_HWRXBUF_RXBURST(BV_USBCTRL_HWRXBUF_RXBURST__##e)
#define BFM_USBCTRL_HWRXBUF_RXBURST_V(v)    BM_USBCTRL_HWRXBUF_RXBURST

#define HW_USBCTRL_GPTIMER0LD               HW(USBCTRL_GPTIMER0LD)
#define HWA_USBCTRL_GPTIMER0LD              (0x80080000 + 0x80)
#define HWT_USBCTRL_GPTIMER0LD              HWIO_32_RW
#define HWN_USBCTRL_GPTIMER0LD              USBCTRL_GPTIMER0LD
#define HWI_USBCTRL_GPTIMER0LD              
#define BP_USBCTRL_GPTIMER0LD_RSVD0         24
#define BM_USBCTRL_GPTIMER0LD_RSVD0         0xff000000
#define BF_USBCTRL_GPTIMER0LD_RSVD0(v)      (((v) & 0xff) << 24)
#define BFM_USBCTRL_GPTIMER0LD_RSVD0(v)     BM_USBCTRL_GPTIMER0LD_RSVD0
#define BF_USBCTRL_GPTIMER0LD_RSVD0_V(e)    BF_USBCTRL_GPTIMER0LD_RSVD0(BV_USBCTRL_GPTIMER0LD_RSVD0__##e)
#define BFM_USBCTRL_GPTIMER0LD_RSVD0_V(v)   BM_USBCTRL_GPTIMER0LD_RSVD0
#define BP_USBCTRL_GPTIMER0LD_GPTLD         0
#define BM_USBCTRL_GPTIMER0LD_GPTLD         0xffffff
#define BF_USBCTRL_GPTIMER0LD_GPTLD(v)      (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_GPTIMER0LD_GPTLD(v)     BM_USBCTRL_GPTIMER0LD_GPTLD
#define BF_USBCTRL_GPTIMER0LD_GPTLD_V(e)    BF_USBCTRL_GPTIMER0LD_GPTLD(BV_USBCTRL_GPTIMER0LD_GPTLD__##e)
#define BFM_USBCTRL_GPTIMER0LD_GPTLD_V(v)   BM_USBCTRL_GPTIMER0LD_GPTLD

#define HW_USBCTRL_GPTIMER0CTRL                     HW(USBCTRL_GPTIMER0CTRL)
#define HWA_USBCTRL_GPTIMER0CTRL                    (0x80080000 + 0x84)
#define HWT_USBCTRL_GPTIMER0CTRL                    HWIO_32_RW
#define HWN_USBCTRL_GPTIMER0CTRL                    USBCTRL_GPTIMER0CTRL
#define HWI_USBCTRL_GPTIMER0CTRL                    
#define BP_USBCTRL_GPTIMER0CTRL_GPTRUN              31
#define BM_USBCTRL_GPTIMER0CTRL_GPTRUN              0x80000000
#define BV_USBCTRL_GPTIMER0CTRL_GPTRUN__STOP        0x0
#define BV_USBCTRL_GPTIMER0CTRL_GPTRUN__RUN         0x1
#define BF_USBCTRL_GPTIMER0CTRL_GPTRUN(v)           (((v) & 0x1) << 31)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTRUN(v)          BM_USBCTRL_GPTIMER0CTRL_GPTRUN
#define BF_USBCTRL_GPTIMER0CTRL_GPTRUN_V(e)         BF_USBCTRL_GPTIMER0CTRL_GPTRUN(BV_USBCTRL_GPTIMER0CTRL_GPTRUN__##e)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTRUN_V(v)        BM_USBCTRL_GPTIMER0CTRL_GPTRUN
#define BP_USBCTRL_GPTIMER0CTRL_GPTRST              30
#define BM_USBCTRL_GPTIMER0CTRL_GPTRST              0x40000000
#define BV_USBCTRL_GPTIMER0CTRL_GPTRST__NOACTION    0x0
#define BV_USBCTRL_GPTIMER0CTRL_GPTRST__LOADCOUNTER 0x1
#define BF_USBCTRL_GPTIMER0CTRL_GPTRST(v)           (((v) & 0x1) << 30)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTRST(v)          BM_USBCTRL_GPTIMER0CTRL_GPTRST
#define BF_USBCTRL_GPTIMER0CTRL_GPTRST_V(e)         BF_USBCTRL_GPTIMER0CTRL_GPTRST(BV_USBCTRL_GPTIMER0CTRL_GPTRST__##e)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTRST_V(v)        BM_USBCTRL_GPTIMER0CTRL_GPTRST
#define BP_USBCTRL_GPTIMER0CTRL_RSVD0               25
#define BM_USBCTRL_GPTIMER0CTRL_RSVD0               0x3e000000
#define BF_USBCTRL_GPTIMER0CTRL_RSVD0(v)            (((v) & 0x1f) << 25)
#define BFM_USBCTRL_GPTIMER0CTRL_RSVD0(v)           BM_USBCTRL_GPTIMER0CTRL_RSVD0
#define BF_USBCTRL_GPTIMER0CTRL_RSVD0_V(e)          BF_USBCTRL_GPTIMER0CTRL_RSVD0(BV_USBCTRL_GPTIMER0CTRL_RSVD0__##e)
#define BFM_USBCTRL_GPTIMER0CTRL_RSVD0_V(v)         BM_USBCTRL_GPTIMER0CTRL_RSVD0
#define BP_USBCTRL_GPTIMER0CTRL_GPTMODE             24
#define BM_USBCTRL_GPTIMER0CTRL_GPTMODE             0x1000000
#define BV_USBCTRL_GPTIMER0CTRL_GPTMODE__ONESHOT    0x0
#define BV_USBCTRL_GPTIMER0CTRL_GPTMODE__REPEAT     0x1
#define BF_USBCTRL_GPTIMER0CTRL_GPTMODE(v)          (((v) & 0x1) << 24)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTMODE(v)         BM_USBCTRL_GPTIMER0CTRL_GPTMODE
#define BF_USBCTRL_GPTIMER0CTRL_GPTMODE_V(e)        BF_USBCTRL_GPTIMER0CTRL_GPTMODE(BV_USBCTRL_GPTIMER0CTRL_GPTMODE__##e)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTMODE_V(v)       BM_USBCTRL_GPTIMER0CTRL_GPTMODE
#define BP_USBCTRL_GPTIMER0CTRL_GPTCNT              0
#define BM_USBCTRL_GPTIMER0CTRL_GPTCNT              0xffffff
#define BF_USBCTRL_GPTIMER0CTRL_GPTCNT(v)           (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTCNT(v)          BM_USBCTRL_GPTIMER0CTRL_GPTCNT
#define BF_USBCTRL_GPTIMER0CTRL_GPTCNT_V(e)         BF_USBCTRL_GPTIMER0CTRL_GPTCNT(BV_USBCTRL_GPTIMER0CTRL_GPTCNT__##e)
#define BFM_USBCTRL_GPTIMER0CTRL_GPTCNT_V(v)        BM_USBCTRL_GPTIMER0CTRL_GPTCNT

#define HW_USBCTRL_GPTIMER1LD               HW(USBCTRL_GPTIMER1LD)
#define HWA_USBCTRL_GPTIMER1LD              (0x80080000 + 0x88)
#define HWT_USBCTRL_GPTIMER1LD              HWIO_32_RW
#define HWN_USBCTRL_GPTIMER1LD              USBCTRL_GPTIMER1LD
#define HWI_USBCTRL_GPTIMER1LD              
#define BP_USBCTRL_GPTIMER1LD_RSVD0         24
#define BM_USBCTRL_GPTIMER1LD_RSVD0         0xff000000
#define BF_USBCTRL_GPTIMER1LD_RSVD0(v)      (((v) & 0xff) << 24)
#define BFM_USBCTRL_GPTIMER1LD_RSVD0(v)     BM_USBCTRL_GPTIMER1LD_RSVD0
#define BF_USBCTRL_GPTIMER1LD_RSVD0_V(e)    BF_USBCTRL_GPTIMER1LD_RSVD0(BV_USBCTRL_GPTIMER1LD_RSVD0__##e)
#define BFM_USBCTRL_GPTIMER1LD_RSVD0_V(v)   BM_USBCTRL_GPTIMER1LD_RSVD0
#define BP_USBCTRL_GPTIMER1LD_GPTLD         0
#define BM_USBCTRL_GPTIMER1LD_GPTLD         0xffffff
#define BF_USBCTRL_GPTIMER1LD_GPTLD(v)      (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_GPTIMER1LD_GPTLD(v)     BM_USBCTRL_GPTIMER1LD_GPTLD
#define BF_USBCTRL_GPTIMER1LD_GPTLD_V(e)    BF_USBCTRL_GPTIMER1LD_GPTLD(BV_USBCTRL_GPTIMER1LD_GPTLD__##e)
#define BFM_USBCTRL_GPTIMER1LD_GPTLD_V(v)   BM_USBCTRL_GPTIMER1LD_GPTLD

#define HW_USBCTRL_GPTIMER1CTRL                     HW(USBCTRL_GPTIMER1CTRL)
#define HWA_USBCTRL_GPTIMER1CTRL                    (0x80080000 + 0x8c)
#define HWT_USBCTRL_GPTIMER1CTRL                    HWIO_32_RW
#define HWN_USBCTRL_GPTIMER1CTRL                    USBCTRL_GPTIMER1CTRL
#define HWI_USBCTRL_GPTIMER1CTRL                    
#define BP_USBCTRL_GPTIMER1CTRL_GPTRUN              31
#define BM_USBCTRL_GPTIMER1CTRL_GPTRUN              0x80000000
#define BV_USBCTRL_GPTIMER1CTRL_GPTRUN__STOP        0x0
#define BV_USBCTRL_GPTIMER1CTRL_GPTRUN__RUN         0x1
#define BF_USBCTRL_GPTIMER1CTRL_GPTRUN(v)           (((v) & 0x1) << 31)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTRUN(v)          BM_USBCTRL_GPTIMER1CTRL_GPTRUN
#define BF_USBCTRL_GPTIMER1CTRL_GPTRUN_V(e)         BF_USBCTRL_GPTIMER1CTRL_GPTRUN(BV_USBCTRL_GPTIMER1CTRL_GPTRUN__##e)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTRUN_V(v)        BM_USBCTRL_GPTIMER1CTRL_GPTRUN
#define BP_USBCTRL_GPTIMER1CTRL_GPTRST              30
#define BM_USBCTRL_GPTIMER1CTRL_GPTRST              0x40000000
#define BV_USBCTRL_GPTIMER1CTRL_GPTRST__NOACTION    0x0
#define BV_USBCTRL_GPTIMER1CTRL_GPTRST__LOADCOUNTER 0x1
#define BF_USBCTRL_GPTIMER1CTRL_GPTRST(v)           (((v) & 0x1) << 30)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTRST(v)          BM_USBCTRL_GPTIMER1CTRL_GPTRST
#define BF_USBCTRL_GPTIMER1CTRL_GPTRST_V(e)         BF_USBCTRL_GPTIMER1CTRL_GPTRST(BV_USBCTRL_GPTIMER1CTRL_GPTRST__##e)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTRST_V(v)        BM_USBCTRL_GPTIMER1CTRL_GPTRST
#define BP_USBCTRL_GPTIMER1CTRL_RSVD0               25
#define BM_USBCTRL_GPTIMER1CTRL_RSVD0               0x3e000000
#define BF_USBCTRL_GPTIMER1CTRL_RSVD0(v)            (((v) & 0x1f) << 25)
#define BFM_USBCTRL_GPTIMER1CTRL_RSVD0(v)           BM_USBCTRL_GPTIMER1CTRL_RSVD0
#define BF_USBCTRL_GPTIMER1CTRL_RSVD0_V(e)          BF_USBCTRL_GPTIMER1CTRL_RSVD0(BV_USBCTRL_GPTIMER1CTRL_RSVD0__##e)
#define BFM_USBCTRL_GPTIMER1CTRL_RSVD0_V(v)         BM_USBCTRL_GPTIMER1CTRL_RSVD0
#define BP_USBCTRL_GPTIMER1CTRL_GPTMODE             24
#define BM_USBCTRL_GPTIMER1CTRL_GPTMODE             0x1000000
#define BV_USBCTRL_GPTIMER1CTRL_GPTMODE__ONESHOT    0x0
#define BV_USBCTRL_GPTIMER1CTRL_GPTMODE__REPEAT     0x1
#define BF_USBCTRL_GPTIMER1CTRL_GPTMODE(v)          (((v) & 0x1) << 24)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTMODE(v)         BM_USBCTRL_GPTIMER1CTRL_GPTMODE
#define BF_USBCTRL_GPTIMER1CTRL_GPTMODE_V(e)        BF_USBCTRL_GPTIMER1CTRL_GPTMODE(BV_USBCTRL_GPTIMER1CTRL_GPTMODE__##e)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTMODE_V(v)       BM_USBCTRL_GPTIMER1CTRL_GPTMODE
#define BP_USBCTRL_GPTIMER1CTRL_GPTCNT              0
#define BM_USBCTRL_GPTIMER1CTRL_GPTCNT              0xffffff
#define BF_USBCTRL_GPTIMER1CTRL_GPTCNT(v)           (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTCNT(v)          BM_USBCTRL_GPTIMER1CTRL_GPTCNT
#define BF_USBCTRL_GPTIMER1CTRL_GPTCNT_V(e)         BF_USBCTRL_GPTIMER1CTRL_GPTCNT(BV_USBCTRL_GPTIMER1CTRL_GPTCNT__##e)
#define BFM_USBCTRL_GPTIMER1CTRL_GPTCNT_V(v)        BM_USBCTRL_GPTIMER1CTRL_GPTCNT

#define HW_USBCTRL_SBUSCFG                      HW(USBCTRL_SBUSCFG)
#define HWA_USBCTRL_SBUSCFG                     (0x80080000 + 0x90)
#define HWT_USBCTRL_SBUSCFG                     HWIO_32_RW
#define HWN_USBCTRL_SBUSCFG                     USBCTRL_SBUSCFG
#define HWI_USBCTRL_SBUSCFG                     
#define BP_USBCTRL_SBUSCFG_RSVD                 3
#define BM_USBCTRL_SBUSCFG_RSVD                 0xfffffff8
#define BF_USBCTRL_SBUSCFG_RSVD(v)              (((v) & 0x1fffffff) << 3)
#define BFM_USBCTRL_SBUSCFG_RSVD(v)             BM_USBCTRL_SBUSCFG_RSVD
#define BF_USBCTRL_SBUSCFG_RSVD_V(e)            BF_USBCTRL_SBUSCFG_RSVD(BV_USBCTRL_SBUSCFG_RSVD__##e)
#define BFM_USBCTRL_SBUSCFG_RSVD_V(v)           BM_USBCTRL_SBUSCFG_RSVD
#define BP_USBCTRL_SBUSCFG_AHBBRST              0
#define BM_USBCTRL_SBUSCFG_AHBBRST              0x7
#define BV_USBCTRL_SBUSCFG_AHBBRST__U_INCR      0x0
#define BV_USBCTRL_SBUSCFG_AHBBRST__S_INCR4     0x1
#define BV_USBCTRL_SBUSCFG_AHBBRST__S_INCR8     0x2
#define BV_USBCTRL_SBUSCFG_AHBBRST__S_INCR16    0x3
#define BV_USBCTRL_SBUSCFG_AHBBRST__RESERVED    0x4
#define BV_USBCTRL_SBUSCFG_AHBBRST__U_INCR4     0x5
#define BV_USBCTRL_SBUSCFG_AHBBRST__U_INCR8     0x6
#define BV_USBCTRL_SBUSCFG_AHBBRST__U_INCR16    0x7
#define BF_USBCTRL_SBUSCFG_AHBBRST(v)           (((v) & 0x7) << 0)
#define BFM_USBCTRL_SBUSCFG_AHBBRST(v)          BM_USBCTRL_SBUSCFG_AHBBRST
#define BF_USBCTRL_SBUSCFG_AHBBRST_V(e)         BF_USBCTRL_SBUSCFG_AHBBRST(BV_USBCTRL_SBUSCFG_AHBBRST__##e)
#define BFM_USBCTRL_SBUSCFG_AHBBRST_V(v)        BM_USBCTRL_SBUSCFG_AHBBRST

#define HW_USBCTRL_CAPLENGTH                    HW(USBCTRL_CAPLENGTH)
#define HWA_USBCTRL_CAPLENGTH                   (0x80080000 + 0x100)
#define HWT_USBCTRL_CAPLENGTH                   HWIO_32_RW
#define HWN_USBCTRL_CAPLENGTH                   USBCTRL_CAPLENGTH
#define HWI_USBCTRL_CAPLENGTH                   
#define BP_USBCTRL_CAPLENGTH_HCIVERSION         16
#define BM_USBCTRL_CAPLENGTH_HCIVERSION         0xffff0000
#define BF_USBCTRL_CAPLENGTH_HCIVERSION(v)      (((v) & 0xffff) << 16)
#define BFM_USBCTRL_CAPLENGTH_HCIVERSION(v)     BM_USBCTRL_CAPLENGTH_HCIVERSION
#define BF_USBCTRL_CAPLENGTH_HCIVERSION_V(e)    BF_USBCTRL_CAPLENGTH_HCIVERSION(BV_USBCTRL_CAPLENGTH_HCIVERSION__##e)
#define BFM_USBCTRL_CAPLENGTH_HCIVERSION_V(v)   BM_USBCTRL_CAPLENGTH_HCIVERSION
#define BP_USBCTRL_CAPLENGTH_RSVD               8
#define BM_USBCTRL_CAPLENGTH_RSVD               0xff00
#define BF_USBCTRL_CAPLENGTH_RSVD(v)            (((v) & 0xff) << 8)
#define BFM_USBCTRL_CAPLENGTH_RSVD(v)           BM_USBCTRL_CAPLENGTH_RSVD
#define BF_USBCTRL_CAPLENGTH_RSVD_V(e)          BF_USBCTRL_CAPLENGTH_RSVD(BV_USBCTRL_CAPLENGTH_RSVD__##e)
#define BFM_USBCTRL_CAPLENGTH_RSVD_V(v)         BM_USBCTRL_CAPLENGTH_RSVD
#define BP_USBCTRL_CAPLENGTH_CAPLENGTH          0
#define BM_USBCTRL_CAPLENGTH_CAPLENGTH          0xff
#define BF_USBCTRL_CAPLENGTH_CAPLENGTH(v)       (((v) & 0xff) << 0)
#define BFM_USBCTRL_CAPLENGTH_CAPLENGTH(v)      BM_USBCTRL_CAPLENGTH_CAPLENGTH
#define BF_USBCTRL_CAPLENGTH_CAPLENGTH_V(e)     BF_USBCTRL_CAPLENGTH_CAPLENGTH(BV_USBCTRL_CAPLENGTH_CAPLENGTH__##e)
#define BFM_USBCTRL_CAPLENGTH_CAPLENGTH_V(v)    BM_USBCTRL_CAPLENGTH_CAPLENGTH

#define HW_USBCTRL_HCSPARAMS                HW(USBCTRL_HCSPARAMS)
#define HWA_USBCTRL_HCSPARAMS               (0x80080000 + 0x104)
#define HWT_USBCTRL_HCSPARAMS               HWIO_32_RW
#define HWN_USBCTRL_HCSPARAMS               USBCTRL_HCSPARAMS
#define HWI_USBCTRL_HCSPARAMS               
#define BP_USBCTRL_HCSPARAMS_RSVD2          28
#define BM_USBCTRL_HCSPARAMS_RSVD2          0xf0000000
#define BF_USBCTRL_HCSPARAMS_RSVD2(v)       (((v) & 0xf) << 28)
#define BFM_USBCTRL_HCSPARAMS_RSVD2(v)      BM_USBCTRL_HCSPARAMS_RSVD2
#define BF_USBCTRL_HCSPARAMS_RSVD2_V(e)     BF_USBCTRL_HCSPARAMS_RSVD2(BV_USBCTRL_HCSPARAMS_RSVD2__##e)
#define BFM_USBCTRL_HCSPARAMS_RSVD2_V(v)    BM_USBCTRL_HCSPARAMS_RSVD2
#define BP_USBCTRL_HCSPARAMS_N_TT           24
#define BM_USBCTRL_HCSPARAMS_N_TT           0xf000000
#define BF_USBCTRL_HCSPARAMS_N_TT(v)        (((v) & 0xf) << 24)
#define BFM_USBCTRL_HCSPARAMS_N_TT(v)       BM_USBCTRL_HCSPARAMS_N_TT
#define BF_USBCTRL_HCSPARAMS_N_TT_V(e)      BF_USBCTRL_HCSPARAMS_N_TT(BV_USBCTRL_HCSPARAMS_N_TT__##e)
#define BFM_USBCTRL_HCSPARAMS_N_TT_V(v)     BM_USBCTRL_HCSPARAMS_N_TT
#define BP_USBCTRL_HCSPARAMS_N_PTT          20
#define BM_USBCTRL_HCSPARAMS_N_PTT          0xf00000
#define BF_USBCTRL_HCSPARAMS_N_PTT(v)       (((v) & 0xf) << 20)
#define BFM_USBCTRL_HCSPARAMS_N_PTT(v)      BM_USBCTRL_HCSPARAMS_N_PTT
#define BF_USBCTRL_HCSPARAMS_N_PTT_V(e)     BF_USBCTRL_HCSPARAMS_N_PTT(BV_USBCTRL_HCSPARAMS_N_PTT__##e)
#define BFM_USBCTRL_HCSPARAMS_N_PTT_V(v)    BM_USBCTRL_HCSPARAMS_N_PTT
#define BP_USBCTRL_HCSPARAMS_RSVD1          17
#define BM_USBCTRL_HCSPARAMS_RSVD1          0xe0000
#define BF_USBCTRL_HCSPARAMS_RSVD1(v)       (((v) & 0x7) << 17)
#define BFM_USBCTRL_HCSPARAMS_RSVD1(v)      BM_USBCTRL_HCSPARAMS_RSVD1
#define BF_USBCTRL_HCSPARAMS_RSVD1_V(e)     BF_USBCTRL_HCSPARAMS_RSVD1(BV_USBCTRL_HCSPARAMS_RSVD1__##e)
#define BFM_USBCTRL_HCSPARAMS_RSVD1_V(v)    BM_USBCTRL_HCSPARAMS_RSVD1
#define BP_USBCTRL_HCSPARAMS_PI             16
#define BM_USBCTRL_HCSPARAMS_PI             0x10000
#define BF_USBCTRL_HCSPARAMS_PI(v)          (((v) & 0x1) << 16)
#define BFM_USBCTRL_HCSPARAMS_PI(v)         BM_USBCTRL_HCSPARAMS_PI
#define BF_USBCTRL_HCSPARAMS_PI_V(e)        BF_USBCTRL_HCSPARAMS_PI(BV_USBCTRL_HCSPARAMS_PI__##e)
#define BFM_USBCTRL_HCSPARAMS_PI_V(v)       BM_USBCTRL_HCSPARAMS_PI
#define BP_USBCTRL_HCSPARAMS_N_CC           12
#define BM_USBCTRL_HCSPARAMS_N_CC           0xf000
#define BF_USBCTRL_HCSPARAMS_N_CC(v)        (((v) & 0xf) << 12)
#define BFM_USBCTRL_HCSPARAMS_N_CC(v)       BM_USBCTRL_HCSPARAMS_N_CC
#define BF_USBCTRL_HCSPARAMS_N_CC_V(e)      BF_USBCTRL_HCSPARAMS_N_CC(BV_USBCTRL_HCSPARAMS_N_CC__##e)
#define BFM_USBCTRL_HCSPARAMS_N_CC_V(v)     BM_USBCTRL_HCSPARAMS_N_CC
#define BP_USBCTRL_HCSPARAMS_N_PCC          8
#define BM_USBCTRL_HCSPARAMS_N_PCC          0xf00
#define BF_USBCTRL_HCSPARAMS_N_PCC(v)       (((v) & 0xf) << 8)
#define BFM_USBCTRL_HCSPARAMS_N_PCC(v)      BM_USBCTRL_HCSPARAMS_N_PCC
#define BF_USBCTRL_HCSPARAMS_N_PCC_V(e)     BF_USBCTRL_HCSPARAMS_N_PCC(BV_USBCTRL_HCSPARAMS_N_PCC__##e)
#define BFM_USBCTRL_HCSPARAMS_N_PCC_V(v)    BM_USBCTRL_HCSPARAMS_N_PCC
#define BP_USBCTRL_HCSPARAMS_RSVD0          5
#define BM_USBCTRL_HCSPARAMS_RSVD0          0xe0
#define BF_USBCTRL_HCSPARAMS_RSVD0(v)       (((v) & 0x7) << 5)
#define BFM_USBCTRL_HCSPARAMS_RSVD0(v)      BM_USBCTRL_HCSPARAMS_RSVD0
#define BF_USBCTRL_HCSPARAMS_RSVD0_V(e)     BF_USBCTRL_HCSPARAMS_RSVD0(BV_USBCTRL_HCSPARAMS_RSVD0__##e)
#define BFM_USBCTRL_HCSPARAMS_RSVD0_V(v)    BM_USBCTRL_HCSPARAMS_RSVD0
#define BP_USBCTRL_HCSPARAMS_PPC            4
#define BM_USBCTRL_HCSPARAMS_PPC            0x10
#define BF_USBCTRL_HCSPARAMS_PPC(v)         (((v) & 0x1) << 4)
#define BFM_USBCTRL_HCSPARAMS_PPC(v)        BM_USBCTRL_HCSPARAMS_PPC
#define BF_USBCTRL_HCSPARAMS_PPC_V(e)       BF_USBCTRL_HCSPARAMS_PPC(BV_USBCTRL_HCSPARAMS_PPC__##e)
#define BFM_USBCTRL_HCSPARAMS_PPC_V(v)      BM_USBCTRL_HCSPARAMS_PPC
#define BP_USBCTRL_HCSPARAMS_N_PORTS        0
#define BM_USBCTRL_HCSPARAMS_N_PORTS        0xf
#define BF_USBCTRL_HCSPARAMS_N_PORTS(v)     (((v) & 0xf) << 0)
#define BFM_USBCTRL_HCSPARAMS_N_PORTS(v)    BM_USBCTRL_HCSPARAMS_N_PORTS
#define BF_USBCTRL_HCSPARAMS_N_PORTS_V(e)   BF_USBCTRL_HCSPARAMS_N_PORTS(BV_USBCTRL_HCSPARAMS_N_PORTS__##e)
#define BFM_USBCTRL_HCSPARAMS_N_PORTS_V(v)  BM_USBCTRL_HCSPARAMS_N_PORTS

#define HW_USBCTRL_HCCPARAMS                HW(USBCTRL_HCCPARAMS)
#define HWA_USBCTRL_HCCPARAMS               (0x80080000 + 0x108)
#define HWT_USBCTRL_HCCPARAMS               HWIO_32_RW
#define HWN_USBCTRL_HCCPARAMS               USBCTRL_HCCPARAMS
#define HWI_USBCTRL_HCCPARAMS               
#define BP_USBCTRL_HCCPARAMS_RSVD2          16
#define BM_USBCTRL_HCCPARAMS_RSVD2          0xffff0000
#define BF_USBCTRL_HCCPARAMS_RSVD2(v)       (((v) & 0xffff) << 16)
#define BFM_USBCTRL_HCCPARAMS_RSVD2(v)      BM_USBCTRL_HCCPARAMS_RSVD2
#define BF_USBCTRL_HCCPARAMS_RSVD2_V(e)     BF_USBCTRL_HCCPARAMS_RSVD2(BV_USBCTRL_HCCPARAMS_RSVD2__##e)
#define BFM_USBCTRL_HCCPARAMS_RSVD2_V(v)    BM_USBCTRL_HCCPARAMS_RSVD2
#define BP_USBCTRL_HCCPARAMS_EECP           8
#define BM_USBCTRL_HCCPARAMS_EECP           0xff00
#define BF_USBCTRL_HCCPARAMS_EECP(v)        (((v) & 0xff) << 8)
#define BFM_USBCTRL_HCCPARAMS_EECP(v)       BM_USBCTRL_HCCPARAMS_EECP
#define BF_USBCTRL_HCCPARAMS_EECP_V(e)      BF_USBCTRL_HCCPARAMS_EECP(BV_USBCTRL_HCCPARAMS_EECP__##e)
#define BFM_USBCTRL_HCCPARAMS_EECP_V(v)     BM_USBCTRL_HCCPARAMS_EECP
#define BP_USBCTRL_HCCPARAMS_IST            4
#define BM_USBCTRL_HCCPARAMS_IST            0xf0
#define BF_USBCTRL_HCCPARAMS_IST(v)         (((v) & 0xf) << 4)
#define BFM_USBCTRL_HCCPARAMS_IST(v)        BM_USBCTRL_HCCPARAMS_IST
#define BF_USBCTRL_HCCPARAMS_IST_V(e)       BF_USBCTRL_HCCPARAMS_IST(BV_USBCTRL_HCCPARAMS_IST__##e)
#define BFM_USBCTRL_HCCPARAMS_IST_V(v)      BM_USBCTRL_HCCPARAMS_IST
#define BP_USBCTRL_HCCPARAMS_RSVD0          3
#define BM_USBCTRL_HCCPARAMS_RSVD0          0x8
#define BF_USBCTRL_HCCPARAMS_RSVD0(v)       (((v) & 0x1) << 3)
#define BFM_USBCTRL_HCCPARAMS_RSVD0(v)      BM_USBCTRL_HCCPARAMS_RSVD0
#define BF_USBCTRL_HCCPARAMS_RSVD0_V(e)     BF_USBCTRL_HCCPARAMS_RSVD0(BV_USBCTRL_HCCPARAMS_RSVD0__##e)
#define BFM_USBCTRL_HCCPARAMS_RSVD0_V(v)    BM_USBCTRL_HCCPARAMS_RSVD0
#define BP_USBCTRL_HCCPARAMS_ASP            2
#define BM_USBCTRL_HCCPARAMS_ASP            0x4
#define BF_USBCTRL_HCCPARAMS_ASP(v)         (((v) & 0x1) << 2)
#define BFM_USBCTRL_HCCPARAMS_ASP(v)        BM_USBCTRL_HCCPARAMS_ASP
#define BF_USBCTRL_HCCPARAMS_ASP_V(e)       BF_USBCTRL_HCCPARAMS_ASP(BV_USBCTRL_HCCPARAMS_ASP__##e)
#define BFM_USBCTRL_HCCPARAMS_ASP_V(v)      BM_USBCTRL_HCCPARAMS_ASP
#define BP_USBCTRL_HCCPARAMS_PFL            1
#define BM_USBCTRL_HCCPARAMS_PFL            0x2
#define BF_USBCTRL_HCCPARAMS_PFL(v)         (((v) & 0x1) << 1)
#define BFM_USBCTRL_HCCPARAMS_PFL(v)        BM_USBCTRL_HCCPARAMS_PFL
#define BF_USBCTRL_HCCPARAMS_PFL_V(e)       BF_USBCTRL_HCCPARAMS_PFL(BV_USBCTRL_HCCPARAMS_PFL__##e)
#define BFM_USBCTRL_HCCPARAMS_PFL_V(v)      BM_USBCTRL_HCCPARAMS_PFL
#define BP_USBCTRL_HCCPARAMS_ADC            0
#define BM_USBCTRL_HCCPARAMS_ADC            0x1
#define BF_USBCTRL_HCCPARAMS_ADC(v)         (((v) & 0x1) << 0)
#define BFM_USBCTRL_HCCPARAMS_ADC(v)        BM_USBCTRL_HCCPARAMS_ADC
#define BF_USBCTRL_HCCPARAMS_ADC_V(e)       BF_USBCTRL_HCCPARAMS_ADC(BV_USBCTRL_HCCPARAMS_ADC__##e)
#define BFM_USBCTRL_HCCPARAMS_ADC_V(v)      BM_USBCTRL_HCCPARAMS_ADC

#define HW_USBCTRL_DCIVERSION                   HW(USBCTRL_DCIVERSION)
#define HWA_USBCTRL_DCIVERSION                  (0x80080000 + 0x120)
#define HWT_USBCTRL_DCIVERSION                  HWIO_32_RW
#define HWN_USBCTRL_DCIVERSION                  USBCTRL_DCIVERSION
#define HWI_USBCTRL_DCIVERSION                  
#define BP_USBCTRL_DCIVERSION_RSVD              16
#define BM_USBCTRL_DCIVERSION_RSVD              0xffff0000
#define BF_USBCTRL_DCIVERSION_RSVD(v)           (((v) & 0xffff) << 16)
#define BFM_USBCTRL_DCIVERSION_RSVD(v)          BM_USBCTRL_DCIVERSION_RSVD
#define BF_USBCTRL_DCIVERSION_RSVD_V(e)         BF_USBCTRL_DCIVERSION_RSVD(BV_USBCTRL_DCIVERSION_RSVD__##e)
#define BFM_USBCTRL_DCIVERSION_RSVD_V(v)        BM_USBCTRL_DCIVERSION_RSVD
#define BP_USBCTRL_DCIVERSION_DCIVERSION        0
#define BM_USBCTRL_DCIVERSION_DCIVERSION        0xffff
#define BF_USBCTRL_DCIVERSION_DCIVERSION(v)     (((v) & 0xffff) << 0)
#define BFM_USBCTRL_DCIVERSION_DCIVERSION(v)    BM_USBCTRL_DCIVERSION_DCIVERSION
#define BF_USBCTRL_DCIVERSION_DCIVERSION_V(e)   BF_USBCTRL_DCIVERSION_DCIVERSION(BV_USBCTRL_DCIVERSION_DCIVERSION__##e)
#define BFM_USBCTRL_DCIVERSION_DCIVERSION_V(v)  BM_USBCTRL_DCIVERSION_DCIVERSION

#define HW_USBCTRL_DCCPARAMS                HW(USBCTRL_DCCPARAMS)
#define HWA_USBCTRL_DCCPARAMS               (0x80080000 + 0x124)
#define HWT_USBCTRL_DCCPARAMS               HWIO_32_RW
#define HWN_USBCTRL_DCCPARAMS               USBCTRL_DCCPARAMS
#define HWI_USBCTRL_DCCPARAMS               
#define BP_USBCTRL_DCCPARAMS_RSVD1          9
#define BM_USBCTRL_DCCPARAMS_RSVD1          0xfffffe00
#define BF_USBCTRL_DCCPARAMS_RSVD1(v)       (((v) & 0x7fffff) << 9)
#define BFM_USBCTRL_DCCPARAMS_RSVD1(v)      BM_USBCTRL_DCCPARAMS_RSVD1
#define BF_USBCTRL_DCCPARAMS_RSVD1_V(e)     BF_USBCTRL_DCCPARAMS_RSVD1(BV_USBCTRL_DCCPARAMS_RSVD1__##e)
#define BFM_USBCTRL_DCCPARAMS_RSVD1_V(v)    BM_USBCTRL_DCCPARAMS_RSVD1
#define BP_USBCTRL_DCCPARAMS_HC             8
#define BM_USBCTRL_DCCPARAMS_HC             0x100
#define BF_USBCTRL_DCCPARAMS_HC(v)          (((v) & 0x1) << 8)
#define BFM_USBCTRL_DCCPARAMS_HC(v)         BM_USBCTRL_DCCPARAMS_HC
#define BF_USBCTRL_DCCPARAMS_HC_V(e)        BF_USBCTRL_DCCPARAMS_HC(BV_USBCTRL_DCCPARAMS_HC__##e)
#define BFM_USBCTRL_DCCPARAMS_HC_V(v)       BM_USBCTRL_DCCPARAMS_HC
#define BP_USBCTRL_DCCPARAMS_DC             7
#define BM_USBCTRL_DCCPARAMS_DC             0x80
#define BF_USBCTRL_DCCPARAMS_DC(v)          (((v) & 0x1) << 7)
#define BFM_USBCTRL_DCCPARAMS_DC(v)         BM_USBCTRL_DCCPARAMS_DC
#define BF_USBCTRL_DCCPARAMS_DC_V(e)        BF_USBCTRL_DCCPARAMS_DC(BV_USBCTRL_DCCPARAMS_DC__##e)
#define BFM_USBCTRL_DCCPARAMS_DC_V(v)       BM_USBCTRL_DCCPARAMS_DC
#define BP_USBCTRL_DCCPARAMS_RSVD2          5
#define BM_USBCTRL_DCCPARAMS_RSVD2          0x60
#define BF_USBCTRL_DCCPARAMS_RSVD2(v)       (((v) & 0x3) << 5)
#define BFM_USBCTRL_DCCPARAMS_RSVD2(v)      BM_USBCTRL_DCCPARAMS_RSVD2
#define BF_USBCTRL_DCCPARAMS_RSVD2_V(e)     BF_USBCTRL_DCCPARAMS_RSVD2(BV_USBCTRL_DCCPARAMS_RSVD2__##e)
#define BFM_USBCTRL_DCCPARAMS_RSVD2_V(v)    BM_USBCTRL_DCCPARAMS_RSVD2
#define BP_USBCTRL_DCCPARAMS_DEN            0
#define BM_USBCTRL_DCCPARAMS_DEN            0x1f
#define BF_USBCTRL_DCCPARAMS_DEN(v)         (((v) & 0x1f) << 0)
#define BFM_USBCTRL_DCCPARAMS_DEN(v)        BM_USBCTRL_DCCPARAMS_DEN
#define BF_USBCTRL_DCCPARAMS_DEN_V(e)       BF_USBCTRL_DCCPARAMS_DEN(BV_USBCTRL_DCCPARAMS_DEN__##e)
#define BFM_USBCTRL_DCCPARAMS_DEN_V(v)      BM_USBCTRL_DCCPARAMS_DEN

#define HW_USBCTRL_USBCMD                       HW(USBCTRL_USBCMD)
#define HWA_USBCTRL_USBCMD                      (0x80080000 + 0x140)
#define HWT_USBCTRL_USBCMD                      HWIO_32_RW
#define HWN_USBCTRL_USBCMD                      USBCTRL_USBCMD
#define HWI_USBCTRL_USBCMD                      
#define BP_USBCTRL_USBCMD_RSVD3                 24
#define BM_USBCTRL_USBCMD_RSVD3                 0xff000000
#define BF_USBCTRL_USBCMD_RSVD3(v)              (((v) & 0xff) << 24)
#define BFM_USBCTRL_USBCMD_RSVD3(v)             BM_USBCTRL_USBCMD_RSVD3
#define BF_USBCTRL_USBCMD_RSVD3_V(e)            BF_USBCTRL_USBCMD_RSVD3(BV_USBCTRL_USBCMD_RSVD3__##e)
#define BFM_USBCTRL_USBCMD_RSVD3_V(v)           BM_USBCTRL_USBCMD_RSVD3
#define BP_USBCTRL_USBCMD_ITC                   16
#define BM_USBCTRL_USBCMD_ITC                   0xff0000
#define BV_USBCTRL_USBCMD_ITC__IMM              0x0
#define BV_USBCTRL_USBCMD_ITC__1_MICROFRAME     0x1
#define BV_USBCTRL_USBCMD_ITC__2_MICROFRAME     0x2
#define BV_USBCTRL_USBCMD_ITC__4_MICROFRAME     0x4
#define BV_USBCTRL_USBCMD_ITC__8_MICROFRAME     0x8
#define BV_USBCTRL_USBCMD_ITC__16_MICROFRAME    0x10
#define BV_USBCTRL_USBCMD_ITC__32_MICROFRAME    0x20
#define BV_USBCTRL_USBCMD_ITC__64_MICROFRAME    0x40
#define BF_USBCTRL_USBCMD_ITC(v)                (((v) & 0xff) << 16)
#define BFM_USBCTRL_USBCMD_ITC(v)               BM_USBCTRL_USBCMD_ITC
#define BF_USBCTRL_USBCMD_ITC_V(e)              BF_USBCTRL_USBCMD_ITC(BV_USBCTRL_USBCMD_ITC__##e)
#define BFM_USBCTRL_USBCMD_ITC_V(v)             BM_USBCTRL_USBCMD_ITC
#define BP_USBCTRL_USBCMD_FS2                   15
#define BM_USBCTRL_USBCMD_FS2                   0x8000
#define BF_USBCTRL_USBCMD_FS2(v)                (((v) & 0x1) << 15)
#define BFM_USBCTRL_USBCMD_FS2(v)               BM_USBCTRL_USBCMD_FS2
#define BF_USBCTRL_USBCMD_FS2_V(e)              BF_USBCTRL_USBCMD_FS2(BV_USBCTRL_USBCMD_FS2__##e)
#define BFM_USBCTRL_USBCMD_FS2_V(v)             BM_USBCTRL_USBCMD_FS2
#define BP_USBCTRL_USBCMD_ATDTW                 14
#define BM_USBCTRL_USBCMD_ATDTW                 0x4000
#define BF_USBCTRL_USBCMD_ATDTW(v)              (((v) & 0x1) << 14)
#define BFM_USBCTRL_USBCMD_ATDTW(v)             BM_USBCTRL_USBCMD_ATDTW
#define BF_USBCTRL_USBCMD_ATDTW_V(e)            BF_USBCTRL_USBCMD_ATDTW(BV_USBCTRL_USBCMD_ATDTW__##e)
#define BFM_USBCTRL_USBCMD_ATDTW_V(v)           BM_USBCTRL_USBCMD_ATDTW
#define BP_USBCTRL_USBCMD_SUTW                  13
#define BM_USBCTRL_USBCMD_SUTW                  0x2000
#define BF_USBCTRL_USBCMD_SUTW(v)               (((v) & 0x1) << 13)
#define BFM_USBCTRL_USBCMD_SUTW(v)              BM_USBCTRL_USBCMD_SUTW
#define BF_USBCTRL_USBCMD_SUTW_V(e)             BF_USBCTRL_USBCMD_SUTW(BV_USBCTRL_USBCMD_SUTW__##e)
#define BFM_USBCTRL_USBCMD_SUTW_V(v)            BM_USBCTRL_USBCMD_SUTW
#define BP_USBCTRL_USBCMD_RSVD2                 12
#define BM_USBCTRL_USBCMD_RSVD2                 0x1000
#define BF_USBCTRL_USBCMD_RSVD2(v)              (((v) & 0x1) << 12)
#define BFM_USBCTRL_USBCMD_RSVD2(v)             BM_USBCTRL_USBCMD_RSVD2
#define BF_USBCTRL_USBCMD_RSVD2_V(e)            BF_USBCTRL_USBCMD_RSVD2(BV_USBCTRL_USBCMD_RSVD2__##e)
#define BFM_USBCTRL_USBCMD_RSVD2_V(v)           BM_USBCTRL_USBCMD_RSVD2
#define BP_USBCTRL_USBCMD_ASPE                  11
#define BM_USBCTRL_USBCMD_ASPE                  0x800
#define BF_USBCTRL_USBCMD_ASPE(v)               (((v) & 0x1) << 11)
#define BFM_USBCTRL_USBCMD_ASPE(v)              BM_USBCTRL_USBCMD_ASPE
#define BF_USBCTRL_USBCMD_ASPE_V(e)             BF_USBCTRL_USBCMD_ASPE(BV_USBCTRL_USBCMD_ASPE__##e)
#define BFM_USBCTRL_USBCMD_ASPE_V(v)            BM_USBCTRL_USBCMD_ASPE
#define BP_USBCTRL_USBCMD_RSVD1                 10
#define BM_USBCTRL_USBCMD_RSVD1                 0x400
#define BF_USBCTRL_USBCMD_RSVD1(v)              (((v) & 0x1) << 10)
#define BFM_USBCTRL_USBCMD_RSVD1(v)             BM_USBCTRL_USBCMD_RSVD1
#define BF_USBCTRL_USBCMD_RSVD1_V(e)            BF_USBCTRL_USBCMD_RSVD1(BV_USBCTRL_USBCMD_RSVD1__##e)
#define BFM_USBCTRL_USBCMD_RSVD1_V(v)           BM_USBCTRL_USBCMD_RSVD1
#define BP_USBCTRL_USBCMD_ASP                   8
#define BM_USBCTRL_USBCMD_ASP                   0x300
#define BF_USBCTRL_USBCMD_ASP(v)                (((v) & 0x3) << 8)
#define BFM_USBCTRL_USBCMD_ASP(v)               BM_USBCTRL_USBCMD_ASP
#define BF_USBCTRL_USBCMD_ASP_V(e)              BF_USBCTRL_USBCMD_ASP(BV_USBCTRL_USBCMD_ASP__##e)
#define BFM_USBCTRL_USBCMD_ASP_V(v)             BM_USBCTRL_USBCMD_ASP
#define BP_USBCTRL_USBCMD_LR                    7
#define BM_USBCTRL_USBCMD_LR                    0x80
#define BF_USBCTRL_USBCMD_LR(v)                 (((v) & 0x1) << 7)
#define BFM_USBCTRL_USBCMD_LR(v)                BM_USBCTRL_USBCMD_LR
#define BF_USBCTRL_USBCMD_LR_V(e)               BF_USBCTRL_USBCMD_LR(BV_USBCTRL_USBCMD_LR__##e)
#define BFM_USBCTRL_USBCMD_LR_V(v)              BM_USBCTRL_USBCMD_LR
#define BP_USBCTRL_USBCMD_IAA                   6
#define BM_USBCTRL_USBCMD_IAA                   0x40
#define BF_USBCTRL_USBCMD_IAA(v)                (((v) & 0x1) << 6)
#define BFM_USBCTRL_USBCMD_IAA(v)               BM_USBCTRL_USBCMD_IAA
#define BF_USBCTRL_USBCMD_IAA_V(e)              BF_USBCTRL_USBCMD_IAA(BV_USBCTRL_USBCMD_IAA__##e)
#define BFM_USBCTRL_USBCMD_IAA_V(v)             BM_USBCTRL_USBCMD_IAA
#define BP_USBCTRL_USBCMD_ASE                   5
#define BM_USBCTRL_USBCMD_ASE                   0x20
#define BF_USBCTRL_USBCMD_ASE(v)                (((v) & 0x1) << 5)
#define BFM_USBCTRL_USBCMD_ASE(v)               BM_USBCTRL_USBCMD_ASE
#define BF_USBCTRL_USBCMD_ASE_V(e)              BF_USBCTRL_USBCMD_ASE(BV_USBCTRL_USBCMD_ASE__##e)
#define BFM_USBCTRL_USBCMD_ASE_V(v)             BM_USBCTRL_USBCMD_ASE
#define BP_USBCTRL_USBCMD_PSE                   4
#define BM_USBCTRL_USBCMD_PSE                   0x10
#define BF_USBCTRL_USBCMD_PSE(v)                (((v) & 0x1) << 4)
#define BFM_USBCTRL_USBCMD_PSE(v)               BM_USBCTRL_USBCMD_PSE
#define BF_USBCTRL_USBCMD_PSE_V(e)              BF_USBCTRL_USBCMD_PSE(BV_USBCTRL_USBCMD_PSE__##e)
#define BFM_USBCTRL_USBCMD_PSE_V(v)             BM_USBCTRL_USBCMD_PSE
#define BP_USBCTRL_USBCMD_FS1                   3
#define BM_USBCTRL_USBCMD_FS1                   0x8
#define BF_USBCTRL_USBCMD_FS1(v)                (((v) & 0x1) << 3)
#define BFM_USBCTRL_USBCMD_FS1(v)               BM_USBCTRL_USBCMD_FS1
#define BF_USBCTRL_USBCMD_FS1_V(e)              BF_USBCTRL_USBCMD_FS1(BV_USBCTRL_USBCMD_FS1__##e)
#define BFM_USBCTRL_USBCMD_FS1_V(v)             BM_USBCTRL_USBCMD_FS1
#define BP_USBCTRL_USBCMD_FS0                   2
#define BM_USBCTRL_USBCMD_FS0                   0x4
#define BF_USBCTRL_USBCMD_FS0(v)                (((v) & 0x1) << 2)
#define BFM_USBCTRL_USBCMD_FS0(v)               BM_USBCTRL_USBCMD_FS0
#define BF_USBCTRL_USBCMD_FS0_V(e)              BF_USBCTRL_USBCMD_FS0(BV_USBCTRL_USBCMD_FS0__##e)
#define BFM_USBCTRL_USBCMD_FS0_V(v)             BM_USBCTRL_USBCMD_FS0
#define BP_USBCTRL_USBCMD_RST                   1
#define BM_USBCTRL_USBCMD_RST                   0x2
#define BF_USBCTRL_USBCMD_RST(v)                (((v) & 0x1) << 1)
#define BFM_USBCTRL_USBCMD_RST(v)               BM_USBCTRL_USBCMD_RST
#define BF_USBCTRL_USBCMD_RST_V(e)              BF_USBCTRL_USBCMD_RST(BV_USBCTRL_USBCMD_RST__##e)
#define BFM_USBCTRL_USBCMD_RST_V(v)             BM_USBCTRL_USBCMD_RST
#define BP_USBCTRL_USBCMD_RS                    0
#define BM_USBCTRL_USBCMD_RS                    0x1
#define BF_USBCTRL_USBCMD_RS(v)                 (((v) & 0x1) << 0)
#define BFM_USBCTRL_USBCMD_RS(v)                BM_USBCTRL_USBCMD_RS
#define BF_USBCTRL_USBCMD_RS_V(e)               BF_USBCTRL_USBCMD_RS(BV_USBCTRL_USBCMD_RS__##e)
#define BFM_USBCTRL_USBCMD_RS_V(v)              BM_USBCTRL_USBCMD_RS

#define HW_USBCTRL_USBSTS               HW(USBCTRL_USBSTS)
#define HWA_USBCTRL_USBSTS              (0x80080000 + 0x144)
#define HWT_USBCTRL_USBSTS              HWIO_32_RW
#define HWN_USBCTRL_USBSTS              USBCTRL_USBSTS
#define HWI_USBCTRL_USBSTS              
#define BP_USBCTRL_USBSTS_RSVD5         26
#define BM_USBCTRL_USBSTS_RSVD5         0xfc000000
#define BF_USBCTRL_USBSTS_RSVD5(v)      (((v) & 0x3f) << 26)
#define BFM_USBCTRL_USBSTS_RSVD5(v)     BM_USBCTRL_USBSTS_RSVD5
#define BF_USBCTRL_USBSTS_RSVD5_V(e)    BF_USBCTRL_USBSTS_RSVD5(BV_USBCTRL_USBSTS_RSVD5__##e)
#define BFM_USBCTRL_USBSTS_RSVD5_V(v)   BM_USBCTRL_USBSTS_RSVD5
#define BP_USBCTRL_USBSTS_TI1           25
#define BM_USBCTRL_USBSTS_TI1           0x2000000
#define BF_USBCTRL_USBSTS_TI1(v)        (((v) & 0x1) << 25)
#define BFM_USBCTRL_USBSTS_TI1(v)       BM_USBCTRL_USBSTS_TI1
#define BF_USBCTRL_USBSTS_TI1_V(e)      BF_USBCTRL_USBSTS_TI1(BV_USBCTRL_USBSTS_TI1__##e)
#define BFM_USBCTRL_USBSTS_TI1_V(v)     BM_USBCTRL_USBSTS_TI1
#define BP_USBCTRL_USBSTS_TI0           24
#define BM_USBCTRL_USBSTS_TI0           0x1000000
#define BF_USBCTRL_USBSTS_TI0(v)        (((v) & 0x1) << 24)
#define BFM_USBCTRL_USBSTS_TI0(v)       BM_USBCTRL_USBSTS_TI0
#define BF_USBCTRL_USBSTS_TI0_V(e)      BF_USBCTRL_USBSTS_TI0(BV_USBCTRL_USBSTS_TI0__##e)
#define BFM_USBCTRL_USBSTS_TI0_V(v)     BM_USBCTRL_USBSTS_TI0
#define BP_USBCTRL_USBSTS_RSVD4         20
#define BM_USBCTRL_USBSTS_RSVD4         0xf00000
#define BF_USBCTRL_USBSTS_RSVD4(v)      (((v) & 0xf) << 20)
#define BFM_USBCTRL_USBSTS_RSVD4(v)     BM_USBCTRL_USBSTS_RSVD4
#define BF_USBCTRL_USBSTS_RSVD4_V(e)    BF_USBCTRL_USBSTS_RSVD4(BV_USBCTRL_USBSTS_RSVD4__##e)
#define BFM_USBCTRL_USBSTS_RSVD4_V(v)   BM_USBCTRL_USBSTS_RSVD4
#define BP_USBCTRL_USBSTS_UPI           19
#define BM_USBCTRL_USBSTS_UPI           0x80000
#define BF_USBCTRL_USBSTS_UPI(v)        (((v) & 0x1) << 19)
#define BFM_USBCTRL_USBSTS_UPI(v)       BM_USBCTRL_USBSTS_UPI
#define BF_USBCTRL_USBSTS_UPI_V(e)      BF_USBCTRL_USBSTS_UPI(BV_USBCTRL_USBSTS_UPI__##e)
#define BFM_USBCTRL_USBSTS_UPI_V(v)     BM_USBCTRL_USBSTS_UPI
#define BP_USBCTRL_USBSTS_UAI           18
#define BM_USBCTRL_USBSTS_UAI           0x40000
#define BF_USBCTRL_USBSTS_UAI(v)        (((v) & 0x1) << 18)
#define BFM_USBCTRL_USBSTS_UAI(v)       BM_USBCTRL_USBSTS_UAI
#define BF_USBCTRL_USBSTS_UAI_V(e)      BF_USBCTRL_USBSTS_UAI(BV_USBCTRL_USBSTS_UAI__##e)
#define BFM_USBCTRL_USBSTS_UAI_V(v)     BM_USBCTRL_USBSTS_UAI
#define BP_USBCTRL_USBSTS_RSVD3         17
#define BM_USBCTRL_USBSTS_RSVD3         0x20000
#define BF_USBCTRL_USBSTS_RSVD3(v)      (((v) & 0x1) << 17)
#define BFM_USBCTRL_USBSTS_RSVD3(v)     BM_USBCTRL_USBSTS_RSVD3
#define BF_USBCTRL_USBSTS_RSVD3_V(e)    BF_USBCTRL_USBSTS_RSVD3(BV_USBCTRL_USBSTS_RSVD3__##e)
#define BFM_USBCTRL_USBSTS_RSVD3_V(v)   BM_USBCTRL_USBSTS_RSVD3
#define BP_USBCTRL_USBSTS_NAKI          16
#define BM_USBCTRL_USBSTS_NAKI          0x10000
#define BF_USBCTRL_USBSTS_NAKI(v)       (((v) & 0x1) << 16)
#define BFM_USBCTRL_USBSTS_NAKI(v)      BM_USBCTRL_USBSTS_NAKI
#define BF_USBCTRL_USBSTS_NAKI_V(e)     BF_USBCTRL_USBSTS_NAKI(BV_USBCTRL_USBSTS_NAKI__##e)
#define BFM_USBCTRL_USBSTS_NAKI_V(v)    BM_USBCTRL_USBSTS_NAKI
#define BP_USBCTRL_USBSTS_AS            15
#define BM_USBCTRL_USBSTS_AS            0x8000
#define BF_USBCTRL_USBSTS_AS(v)         (((v) & 0x1) << 15)
#define BFM_USBCTRL_USBSTS_AS(v)        BM_USBCTRL_USBSTS_AS
#define BF_USBCTRL_USBSTS_AS_V(e)       BF_USBCTRL_USBSTS_AS(BV_USBCTRL_USBSTS_AS__##e)
#define BFM_USBCTRL_USBSTS_AS_V(v)      BM_USBCTRL_USBSTS_AS
#define BP_USBCTRL_USBSTS_PS            14
#define BM_USBCTRL_USBSTS_PS            0x4000
#define BF_USBCTRL_USBSTS_PS(v)         (((v) & 0x1) << 14)
#define BFM_USBCTRL_USBSTS_PS(v)        BM_USBCTRL_USBSTS_PS
#define BF_USBCTRL_USBSTS_PS_V(e)       BF_USBCTRL_USBSTS_PS(BV_USBCTRL_USBSTS_PS__##e)
#define BFM_USBCTRL_USBSTS_PS_V(v)      BM_USBCTRL_USBSTS_PS
#define BP_USBCTRL_USBSTS_RCL           13
#define BM_USBCTRL_USBSTS_RCL           0x2000
#define BF_USBCTRL_USBSTS_RCL(v)        (((v) & 0x1) << 13)
#define BFM_USBCTRL_USBSTS_RCL(v)       BM_USBCTRL_USBSTS_RCL
#define BF_USBCTRL_USBSTS_RCL_V(e)      BF_USBCTRL_USBSTS_RCL(BV_USBCTRL_USBSTS_RCL__##e)
#define BFM_USBCTRL_USBSTS_RCL_V(v)     BM_USBCTRL_USBSTS_RCL
#define BP_USBCTRL_USBSTS_HCH           12
#define BM_USBCTRL_USBSTS_HCH           0x1000
#define BF_USBCTRL_USBSTS_HCH(v)        (((v) & 0x1) << 12)
#define BFM_USBCTRL_USBSTS_HCH(v)       BM_USBCTRL_USBSTS_HCH
#define BF_USBCTRL_USBSTS_HCH_V(e)      BF_USBCTRL_USBSTS_HCH(BV_USBCTRL_USBSTS_HCH__##e)
#define BFM_USBCTRL_USBSTS_HCH_V(v)     BM_USBCTRL_USBSTS_HCH
#define BP_USBCTRL_USBSTS_RSVD2         11
#define BM_USBCTRL_USBSTS_RSVD2         0x800
#define BF_USBCTRL_USBSTS_RSVD2(v)      (((v) & 0x1) << 11)
#define BFM_USBCTRL_USBSTS_RSVD2(v)     BM_USBCTRL_USBSTS_RSVD2
#define BF_USBCTRL_USBSTS_RSVD2_V(e)    BF_USBCTRL_USBSTS_RSVD2(BV_USBCTRL_USBSTS_RSVD2__##e)
#define BFM_USBCTRL_USBSTS_RSVD2_V(v)   BM_USBCTRL_USBSTS_RSVD2
#define BP_USBCTRL_USBSTS_ULPII         10
#define BM_USBCTRL_USBSTS_ULPII         0x400
#define BF_USBCTRL_USBSTS_ULPII(v)      (((v) & 0x1) << 10)
#define BFM_USBCTRL_USBSTS_ULPII(v)     BM_USBCTRL_USBSTS_ULPII
#define BF_USBCTRL_USBSTS_ULPII_V(e)    BF_USBCTRL_USBSTS_ULPII(BV_USBCTRL_USBSTS_ULPII__##e)
#define BFM_USBCTRL_USBSTS_ULPII_V(v)   BM_USBCTRL_USBSTS_ULPII
#define BP_USBCTRL_USBSTS_RSVD1         9
#define BM_USBCTRL_USBSTS_RSVD1         0x200
#define BF_USBCTRL_USBSTS_RSVD1(v)      (((v) & 0x1) << 9)
#define BFM_USBCTRL_USBSTS_RSVD1(v)     BM_USBCTRL_USBSTS_RSVD1
#define BF_USBCTRL_USBSTS_RSVD1_V(e)    BF_USBCTRL_USBSTS_RSVD1(BV_USBCTRL_USBSTS_RSVD1__##e)
#define BFM_USBCTRL_USBSTS_RSVD1_V(v)   BM_USBCTRL_USBSTS_RSVD1
#define BP_USBCTRL_USBSTS_SLI           8
#define BM_USBCTRL_USBSTS_SLI           0x100
#define BF_USBCTRL_USBSTS_SLI(v)        (((v) & 0x1) << 8)
#define BFM_USBCTRL_USBSTS_SLI(v)       BM_USBCTRL_USBSTS_SLI
#define BF_USBCTRL_USBSTS_SLI_V(e)      BF_USBCTRL_USBSTS_SLI(BV_USBCTRL_USBSTS_SLI__##e)
#define BFM_USBCTRL_USBSTS_SLI_V(v)     BM_USBCTRL_USBSTS_SLI
#define BP_USBCTRL_USBSTS_SRI           7
#define BM_USBCTRL_USBSTS_SRI           0x80
#define BF_USBCTRL_USBSTS_SRI(v)        (((v) & 0x1) << 7)
#define BFM_USBCTRL_USBSTS_SRI(v)       BM_USBCTRL_USBSTS_SRI
#define BF_USBCTRL_USBSTS_SRI_V(e)      BF_USBCTRL_USBSTS_SRI(BV_USBCTRL_USBSTS_SRI__##e)
#define BFM_USBCTRL_USBSTS_SRI_V(v)     BM_USBCTRL_USBSTS_SRI
#define BP_USBCTRL_USBSTS_URI           6
#define BM_USBCTRL_USBSTS_URI           0x40
#define BF_USBCTRL_USBSTS_URI(v)        (((v) & 0x1) << 6)
#define BFM_USBCTRL_USBSTS_URI(v)       BM_USBCTRL_USBSTS_URI
#define BF_USBCTRL_USBSTS_URI_V(e)      BF_USBCTRL_USBSTS_URI(BV_USBCTRL_USBSTS_URI__##e)
#define BFM_USBCTRL_USBSTS_URI_V(v)     BM_USBCTRL_USBSTS_URI
#define BP_USBCTRL_USBSTS_AAI           5
#define BM_USBCTRL_USBSTS_AAI           0x20
#define BF_USBCTRL_USBSTS_AAI(v)        (((v) & 0x1) << 5)
#define BFM_USBCTRL_USBSTS_AAI(v)       BM_USBCTRL_USBSTS_AAI
#define BF_USBCTRL_USBSTS_AAI_V(e)      BF_USBCTRL_USBSTS_AAI(BV_USBCTRL_USBSTS_AAI__##e)
#define BFM_USBCTRL_USBSTS_AAI_V(v)     BM_USBCTRL_USBSTS_AAI
#define BP_USBCTRL_USBSTS_SEI           4
#define BM_USBCTRL_USBSTS_SEI           0x10
#define BF_USBCTRL_USBSTS_SEI(v)        (((v) & 0x1) << 4)
#define BFM_USBCTRL_USBSTS_SEI(v)       BM_USBCTRL_USBSTS_SEI
#define BF_USBCTRL_USBSTS_SEI_V(e)      BF_USBCTRL_USBSTS_SEI(BV_USBCTRL_USBSTS_SEI__##e)
#define BFM_USBCTRL_USBSTS_SEI_V(v)     BM_USBCTRL_USBSTS_SEI
#define BP_USBCTRL_USBSTS_FRI           3
#define BM_USBCTRL_USBSTS_FRI           0x8
#define BF_USBCTRL_USBSTS_FRI(v)        (((v) & 0x1) << 3)
#define BFM_USBCTRL_USBSTS_FRI(v)       BM_USBCTRL_USBSTS_FRI
#define BF_USBCTRL_USBSTS_FRI_V(e)      BF_USBCTRL_USBSTS_FRI(BV_USBCTRL_USBSTS_FRI__##e)
#define BFM_USBCTRL_USBSTS_FRI_V(v)     BM_USBCTRL_USBSTS_FRI
#define BP_USBCTRL_USBSTS_PCI           2
#define BM_USBCTRL_USBSTS_PCI           0x4
#define BF_USBCTRL_USBSTS_PCI(v)        (((v) & 0x1) << 2)
#define BFM_USBCTRL_USBSTS_PCI(v)       BM_USBCTRL_USBSTS_PCI
#define BF_USBCTRL_USBSTS_PCI_V(e)      BF_USBCTRL_USBSTS_PCI(BV_USBCTRL_USBSTS_PCI__##e)
#define BFM_USBCTRL_USBSTS_PCI_V(v)     BM_USBCTRL_USBSTS_PCI
#define BP_USBCTRL_USBSTS_UEI           1
#define BM_USBCTRL_USBSTS_UEI           0x2
#define BF_USBCTRL_USBSTS_UEI(v)        (((v) & 0x1) << 1)
#define BFM_USBCTRL_USBSTS_UEI(v)       BM_USBCTRL_USBSTS_UEI
#define BF_USBCTRL_USBSTS_UEI_V(e)      BF_USBCTRL_USBSTS_UEI(BV_USBCTRL_USBSTS_UEI__##e)
#define BFM_USBCTRL_USBSTS_UEI_V(v)     BM_USBCTRL_USBSTS_UEI
#define BP_USBCTRL_USBSTS_UI            0
#define BM_USBCTRL_USBSTS_UI            0x1
#define BF_USBCTRL_USBSTS_UI(v)         (((v) & 0x1) << 0)
#define BFM_USBCTRL_USBSTS_UI(v)        BM_USBCTRL_USBSTS_UI
#define BF_USBCTRL_USBSTS_UI_V(e)       BF_USBCTRL_USBSTS_UI(BV_USBCTRL_USBSTS_UI__##e)
#define BFM_USBCTRL_USBSTS_UI_V(v)      BM_USBCTRL_USBSTS_UI

#define HW_USBCTRL_USBINTR              HW(USBCTRL_USBINTR)
#define HWA_USBCTRL_USBINTR             (0x80080000 + 0x148)
#define HWT_USBCTRL_USBINTR             HWIO_32_RW
#define HWN_USBCTRL_USBINTR             USBCTRL_USBINTR
#define HWI_USBCTRL_USBINTR             
#define BP_USBCTRL_USBINTR_RSVD5        26
#define BM_USBCTRL_USBINTR_RSVD5        0xfc000000
#define BF_USBCTRL_USBINTR_RSVD5(v)     (((v) & 0x3f) << 26)
#define BFM_USBCTRL_USBINTR_RSVD5(v)    BM_USBCTRL_USBINTR_RSVD5
#define BF_USBCTRL_USBINTR_RSVD5_V(e)   BF_USBCTRL_USBINTR_RSVD5(BV_USBCTRL_USBINTR_RSVD5__##e)
#define BFM_USBCTRL_USBINTR_RSVD5_V(v)  BM_USBCTRL_USBINTR_RSVD5
#define BP_USBCTRL_USBINTR_TIE1         25
#define BM_USBCTRL_USBINTR_TIE1         0x2000000
#define BF_USBCTRL_USBINTR_TIE1(v)      (((v) & 0x1) << 25)
#define BFM_USBCTRL_USBINTR_TIE1(v)     BM_USBCTRL_USBINTR_TIE1
#define BF_USBCTRL_USBINTR_TIE1_V(e)    BF_USBCTRL_USBINTR_TIE1(BV_USBCTRL_USBINTR_TIE1__##e)
#define BFM_USBCTRL_USBINTR_TIE1_V(v)   BM_USBCTRL_USBINTR_TIE1
#define BP_USBCTRL_USBINTR_TIE0         24
#define BM_USBCTRL_USBINTR_TIE0         0x1000000
#define BF_USBCTRL_USBINTR_TIE0(v)      (((v) & 0x1) << 24)
#define BFM_USBCTRL_USBINTR_TIE0(v)     BM_USBCTRL_USBINTR_TIE0
#define BF_USBCTRL_USBINTR_TIE0_V(e)    BF_USBCTRL_USBINTR_TIE0(BV_USBCTRL_USBINTR_TIE0__##e)
#define BFM_USBCTRL_USBINTR_TIE0_V(v)   BM_USBCTRL_USBINTR_TIE0
#define BP_USBCTRL_USBINTR_RSVD4        20
#define BM_USBCTRL_USBINTR_RSVD4        0xf00000
#define BF_USBCTRL_USBINTR_RSVD4(v)     (((v) & 0xf) << 20)
#define BFM_USBCTRL_USBINTR_RSVD4(v)    BM_USBCTRL_USBINTR_RSVD4
#define BF_USBCTRL_USBINTR_RSVD4_V(e)   BF_USBCTRL_USBINTR_RSVD4(BV_USBCTRL_USBINTR_RSVD4__##e)
#define BFM_USBCTRL_USBINTR_RSVD4_V(v)  BM_USBCTRL_USBINTR_RSVD4
#define BP_USBCTRL_USBINTR_UPIE         19
#define BM_USBCTRL_USBINTR_UPIE         0x80000
#define BF_USBCTRL_USBINTR_UPIE(v)      (((v) & 0x1) << 19)
#define BFM_USBCTRL_USBINTR_UPIE(v)     BM_USBCTRL_USBINTR_UPIE
#define BF_USBCTRL_USBINTR_UPIE_V(e)    BF_USBCTRL_USBINTR_UPIE(BV_USBCTRL_USBINTR_UPIE__##e)
#define BFM_USBCTRL_USBINTR_UPIE_V(v)   BM_USBCTRL_USBINTR_UPIE
#define BP_USBCTRL_USBINTR_UAIE         18
#define BM_USBCTRL_USBINTR_UAIE         0x40000
#define BF_USBCTRL_USBINTR_UAIE(v)      (((v) & 0x1) << 18)
#define BFM_USBCTRL_USBINTR_UAIE(v)     BM_USBCTRL_USBINTR_UAIE
#define BF_USBCTRL_USBINTR_UAIE_V(e)    BF_USBCTRL_USBINTR_UAIE(BV_USBCTRL_USBINTR_UAIE__##e)
#define BFM_USBCTRL_USBINTR_UAIE_V(v)   BM_USBCTRL_USBINTR_UAIE
#define BP_USBCTRL_USBINTR_RSVD3        17
#define BM_USBCTRL_USBINTR_RSVD3        0x20000
#define BF_USBCTRL_USBINTR_RSVD3(v)     (((v) & 0x1) << 17)
#define BFM_USBCTRL_USBINTR_RSVD3(v)    BM_USBCTRL_USBINTR_RSVD3
#define BF_USBCTRL_USBINTR_RSVD3_V(e)   BF_USBCTRL_USBINTR_RSVD3(BV_USBCTRL_USBINTR_RSVD3__##e)
#define BFM_USBCTRL_USBINTR_RSVD3_V(v)  BM_USBCTRL_USBINTR_RSVD3
#define BP_USBCTRL_USBINTR_NAKE         16
#define BM_USBCTRL_USBINTR_NAKE         0x10000
#define BF_USBCTRL_USBINTR_NAKE(v)      (((v) & 0x1) << 16)
#define BFM_USBCTRL_USBINTR_NAKE(v)     BM_USBCTRL_USBINTR_NAKE
#define BF_USBCTRL_USBINTR_NAKE_V(e)    BF_USBCTRL_USBINTR_NAKE(BV_USBCTRL_USBINTR_NAKE__##e)
#define BFM_USBCTRL_USBINTR_NAKE_V(v)   BM_USBCTRL_USBINTR_NAKE
#define BP_USBCTRL_USBINTR_RSVD2        11
#define BM_USBCTRL_USBINTR_RSVD2        0xf800
#define BF_USBCTRL_USBINTR_RSVD2(v)     (((v) & 0x1f) << 11)
#define BFM_USBCTRL_USBINTR_RSVD2(v)    BM_USBCTRL_USBINTR_RSVD2
#define BF_USBCTRL_USBINTR_RSVD2_V(e)   BF_USBCTRL_USBINTR_RSVD2(BV_USBCTRL_USBINTR_RSVD2__##e)
#define BFM_USBCTRL_USBINTR_RSVD2_V(v)  BM_USBCTRL_USBINTR_RSVD2
#define BP_USBCTRL_USBINTR_ULPIE        10
#define BM_USBCTRL_USBINTR_ULPIE        0x400
#define BF_USBCTRL_USBINTR_ULPIE(v)     (((v) & 0x1) << 10)
#define BFM_USBCTRL_USBINTR_ULPIE(v)    BM_USBCTRL_USBINTR_ULPIE
#define BF_USBCTRL_USBINTR_ULPIE_V(e)   BF_USBCTRL_USBINTR_ULPIE(BV_USBCTRL_USBINTR_ULPIE__##e)
#define BFM_USBCTRL_USBINTR_ULPIE_V(v)  BM_USBCTRL_USBINTR_ULPIE
#define BP_USBCTRL_USBINTR_RSVD1        9
#define BM_USBCTRL_USBINTR_RSVD1        0x200
#define BF_USBCTRL_USBINTR_RSVD1(v)     (((v) & 0x1) << 9)
#define BFM_USBCTRL_USBINTR_RSVD1(v)    BM_USBCTRL_USBINTR_RSVD1
#define BF_USBCTRL_USBINTR_RSVD1_V(e)   BF_USBCTRL_USBINTR_RSVD1(BV_USBCTRL_USBINTR_RSVD1__##e)
#define BFM_USBCTRL_USBINTR_RSVD1_V(v)  BM_USBCTRL_USBINTR_RSVD1
#define BP_USBCTRL_USBINTR_SLE          8
#define BM_USBCTRL_USBINTR_SLE          0x100
#define BF_USBCTRL_USBINTR_SLE(v)       (((v) & 0x1) << 8)
#define BFM_USBCTRL_USBINTR_SLE(v)      BM_USBCTRL_USBINTR_SLE
#define BF_USBCTRL_USBINTR_SLE_V(e)     BF_USBCTRL_USBINTR_SLE(BV_USBCTRL_USBINTR_SLE__##e)
#define BFM_USBCTRL_USBINTR_SLE_V(v)    BM_USBCTRL_USBINTR_SLE
#define BP_USBCTRL_USBINTR_SRE          7
#define BM_USBCTRL_USBINTR_SRE          0x80
#define BF_USBCTRL_USBINTR_SRE(v)       (((v) & 0x1) << 7)
#define BFM_USBCTRL_USBINTR_SRE(v)      BM_USBCTRL_USBINTR_SRE
#define BF_USBCTRL_USBINTR_SRE_V(e)     BF_USBCTRL_USBINTR_SRE(BV_USBCTRL_USBINTR_SRE__##e)
#define BFM_USBCTRL_USBINTR_SRE_V(v)    BM_USBCTRL_USBINTR_SRE
#define BP_USBCTRL_USBINTR_URE          6
#define BM_USBCTRL_USBINTR_URE          0x40
#define BF_USBCTRL_USBINTR_URE(v)       (((v) & 0x1) << 6)
#define BFM_USBCTRL_USBINTR_URE(v)      BM_USBCTRL_USBINTR_URE
#define BF_USBCTRL_USBINTR_URE_V(e)     BF_USBCTRL_USBINTR_URE(BV_USBCTRL_USBINTR_URE__##e)
#define BFM_USBCTRL_USBINTR_URE_V(v)    BM_USBCTRL_USBINTR_URE
#define BP_USBCTRL_USBINTR_AAE          5
#define BM_USBCTRL_USBINTR_AAE          0x20
#define BF_USBCTRL_USBINTR_AAE(v)       (((v) & 0x1) << 5)
#define BFM_USBCTRL_USBINTR_AAE(v)      BM_USBCTRL_USBINTR_AAE
#define BF_USBCTRL_USBINTR_AAE_V(e)     BF_USBCTRL_USBINTR_AAE(BV_USBCTRL_USBINTR_AAE__##e)
#define BFM_USBCTRL_USBINTR_AAE_V(v)    BM_USBCTRL_USBINTR_AAE
#define BP_USBCTRL_USBINTR_SEE          4
#define BM_USBCTRL_USBINTR_SEE          0x10
#define BF_USBCTRL_USBINTR_SEE(v)       (((v) & 0x1) << 4)
#define BFM_USBCTRL_USBINTR_SEE(v)      BM_USBCTRL_USBINTR_SEE
#define BF_USBCTRL_USBINTR_SEE_V(e)     BF_USBCTRL_USBINTR_SEE(BV_USBCTRL_USBINTR_SEE__##e)
#define BFM_USBCTRL_USBINTR_SEE_V(v)    BM_USBCTRL_USBINTR_SEE
#define BP_USBCTRL_USBINTR_FRE          3
#define BM_USBCTRL_USBINTR_FRE          0x8
#define BF_USBCTRL_USBINTR_FRE(v)       (((v) & 0x1) << 3)
#define BFM_USBCTRL_USBINTR_FRE(v)      BM_USBCTRL_USBINTR_FRE
#define BF_USBCTRL_USBINTR_FRE_V(e)     BF_USBCTRL_USBINTR_FRE(BV_USBCTRL_USBINTR_FRE__##e)
#define BFM_USBCTRL_USBINTR_FRE_V(v)    BM_USBCTRL_USBINTR_FRE
#define BP_USBCTRL_USBINTR_PCE          2
#define BM_USBCTRL_USBINTR_PCE          0x4
#define BF_USBCTRL_USBINTR_PCE(v)       (((v) & 0x1) << 2)
#define BFM_USBCTRL_USBINTR_PCE(v)      BM_USBCTRL_USBINTR_PCE
#define BF_USBCTRL_USBINTR_PCE_V(e)     BF_USBCTRL_USBINTR_PCE(BV_USBCTRL_USBINTR_PCE__##e)
#define BFM_USBCTRL_USBINTR_PCE_V(v)    BM_USBCTRL_USBINTR_PCE
#define BP_USBCTRL_USBINTR_UEE          1
#define BM_USBCTRL_USBINTR_UEE          0x2
#define BF_USBCTRL_USBINTR_UEE(v)       (((v) & 0x1) << 1)
#define BFM_USBCTRL_USBINTR_UEE(v)      BM_USBCTRL_USBINTR_UEE
#define BF_USBCTRL_USBINTR_UEE_V(e)     BF_USBCTRL_USBINTR_UEE(BV_USBCTRL_USBINTR_UEE__##e)
#define BFM_USBCTRL_USBINTR_UEE_V(v)    BM_USBCTRL_USBINTR_UEE
#define BP_USBCTRL_USBINTR_UE           0
#define BM_USBCTRL_USBINTR_UE           0x1
#define BF_USBCTRL_USBINTR_UE(v)        (((v) & 0x1) << 0)
#define BFM_USBCTRL_USBINTR_UE(v)       BM_USBCTRL_USBINTR_UE
#define BF_USBCTRL_USBINTR_UE_V(e)      BF_USBCTRL_USBINTR_UE(BV_USBCTRL_USBINTR_UE__##e)
#define BFM_USBCTRL_USBINTR_UE_V(v)     BM_USBCTRL_USBINTR_UE

#define HW_USBCTRL_FRINDEX                  HW(USBCTRL_FRINDEX)
#define HWA_USBCTRL_FRINDEX                 (0x80080000 + 0x14c)
#define HWT_USBCTRL_FRINDEX                 HWIO_32_RW
#define HWN_USBCTRL_FRINDEX                 USBCTRL_FRINDEX
#define HWI_USBCTRL_FRINDEX                 
#define BP_USBCTRL_FRINDEX_RSVD             14
#define BM_USBCTRL_FRINDEX_RSVD             0xffffc000
#define BF_USBCTRL_FRINDEX_RSVD(v)          (((v) & 0x3ffff) << 14)
#define BFM_USBCTRL_FRINDEX_RSVD(v)         BM_USBCTRL_FRINDEX_RSVD
#define BF_USBCTRL_FRINDEX_RSVD_V(e)        BF_USBCTRL_FRINDEX_RSVD(BV_USBCTRL_FRINDEX_RSVD__##e)
#define BFM_USBCTRL_FRINDEX_RSVD_V(v)       BM_USBCTRL_FRINDEX_RSVD
#define BP_USBCTRL_FRINDEX_FRINDEX          3
#define BM_USBCTRL_FRINDEX_FRINDEX          0x3ff8
#define BV_USBCTRL_FRINDEX_FRINDEX__N_12    0xc
#define BV_USBCTRL_FRINDEX_FRINDEX__N_11    0xb
#define BV_USBCTRL_FRINDEX_FRINDEX__N_10    0xa
#define BV_USBCTRL_FRINDEX_FRINDEX__N_9     0x9
#define BV_USBCTRL_FRINDEX_FRINDEX__N_8     0x8
#define BV_USBCTRL_FRINDEX_FRINDEX__N_7     0x7
#define BV_USBCTRL_FRINDEX_FRINDEX__N_6     0x6
#define BV_USBCTRL_FRINDEX_FRINDEX__N_5     0x5
#define BF_USBCTRL_FRINDEX_FRINDEX(v)       (((v) & 0x7ff) << 3)
#define BFM_USBCTRL_FRINDEX_FRINDEX(v)      BM_USBCTRL_FRINDEX_FRINDEX
#define BF_USBCTRL_FRINDEX_FRINDEX_V(e)     BF_USBCTRL_FRINDEX_FRINDEX(BV_USBCTRL_FRINDEX_FRINDEX__##e)
#define BFM_USBCTRL_FRINDEX_FRINDEX_V(v)    BM_USBCTRL_FRINDEX_FRINDEX
#define BP_USBCTRL_FRINDEX_UINDEX           0
#define BM_USBCTRL_FRINDEX_UINDEX           0x7
#define BF_USBCTRL_FRINDEX_UINDEX(v)        (((v) & 0x7) << 0)
#define BFM_USBCTRL_FRINDEX_UINDEX(v)       BM_USBCTRL_FRINDEX_UINDEX
#define BF_USBCTRL_FRINDEX_UINDEX_V(e)      BF_USBCTRL_FRINDEX_UINDEX(BV_USBCTRL_FRINDEX_UINDEX__##e)
#define BFM_USBCTRL_FRINDEX_UINDEX_V(v)     BM_USBCTRL_FRINDEX_UINDEX

#define HW_USBCTRL_PERIODICLISTBASE                 HW(USBCTRL_PERIODICLISTBASE)
#define HWA_USBCTRL_PERIODICLISTBASE                (0x80080000 + 0x154)
#define HWT_USBCTRL_PERIODICLISTBASE                HWIO_32_RW
#define HWN_USBCTRL_PERIODICLISTBASE                USBCTRL_PERIODICLISTBASE
#define HWI_USBCTRL_PERIODICLISTBASE                
#define BP_USBCTRL_PERIODICLISTBASE_PERBASE         12
#define BM_USBCTRL_PERIODICLISTBASE_PERBASE         0xfffff000
#define BF_USBCTRL_PERIODICLISTBASE_PERBASE(v)      (((v) & 0xfffff) << 12)
#define BFM_USBCTRL_PERIODICLISTBASE_PERBASE(v)     BM_USBCTRL_PERIODICLISTBASE_PERBASE
#define BF_USBCTRL_PERIODICLISTBASE_PERBASE_V(e)    BF_USBCTRL_PERIODICLISTBASE_PERBASE(BV_USBCTRL_PERIODICLISTBASE_PERBASE__##e)
#define BFM_USBCTRL_PERIODICLISTBASE_PERBASE_V(v)   BM_USBCTRL_PERIODICLISTBASE_PERBASE
#define BP_USBCTRL_PERIODICLISTBASE_RSVD            0
#define BM_USBCTRL_PERIODICLISTBASE_RSVD            0xfff
#define BF_USBCTRL_PERIODICLISTBASE_RSVD(v)         (((v) & 0xfff) << 0)
#define BFM_USBCTRL_PERIODICLISTBASE_RSVD(v)        BM_USBCTRL_PERIODICLISTBASE_RSVD
#define BF_USBCTRL_PERIODICLISTBASE_RSVD_V(e)       BF_USBCTRL_PERIODICLISTBASE_RSVD(BV_USBCTRL_PERIODICLISTBASE_RSVD__##e)
#define BFM_USBCTRL_PERIODICLISTBASE_RSVD_V(v)      BM_USBCTRL_PERIODICLISTBASE_RSVD

#define HW_USBCTRL_DEVICEADDR               HW(USBCTRL_DEVICEADDR)
#define HWA_USBCTRL_DEVICEADDR              (0x80080000 + 0x154)
#define HWT_USBCTRL_DEVICEADDR              HWIO_32_RW
#define HWN_USBCTRL_DEVICEADDR              USBCTRL_DEVICEADDR
#define HWI_USBCTRL_DEVICEADDR              
#define BP_USBCTRL_DEVICEADDR_USBADR        25
#define BM_USBCTRL_DEVICEADDR_USBADR        0xfe000000
#define BF_USBCTRL_DEVICEADDR_USBADR(v)     (((v) & 0x7f) << 25)
#define BFM_USBCTRL_DEVICEADDR_USBADR(v)    BM_USBCTRL_DEVICEADDR_USBADR
#define BF_USBCTRL_DEVICEADDR_USBADR_V(e)   BF_USBCTRL_DEVICEADDR_USBADR(BV_USBCTRL_DEVICEADDR_USBADR__##e)
#define BFM_USBCTRL_DEVICEADDR_USBADR_V(v)  BM_USBCTRL_DEVICEADDR_USBADR
#define BP_USBCTRL_DEVICEADDR_USBADRA       24
#define BM_USBCTRL_DEVICEADDR_USBADRA       0x1000000
#define BF_USBCTRL_DEVICEADDR_USBADRA(v)    (((v) & 0x1) << 24)
#define BFM_USBCTRL_DEVICEADDR_USBADRA(v)   BM_USBCTRL_DEVICEADDR_USBADRA
#define BF_USBCTRL_DEVICEADDR_USBADRA_V(e)  BF_USBCTRL_DEVICEADDR_USBADRA(BV_USBCTRL_DEVICEADDR_USBADRA__##e)
#define BFM_USBCTRL_DEVICEADDR_USBADRA_V(v) BM_USBCTRL_DEVICEADDR_USBADRA
#define BP_USBCTRL_DEVICEADDR_RSVD          0
#define BM_USBCTRL_DEVICEADDR_RSVD          0xffffff
#define BF_USBCTRL_DEVICEADDR_RSVD(v)       (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_DEVICEADDR_RSVD(v)      BM_USBCTRL_DEVICEADDR_RSVD
#define BF_USBCTRL_DEVICEADDR_RSVD_V(e)     BF_USBCTRL_DEVICEADDR_RSVD(BV_USBCTRL_DEVICEADDR_RSVD__##e)
#define BFM_USBCTRL_DEVICEADDR_RSVD_V(v)    BM_USBCTRL_DEVICEADDR_RSVD

#define HW_USBCTRL_ASYNCLISTADDR                HW(USBCTRL_ASYNCLISTADDR)
#define HWA_USBCTRL_ASYNCLISTADDR               (0x80080000 + 0x158)
#define HWT_USBCTRL_ASYNCLISTADDR               HWIO_32_RW
#define HWN_USBCTRL_ASYNCLISTADDR               USBCTRL_ASYNCLISTADDR
#define HWI_USBCTRL_ASYNCLISTADDR               
#define BP_USBCTRL_ASYNCLISTADDR_ASYBASE        5
#define BM_USBCTRL_ASYNCLISTADDR_ASYBASE        0xffffffe0
#define BF_USBCTRL_ASYNCLISTADDR_ASYBASE(v)     (((v) & 0x7ffffff) << 5)
#define BFM_USBCTRL_ASYNCLISTADDR_ASYBASE(v)    BM_USBCTRL_ASYNCLISTADDR_ASYBASE
#define BF_USBCTRL_ASYNCLISTADDR_ASYBASE_V(e)   BF_USBCTRL_ASYNCLISTADDR_ASYBASE(BV_USBCTRL_ASYNCLISTADDR_ASYBASE__##e)
#define BFM_USBCTRL_ASYNCLISTADDR_ASYBASE_V(v)  BM_USBCTRL_ASYNCLISTADDR_ASYBASE
#define BP_USBCTRL_ASYNCLISTADDR_RSVD           0
#define BM_USBCTRL_ASYNCLISTADDR_RSVD           0x1f
#define BF_USBCTRL_ASYNCLISTADDR_RSVD(v)        (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ASYNCLISTADDR_RSVD(v)       BM_USBCTRL_ASYNCLISTADDR_RSVD
#define BF_USBCTRL_ASYNCLISTADDR_RSVD_V(e)      BF_USBCTRL_ASYNCLISTADDR_RSVD(BV_USBCTRL_ASYNCLISTADDR_RSVD__##e)
#define BFM_USBCTRL_ASYNCLISTADDR_RSVD_V(v)     BM_USBCTRL_ASYNCLISTADDR_RSVD

#define HW_USBCTRL_ENDPOINTLISTADDR                 HW(USBCTRL_ENDPOINTLISTADDR)
#define HWA_USBCTRL_ENDPOINTLISTADDR                (0x80080000 + 0x158)
#define HWT_USBCTRL_ENDPOINTLISTADDR                HWIO_32_RW
#define HWN_USBCTRL_ENDPOINTLISTADDR                USBCTRL_ENDPOINTLISTADDR
#define HWI_USBCTRL_ENDPOINTLISTADDR                
#define BP_USBCTRL_ENDPOINTLISTADDR_EPBASE          11
#define BM_USBCTRL_ENDPOINTLISTADDR_EPBASE          0xfffff800
#define BF_USBCTRL_ENDPOINTLISTADDR_EPBASE(v)       (((v) & 0x1fffff) << 11)
#define BFM_USBCTRL_ENDPOINTLISTADDR_EPBASE(v)      BM_USBCTRL_ENDPOINTLISTADDR_EPBASE
#define BF_USBCTRL_ENDPOINTLISTADDR_EPBASE_V(e)     BF_USBCTRL_ENDPOINTLISTADDR_EPBASE(BV_USBCTRL_ENDPOINTLISTADDR_EPBASE__##e)
#define BFM_USBCTRL_ENDPOINTLISTADDR_EPBASE_V(v)    BM_USBCTRL_ENDPOINTLISTADDR_EPBASE
#define BP_USBCTRL_ENDPOINTLISTADDR_RSVD            0
#define BM_USBCTRL_ENDPOINTLISTADDR_RSVD            0x7ff
#define BF_USBCTRL_ENDPOINTLISTADDR_RSVD(v)         (((v) & 0x7ff) << 0)
#define BFM_USBCTRL_ENDPOINTLISTADDR_RSVD(v)        BM_USBCTRL_ENDPOINTLISTADDR_RSVD
#define BF_USBCTRL_ENDPOINTLISTADDR_RSVD_V(e)       BF_USBCTRL_ENDPOINTLISTADDR_RSVD(BV_USBCTRL_ENDPOINTLISTADDR_RSVD__##e)
#define BFM_USBCTRL_ENDPOINTLISTADDR_RSVD_V(v)      BM_USBCTRL_ENDPOINTLISTADDR_RSVD

#define HW_USBCTRL_TTCTRL               HW(USBCTRL_TTCTRL)
#define HWA_USBCTRL_TTCTRL              (0x80080000 + 0x15c)
#define HWT_USBCTRL_TTCTRL              HWIO_32_RW
#define HWN_USBCTRL_TTCTRL              USBCTRL_TTCTRL
#define HWI_USBCTRL_TTCTRL              
#define BP_USBCTRL_TTCTRL_RSVD1         31
#define BM_USBCTRL_TTCTRL_RSVD1         0x80000000
#define BF_USBCTRL_TTCTRL_RSVD1(v)      (((v) & 0x1) << 31)
#define BFM_USBCTRL_TTCTRL_RSVD1(v)     BM_USBCTRL_TTCTRL_RSVD1
#define BF_USBCTRL_TTCTRL_RSVD1_V(e)    BF_USBCTRL_TTCTRL_RSVD1(BV_USBCTRL_TTCTRL_RSVD1__##e)
#define BFM_USBCTRL_TTCTRL_RSVD1_V(v)   BM_USBCTRL_TTCTRL_RSVD1
#define BP_USBCTRL_TTCTRL_TTHA          24
#define BM_USBCTRL_TTCTRL_TTHA          0x7f000000
#define BF_USBCTRL_TTCTRL_TTHA(v)       (((v) & 0x7f) << 24)
#define BFM_USBCTRL_TTCTRL_TTHA(v)      BM_USBCTRL_TTCTRL_TTHA
#define BF_USBCTRL_TTCTRL_TTHA_V(e)     BF_USBCTRL_TTCTRL_TTHA(BV_USBCTRL_TTCTRL_TTHA__##e)
#define BFM_USBCTRL_TTCTRL_TTHA_V(v)    BM_USBCTRL_TTCTRL_TTHA
#define BP_USBCTRL_TTCTRL_RSVD2         0
#define BM_USBCTRL_TTCTRL_RSVD2         0xffffff
#define BF_USBCTRL_TTCTRL_RSVD2(v)      (((v) & 0xffffff) << 0)
#define BFM_USBCTRL_TTCTRL_RSVD2(v)     BM_USBCTRL_TTCTRL_RSVD2
#define BF_USBCTRL_TTCTRL_RSVD2_V(e)    BF_USBCTRL_TTCTRL_RSVD2(BV_USBCTRL_TTCTRL_RSVD2__##e)
#define BFM_USBCTRL_TTCTRL_RSVD2_V(v)   BM_USBCTRL_TTCTRL_RSVD2

#define HW_USBCTRL_BURSTSIZE                HW(USBCTRL_BURSTSIZE)
#define HWA_USBCTRL_BURSTSIZE               (0x80080000 + 0x160)
#define HWT_USBCTRL_BURSTSIZE               HWIO_32_RW
#define HWN_USBCTRL_BURSTSIZE               USBCTRL_BURSTSIZE
#define HWI_USBCTRL_BURSTSIZE               
#define BP_USBCTRL_BURSTSIZE_RSVD           16
#define BM_USBCTRL_BURSTSIZE_RSVD           0xffff0000
#define BF_USBCTRL_BURSTSIZE_RSVD(v)        (((v) & 0xffff) << 16)
#define BFM_USBCTRL_BURSTSIZE_RSVD(v)       BM_USBCTRL_BURSTSIZE_RSVD
#define BF_USBCTRL_BURSTSIZE_RSVD_V(e)      BF_USBCTRL_BURSTSIZE_RSVD(BV_USBCTRL_BURSTSIZE_RSVD__##e)
#define BFM_USBCTRL_BURSTSIZE_RSVD_V(v)     BM_USBCTRL_BURSTSIZE_RSVD
#define BP_USBCTRL_BURSTSIZE_TXPBURST       8
#define BM_USBCTRL_BURSTSIZE_TXPBURST       0xff00
#define BF_USBCTRL_BURSTSIZE_TXPBURST(v)    (((v) & 0xff) << 8)
#define BFM_USBCTRL_BURSTSIZE_TXPBURST(v)   BM_USBCTRL_BURSTSIZE_TXPBURST
#define BF_USBCTRL_BURSTSIZE_TXPBURST_V(e)  BF_USBCTRL_BURSTSIZE_TXPBURST(BV_USBCTRL_BURSTSIZE_TXPBURST__##e)
#define BFM_USBCTRL_BURSTSIZE_TXPBURST_V(v) BM_USBCTRL_BURSTSIZE_TXPBURST
#define BP_USBCTRL_BURSTSIZE_RXPBURST       0
#define BM_USBCTRL_BURSTSIZE_RXPBURST       0xff
#define BF_USBCTRL_BURSTSIZE_RXPBURST(v)    (((v) & 0xff) << 0)
#define BFM_USBCTRL_BURSTSIZE_RXPBURST(v)   BM_USBCTRL_BURSTSIZE_RXPBURST
#define BF_USBCTRL_BURSTSIZE_RXPBURST_V(e)  BF_USBCTRL_BURSTSIZE_RXPBURST(BV_USBCTRL_BURSTSIZE_RXPBURST__##e)
#define BFM_USBCTRL_BURSTSIZE_RXPBURST_V(v) BM_USBCTRL_BURSTSIZE_RXPBURST

#define HW_USBCTRL_TXFILLTUNING                     HW(USBCTRL_TXFILLTUNING)
#define HWA_USBCTRL_TXFILLTUNING                    (0x80080000 + 0x164)
#define HWT_USBCTRL_TXFILLTUNING                    HWIO_32_RW
#define HWN_USBCTRL_TXFILLTUNING                    USBCTRL_TXFILLTUNING
#define HWI_USBCTRL_TXFILLTUNING                    
#define BP_USBCTRL_TXFILLTUNING_RSVD2               22
#define BM_USBCTRL_TXFILLTUNING_RSVD2               0xffc00000
#define BF_USBCTRL_TXFILLTUNING_RSVD2(v)            (((v) & 0x3ff) << 22)
#define BFM_USBCTRL_TXFILLTUNING_RSVD2(v)           BM_USBCTRL_TXFILLTUNING_RSVD2
#define BF_USBCTRL_TXFILLTUNING_RSVD2_V(e)          BF_USBCTRL_TXFILLTUNING_RSVD2(BV_USBCTRL_TXFILLTUNING_RSVD2__##e)
#define BFM_USBCTRL_TXFILLTUNING_RSVD2_V(v)         BM_USBCTRL_TXFILLTUNING_RSVD2
#define BP_USBCTRL_TXFILLTUNING_TXFIFOTHRES         16
#define BM_USBCTRL_TXFILLTUNING_TXFIFOTHRES         0x3f0000
#define BF_USBCTRL_TXFILLTUNING_TXFIFOTHRES(v)      (((v) & 0x3f) << 16)
#define BFM_USBCTRL_TXFILLTUNING_TXFIFOTHRES(v)     BM_USBCTRL_TXFILLTUNING_TXFIFOTHRES
#define BF_USBCTRL_TXFILLTUNING_TXFIFOTHRES_V(e)    BF_USBCTRL_TXFILLTUNING_TXFIFOTHRES(BV_USBCTRL_TXFILLTUNING_TXFIFOTHRES__##e)
#define BFM_USBCTRL_TXFILLTUNING_TXFIFOTHRES_V(v)   BM_USBCTRL_TXFILLTUNING_TXFIFOTHRES
#define BP_USBCTRL_TXFILLTUNING_RSVD1               13
#define BM_USBCTRL_TXFILLTUNING_RSVD1               0xe000
#define BF_USBCTRL_TXFILLTUNING_RSVD1(v)            (((v) & 0x7) << 13)
#define BFM_USBCTRL_TXFILLTUNING_RSVD1(v)           BM_USBCTRL_TXFILLTUNING_RSVD1
#define BF_USBCTRL_TXFILLTUNING_RSVD1_V(e)          BF_USBCTRL_TXFILLTUNING_RSVD1(BV_USBCTRL_TXFILLTUNING_RSVD1__##e)
#define BFM_USBCTRL_TXFILLTUNING_RSVD1_V(v)         BM_USBCTRL_TXFILLTUNING_RSVD1
#define BP_USBCTRL_TXFILLTUNING_TXSCHEALTH          8
#define BM_USBCTRL_TXFILLTUNING_TXSCHEALTH          0x1f00
#define BF_USBCTRL_TXFILLTUNING_TXSCHEALTH(v)       (((v) & 0x1f) << 8)
#define BFM_USBCTRL_TXFILLTUNING_TXSCHEALTH(v)      BM_USBCTRL_TXFILLTUNING_TXSCHEALTH
#define BF_USBCTRL_TXFILLTUNING_TXSCHEALTH_V(e)     BF_USBCTRL_TXFILLTUNING_TXSCHEALTH(BV_USBCTRL_TXFILLTUNING_TXSCHEALTH__##e)
#define BFM_USBCTRL_TXFILLTUNING_TXSCHEALTH_V(v)    BM_USBCTRL_TXFILLTUNING_TXSCHEALTH
#define BP_USBCTRL_TXFILLTUNING_RSVD0               7
#define BM_USBCTRL_TXFILLTUNING_RSVD0               0x80
#define BF_USBCTRL_TXFILLTUNING_RSVD0(v)            (((v) & 0x1) << 7)
#define BFM_USBCTRL_TXFILLTUNING_RSVD0(v)           BM_USBCTRL_TXFILLTUNING_RSVD0
#define BF_USBCTRL_TXFILLTUNING_RSVD0_V(e)          BF_USBCTRL_TXFILLTUNING_RSVD0(BV_USBCTRL_TXFILLTUNING_RSVD0__##e)
#define BFM_USBCTRL_TXFILLTUNING_RSVD0_V(v)         BM_USBCTRL_TXFILLTUNING_RSVD0
#define BP_USBCTRL_TXFILLTUNING_TXSCHOH             0
#define BM_USBCTRL_TXFILLTUNING_TXSCHOH             0x7f
#define BF_USBCTRL_TXFILLTUNING_TXSCHOH(v)          (((v) & 0x7f) << 0)
#define BFM_USBCTRL_TXFILLTUNING_TXSCHOH(v)         BM_USBCTRL_TXFILLTUNING_TXSCHOH
#define BF_USBCTRL_TXFILLTUNING_TXSCHOH_V(e)        BF_USBCTRL_TXFILLTUNING_TXSCHOH(BV_USBCTRL_TXFILLTUNING_TXSCHOH__##e)
#define BFM_USBCTRL_TXFILLTUNING_TXSCHOH_V(v)       BM_USBCTRL_TXFILLTUNING_TXSCHOH

#define HW_USBCTRL_IC_USB                       HW(USBCTRL_IC_USB)
#define HWA_USBCTRL_IC_USB                      (0x80080000 + 0x16c)
#define HWT_USBCTRL_IC_USB                      HWIO_32_RW
#define HWN_USBCTRL_IC_USB                      USBCTRL_IC_USB
#define HWI_USBCTRL_IC_USB                      
#define BP_USBCTRL_IC_USB_RSVD                  4
#define BM_USBCTRL_IC_USB_RSVD                  0xfffffff0
#define BF_USBCTRL_IC_USB_RSVD(v)               (((v) & 0xfffffff) << 4)
#define BFM_USBCTRL_IC_USB_RSVD(v)              BM_USBCTRL_IC_USB_RSVD
#define BF_USBCTRL_IC_USB_RSVD_V(e)             BF_USBCTRL_IC_USB_RSVD(BV_USBCTRL_IC_USB_RSVD__##e)
#define BFM_USBCTRL_IC_USB_RSVD_V(v)            BM_USBCTRL_IC_USB_RSVD
#define BP_USBCTRL_IC_USB_IC_ENABLE             3
#define BM_USBCTRL_IC_USB_IC_ENABLE             0x8
#define BF_USBCTRL_IC_USB_IC_ENABLE(v)          (((v) & 0x1) << 3)
#define BFM_USBCTRL_IC_USB_IC_ENABLE(v)         BM_USBCTRL_IC_USB_IC_ENABLE
#define BF_USBCTRL_IC_USB_IC_ENABLE_V(e)        BF_USBCTRL_IC_USB_IC_ENABLE(BV_USBCTRL_IC_USB_IC_ENABLE__##e)
#define BFM_USBCTRL_IC_USB_IC_ENABLE_V(v)       BM_USBCTRL_IC_USB_IC_ENABLE
#define BP_USBCTRL_IC_USB_IC_VDD                0
#define BM_USBCTRL_IC_USB_IC_VDD                0x7
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_NONE  0x0
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_1_0   0x1
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_1_2   0x2
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_1_5   0x3
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_1_8   0x4
#define BV_USBCTRL_IC_USB_IC_VDD__VOLTAGE_3_0   0x5
#define BV_USBCTRL_IC_USB_IC_VDD__RESERVED0     0x6
#define BV_USBCTRL_IC_USB_IC_VDD__RESERVED1     0x7
#define BF_USBCTRL_IC_USB_IC_VDD(v)             (((v) & 0x7) << 0)
#define BFM_USBCTRL_IC_USB_IC_VDD(v)            BM_USBCTRL_IC_USB_IC_VDD
#define BF_USBCTRL_IC_USB_IC_VDD_V(e)           BF_USBCTRL_IC_USB_IC_VDD(BV_USBCTRL_IC_USB_IC_VDD__##e)
#define BFM_USBCTRL_IC_USB_IC_VDD_V(v)          BM_USBCTRL_IC_USB_IC_VDD

#define HW_USBCTRL_ULPI                 HW(USBCTRL_ULPI)
#define HWA_USBCTRL_ULPI                (0x80080000 + 0x170)
#define HWT_USBCTRL_ULPI                HWIO_32_RW
#define HWN_USBCTRL_ULPI                USBCTRL_ULPI
#define HWI_USBCTRL_ULPI                
#define BP_USBCTRL_ULPI_ULPIWU          31
#define BM_USBCTRL_ULPI_ULPIWU          0x80000000
#define BF_USBCTRL_ULPI_ULPIWU(v)       (((v) & 0x1) << 31)
#define BFM_USBCTRL_ULPI_ULPIWU(v)      BM_USBCTRL_ULPI_ULPIWU
#define BF_USBCTRL_ULPI_ULPIWU_V(e)     BF_USBCTRL_ULPI_ULPIWU(BV_USBCTRL_ULPI_ULPIWU__##e)
#define BFM_USBCTRL_ULPI_ULPIWU_V(v)    BM_USBCTRL_ULPI_ULPIWU
#define BP_USBCTRL_ULPI_ULPIRUN         30
#define BM_USBCTRL_ULPI_ULPIRUN         0x40000000
#define BF_USBCTRL_ULPI_ULPIRUN(v)      (((v) & 0x1) << 30)
#define BFM_USBCTRL_ULPI_ULPIRUN(v)     BM_USBCTRL_ULPI_ULPIRUN
#define BF_USBCTRL_ULPI_ULPIRUN_V(e)    BF_USBCTRL_ULPI_ULPIRUN(BV_USBCTRL_ULPI_ULPIRUN__##e)
#define BFM_USBCTRL_ULPI_ULPIRUN_V(v)   BM_USBCTRL_ULPI_ULPIRUN
#define BP_USBCTRL_ULPI_ULPIRW          29
#define BM_USBCTRL_ULPI_ULPIRW          0x20000000
#define BF_USBCTRL_ULPI_ULPIRW(v)       (((v) & 0x1) << 29)
#define BFM_USBCTRL_ULPI_ULPIRW(v)      BM_USBCTRL_ULPI_ULPIRW
#define BF_USBCTRL_ULPI_ULPIRW_V(e)     BF_USBCTRL_ULPI_ULPIRW(BV_USBCTRL_ULPI_ULPIRW__##e)
#define BFM_USBCTRL_ULPI_ULPIRW_V(v)    BM_USBCTRL_ULPI_ULPIRW
#define BP_USBCTRL_ULPI_RSVD0           28
#define BM_USBCTRL_ULPI_RSVD0           0x10000000
#define BF_USBCTRL_ULPI_RSVD0(v)        (((v) & 0x1) << 28)
#define BFM_USBCTRL_ULPI_RSVD0(v)       BM_USBCTRL_ULPI_RSVD0
#define BF_USBCTRL_ULPI_RSVD0_V(e)      BF_USBCTRL_ULPI_RSVD0(BV_USBCTRL_ULPI_RSVD0__##e)
#define BFM_USBCTRL_ULPI_RSVD0_V(v)     BM_USBCTRL_ULPI_RSVD0
#define BP_USBCTRL_ULPI_ULPISS          27
#define BM_USBCTRL_ULPI_ULPISS          0x8000000
#define BF_USBCTRL_ULPI_ULPISS(v)       (((v) & 0x1) << 27)
#define BFM_USBCTRL_ULPI_ULPISS(v)      BM_USBCTRL_ULPI_ULPISS
#define BF_USBCTRL_ULPI_ULPISS_V(e)     BF_USBCTRL_ULPI_ULPISS(BV_USBCTRL_ULPI_ULPISS__##e)
#define BFM_USBCTRL_ULPI_ULPISS_V(v)    BM_USBCTRL_ULPI_ULPISS
#define BP_USBCTRL_ULPI_ULPIPORT        24
#define BM_USBCTRL_ULPI_ULPIPORT        0x7000000
#define BF_USBCTRL_ULPI_ULPIPORT(v)     (((v) & 0x7) << 24)
#define BFM_USBCTRL_ULPI_ULPIPORT(v)    BM_USBCTRL_ULPI_ULPIPORT
#define BF_USBCTRL_ULPI_ULPIPORT_V(e)   BF_USBCTRL_ULPI_ULPIPORT(BV_USBCTRL_ULPI_ULPIPORT__##e)
#define BFM_USBCTRL_ULPI_ULPIPORT_V(v)  BM_USBCTRL_ULPI_ULPIPORT
#define BP_USBCTRL_ULPI_ULPIADDR        16
#define BM_USBCTRL_ULPI_ULPIADDR        0xff0000
#define BF_USBCTRL_ULPI_ULPIADDR(v)     (((v) & 0xff) << 16)
#define BFM_USBCTRL_ULPI_ULPIADDR(v)    BM_USBCTRL_ULPI_ULPIADDR
#define BF_USBCTRL_ULPI_ULPIADDR_V(e)   BF_USBCTRL_ULPI_ULPIADDR(BV_USBCTRL_ULPI_ULPIADDR__##e)
#define BFM_USBCTRL_ULPI_ULPIADDR_V(v)  BM_USBCTRL_ULPI_ULPIADDR
#define BP_USBCTRL_ULPI_ULPIDATRD       8
#define BM_USBCTRL_ULPI_ULPIDATRD       0xff00
#define BF_USBCTRL_ULPI_ULPIDATRD(v)    (((v) & 0xff) << 8)
#define BFM_USBCTRL_ULPI_ULPIDATRD(v)   BM_USBCTRL_ULPI_ULPIDATRD
#define BF_USBCTRL_ULPI_ULPIDATRD_V(e)  BF_USBCTRL_ULPI_ULPIDATRD(BV_USBCTRL_ULPI_ULPIDATRD__##e)
#define BFM_USBCTRL_ULPI_ULPIDATRD_V(v) BM_USBCTRL_ULPI_ULPIDATRD
#define BP_USBCTRL_ULPI_ULPIDATWR       0
#define BM_USBCTRL_ULPI_ULPIDATWR       0xff
#define BF_USBCTRL_ULPI_ULPIDATWR(v)    (((v) & 0xff) << 0)
#define BFM_USBCTRL_ULPI_ULPIDATWR(v)   BM_USBCTRL_ULPI_ULPIDATWR
#define BF_USBCTRL_ULPI_ULPIDATWR_V(e)  BF_USBCTRL_ULPI_ULPIDATWR(BV_USBCTRL_ULPI_ULPIDATWR__##e)
#define BFM_USBCTRL_ULPI_ULPIDATWR_V(v) BM_USBCTRL_ULPI_ULPIDATWR

#define HW_USBCTRL_ENDPTNAK             HW(USBCTRL_ENDPTNAK)
#define HWA_USBCTRL_ENDPTNAK            (0x80080000 + 0x178)
#define HWT_USBCTRL_ENDPTNAK            HWIO_32_RW
#define HWN_USBCTRL_ENDPTNAK            USBCTRL_ENDPTNAK
#define HWI_USBCTRL_ENDPTNAK            
#define BP_USBCTRL_ENDPTNAK_RSVD1       21
#define BM_USBCTRL_ENDPTNAK_RSVD1       0xffe00000
#define BF_USBCTRL_ENDPTNAK_RSVD1(v)    (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTNAK_RSVD1(v)   BM_USBCTRL_ENDPTNAK_RSVD1
#define BF_USBCTRL_ENDPTNAK_RSVD1_V(e)  BF_USBCTRL_ENDPTNAK_RSVD1(BV_USBCTRL_ENDPTNAK_RSVD1__##e)
#define BFM_USBCTRL_ENDPTNAK_RSVD1_V(v) BM_USBCTRL_ENDPTNAK_RSVD1
#define BP_USBCTRL_ENDPTNAK_EPTN        16
#define BM_USBCTRL_ENDPTNAK_EPTN        0x1f0000
#define BF_USBCTRL_ENDPTNAK_EPTN(v)     (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTNAK_EPTN(v)    BM_USBCTRL_ENDPTNAK_EPTN
#define BF_USBCTRL_ENDPTNAK_EPTN_V(e)   BF_USBCTRL_ENDPTNAK_EPTN(BV_USBCTRL_ENDPTNAK_EPTN__##e)
#define BFM_USBCTRL_ENDPTNAK_EPTN_V(v)  BM_USBCTRL_ENDPTNAK_EPTN
#define BP_USBCTRL_ENDPTNAK_RSVD0       5
#define BM_USBCTRL_ENDPTNAK_RSVD0       0xffe0
#define BF_USBCTRL_ENDPTNAK_RSVD0(v)    (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTNAK_RSVD0(v)   BM_USBCTRL_ENDPTNAK_RSVD0
#define BF_USBCTRL_ENDPTNAK_RSVD0_V(e)  BF_USBCTRL_ENDPTNAK_RSVD0(BV_USBCTRL_ENDPTNAK_RSVD0__##e)
#define BFM_USBCTRL_ENDPTNAK_RSVD0_V(v) BM_USBCTRL_ENDPTNAK_RSVD0
#define BP_USBCTRL_ENDPTNAK_EPRN        0
#define BM_USBCTRL_ENDPTNAK_EPRN        0x1f
#define BF_USBCTRL_ENDPTNAK_EPRN(v)     (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTNAK_EPRN(v)    BM_USBCTRL_ENDPTNAK_EPRN
#define BF_USBCTRL_ENDPTNAK_EPRN_V(e)   BF_USBCTRL_ENDPTNAK_EPRN(BV_USBCTRL_ENDPTNAK_EPRN__##e)
#define BFM_USBCTRL_ENDPTNAK_EPRN_V(v)  BM_USBCTRL_ENDPTNAK_EPRN

#define HW_USBCTRL_ENDPTNAKEN               HW(USBCTRL_ENDPTNAKEN)
#define HWA_USBCTRL_ENDPTNAKEN              (0x80080000 + 0x17c)
#define HWT_USBCTRL_ENDPTNAKEN              HWIO_32_RW
#define HWN_USBCTRL_ENDPTNAKEN              USBCTRL_ENDPTNAKEN
#define HWI_USBCTRL_ENDPTNAKEN              
#define BP_USBCTRL_ENDPTNAKEN_RSVD1         21
#define BM_USBCTRL_ENDPTNAKEN_RSVD1         0xffe00000
#define BF_USBCTRL_ENDPTNAKEN_RSVD1(v)      (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTNAKEN_RSVD1(v)     BM_USBCTRL_ENDPTNAKEN_RSVD1
#define BF_USBCTRL_ENDPTNAKEN_RSVD1_V(e)    BF_USBCTRL_ENDPTNAKEN_RSVD1(BV_USBCTRL_ENDPTNAKEN_RSVD1__##e)
#define BFM_USBCTRL_ENDPTNAKEN_RSVD1_V(v)   BM_USBCTRL_ENDPTNAKEN_RSVD1
#define BP_USBCTRL_ENDPTNAKEN_EPTNE         16
#define BM_USBCTRL_ENDPTNAKEN_EPTNE         0x1f0000
#define BF_USBCTRL_ENDPTNAKEN_EPTNE(v)      (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTNAKEN_EPTNE(v)     BM_USBCTRL_ENDPTNAKEN_EPTNE
#define BF_USBCTRL_ENDPTNAKEN_EPTNE_V(e)    BF_USBCTRL_ENDPTNAKEN_EPTNE(BV_USBCTRL_ENDPTNAKEN_EPTNE__##e)
#define BFM_USBCTRL_ENDPTNAKEN_EPTNE_V(v)   BM_USBCTRL_ENDPTNAKEN_EPTNE
#define BP_USBCTRL_ENDPTNAKEN_RSVD0         5
#define BM_USBCTRL_ENDPTNAKEN_RSVD0         0xffe0
#define BF_USBCTRL_ENDPTNAKEN_RSVD0(v)      (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTNAKEN_RSVD0(v)     BM_USBCTRL_ENDPTNAKEN_RSVD0
#define BF_USBCTRL_ENDPTNAKEN_RSVD0_V(e)    BF_USBCTRL_ENDPTNAKEN_RSVD0(BV_USBCTRL_ENDPTNAKEN_RSVD0__##e)
#define BFM_USBCTRL_ENDPTNAKEN_RSVD0_V(v)   BM_USBCTRL_ENDPTNAKEN_RSVD0
#define BP_USBCTRL_ENDPTNAKEN_EPRNE         0
#define BM_USBCTRL_ENDPTNAKEN_EPRNE         0x1f
#define BF_USBCTRL_ENDPTNAKEN_EPRNE(v)      (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTNAKEN_EPRNE(v)     BM_USBCTRL_ENDPTNAKEN_EPRNE
#define BF_USBCTRL_ENDPTNAKEN_EPRNE_V(e)    BF_USBCTRL_ENDPTNAKEN_EPRNE(BV_USBCTRL_ENDPTNAKEN_EPRNE__##e)
#define BFM_USBCTRL_ENDPTNAKEN_EPRNE_V(v)   BM_USBCTRL_ENDPTNAKEN_EPRNE

#define HW_USBCTRL_PORTSC1                              HW(USBCTRL_PORTSC1)
#define HWA_USBCTRL_PORTSC1                             (0x80080000 + 0x184)
#define HWT_USBCTRL_PORTSC1                             HWIO_32_RW
#define HWN_USBCTRL_PORTSC1                             USBCTRL_PORTSC1
#define HWI_USBCTRL_PORTSC1                             
#define BP_USBCTRL_PORTSC1_PTS                          30
#define BM_USBCTRL_PORTSC1_PTS                          0xc0000000
#define BV_USBCTRL_PORTSC1_PTS__UTMI                    0x0
#define BV_USBCTRL_PORTSC1_PTS__PHIL                    0x1
#define BV_USBCTRL_PORTSC1_PTS__ULPI                    0x2
#define BV_USBCTRL_PORTSC1_PTS__SERIAL                  0x3
#define BF_USBCTRL_PORTSC1_PTS(v)                       (((v) & 0x3) << 30)
#define BFM_USBCTRL_PORTSC1_PTS(v)                      BM_USBCTRL_PORTSC1_PTS
#define BF_USBCTRL_PORTSC1_PTS_V(e)                     BF_USBCTRL_PORTSC1_PTS(BV_USBCTRL_PORTSC1_PTS__##e)
#define BFM_USBCTRL_PORTSC1_PTS_V(v)                    BM_USBCTRL_PORTSC1_PTS
#define BP_USBCTRL_PORTSC1_STS                          29
#define BM_USBCTRL_PORTSC1_STS                          0x20000000
#define BF_USBCTRL_PORTSC1_STS(v)                       (((v) & 0x1) << 29)
#define BFM_USBCTRL_PORTSC1_STS(v)                      BM_USBCTRL_PORTSC1_STS
#define BF_USBCTRL_PORTSC1_STS_V(e)                     BF_USBCTRL_PORTSC1_STS(BV_USBCTRL_PORTSC1_STS__##e)
#define BFM_USBCTRL_PORTSC1_STS_V(v)                    BM_USBCTRL_PORTSC1_STS
#define BP_USBCTRL_PORTSC1_PTW                          28
#define BM_USBCTRL_PORTSC1_PTW                          0x10000000
#define BF_USBCTRL_PORTSC1_PTW(v)                       (((v) & 0x1) << 28)
#define BFM_USBCTRL_PORTSC1_PTW(v)                      BM_USBCTRL_PORTSC1_PTW
#define BF_USBCTRL_PORTSC1_PTW_V(e)                     BF_USBCTRL_PORTSC1_PTW(BV_USBCTRL_PORTSC1_PTW__##e)
#define BFM_USBCTRL_PORTSC1_PTW_V(v)                    BM_USBCTRL_PORTSC1_PTW
#define BP_USBCTRL_PORTSC1_PSPD                         26
#define BM_USBCTRL_PORTSC1_PSPD                         0xc000000
#define BV_USBCTRL_PORTSC1_PSPD__FULL                   0x0
#define BV_USBCTRL_PORTSC1_PSPD__LOW                    0x1
#define BV_USBCTRL_PORTSC1_PSPD__HIGH                   0x2
#define BF_USBCTRL_PORTSC1_PSPD(v)                      (((v) & 0x3) << 26)
#define BFM_USBCTRL_PORTSC1_PSPD(v)                     BM_USBCTRL_PORTSC1_PSPD
#define BF_USBCTRL_PORTSC1_PSPD_V(e)                    BF_USBCTRL_PORTSC1_PSPD(BV_USBCTRL_PORTSC1_PSPD__##e)
#define BFM_USBCTRL_PORTSC1_PSPD_V(v)                   BM_USBCTRL_PORTSC1_PSPD
#define BP_USBCTRL_PORTSC1_SRT                          25
#define BM_USBCTRL_PORTSC1_SRT                          0x2000000
#define BF_USBCTRL_PORTSC1_SRT(v)                       (((v) & 0x1) << 25)
#define BFM_USBCTRL_PORTSC1_SRT(v)                      BM_USBCTRL_PORTSC1_SRT
#define BF_USBCTRL_PORTSC1_SRT_V(e)                     BF_USBCTRL_PORTSC1_SRT(BV_USBCTRL_PORTSC1_SRT__##e)
#define BFM_USBCTRL_PORTSC1_SRT_V(v)                    BM_USBCTRL_PORTSC1_SRT
#define BP_USBCTRL_PORTSC1_PFSC                         24
#define BM_USBCTRL_PORTSC1_PFSC                         0x1000000
#define BF_USBCTRL_PORTSC1_PFSC(v)                      (((v) & 0x1) << 24)
#define BFM_USBCTRL_PORTSC1_PFSC(v)                     BM_USBCTRL_PORTSC1_PFSC
#define BF_USBCTRL_PORTSC1_PFSC_V(e)                    BF_USBCTRL_PORTSC1_PFSC(BV_USBCTRL_PORTSC1_PFSC__##e)
#define BFM_USBCTRL_PORTSC1_PFSC_V(v)                   BM_USBCTRL_PORTSC1_PFSC
#define BP_USBCTRL_PORTSC1_PHCD                         23
#define BM_USBCTRL_PORTSC1_PHCD                         0x800000
#define BF_USBCTRL_PORTSC1_PHCD(v)                      (((v) & 0x1) << 23)
#define BFM_USBCTRL_PORTSC1_PHCD(v)                     BM_USBCTRL_PORTSC1_PHCD
#define BF_USBCTRL_PORTSC1_PHCD_V(e)                    BF_USBCTRL_PORTSC1_PHCD(BV_USBCTRL_PORTSC1_PHCD__##e)
#define BFM_USBCTRL_PORTSC1_PHCD_V(v)                   BM_USBCTRL_PORTSC1_PHCD
#define BP_USBCTRL_PORTSC1_WKOC                         22
#define BM_USBCTRL_PORTSC1_WKOC                         0x400000
#define BF_USBCTRL_PORTSC1_WKOC(v)                      (((v) & 0x1) << 22)
#define BFM_USBCTRL_PORTSC1_WKOC(v)                     BM_USBCTRL_PORTSC1_WKOC
#define BF_USBCTRL_PORTSC1_WKOC_V(e)                    BF_USBCTRL_PORTSC1_WKOC(BV_USBCTRL_PORTSC1_WKOC__##e)
#define BFM_USBCTRL_PORTSC1_WKOC_V(v)                   BM_USBCTRL_PORTSC1_WKOC
#define BP_USBCTRL_PORTSC1_WKDS                         21
#define BM_USBCTRL_PORTSC1_WKDS                         0x200000
#define BF_USBCTRL_PORTSC1_WKDS(v)                      (((v) & 0x1) << 21)
#define BFM_USBCTRL_PORTSC1_WKDS(v)                     BM_USBCTRL_PORTSC1_WKDS
#define BF_USBCTRL_PORTSC1_WKDS_V(e)                    BF_USBCTRL_PORTSC1_WKDS(BV_USBCTRL_PORTSC1_WKDS__##e)
#define BFM_USBCTRL_PORTSC1_WKDS_V(v)                   BM_USBCTRL_PORTSC1_WKDS
#define BP_USBCTRL_PORTSC1_WKCN                         20
#define BM_USBCTRL_PORTSC1_WKCN                         0x100000
#define BF_USBCTRL_PORTSC1_WKCN(v)                      (((v) & 0x1) << 20)
#define BFM_USBCTRL_PORTSC1_WKCN(v)                     BM_USBCTRL_PORTSC1_WKCN
#define BF_USBCTRL_PORTSC1_WKCN_V(e)                    BF_USBCTRL_PORTSC1_WKCN(BV_USBCTRL_PORTSC1_WKCN__##e)
#define BFM_USBCTRL_PORTSC1_WKCN_V(v)                   BM_USBCTRL_PORTSC1_WKCN
#define BP_USBCTRL_PORTSC1_PTC                          16
#define BM_USBCTRL_PORTSC1_PTC                          0xf0000
#define BV_USBCTRL_PORTSC1_PTC__TEST_DISABLE            0x0
#define BV_USBCTRL_PORTSC1_PTC__TEST_J_STATE            0x1
#define BV_USBCTRL_PORTSC1_PTC__TEST_K_STATE            0x2
#define BV_USBCTRL_PORTSC1_PTC__TEST_J_SE0_NAK          0x3
#define BV_USBCTRL_PORTSC1_PTC__TEST_PACKET             0x4
#define BV_USBCTRL_PORTSC1_PTC__TEST_FORCE_ENABLE_HS    0x5
#define BV_USBCTRL_PORTSC1_PTC__TEST_FORCE_ENABLE_FS    0x6
#define BV_USBCTRL_PORTSC1_PTC__TEST_FORCE_ENABLE_LS    0x7
#define BF_USBCTRL_PORTSC1_PTC(v)                       (((v) & 0xf) << 16)
#define BFM_USBCTRL_PORTSC1_PTC(v)                      BM_USBCTRL_PORTSC1_PTC
#define BF_USBCTRL_PORTSC1_PTC_V(e)                     BF_USBCTRL_PORTSC1_PTC(BV_USBCTRL_PORTSC1_PTC__##e)
#define BFM_USBCTRL_PORTSC1_PTC_V(v)                    BM_USBCTRL_PORTSC1_PTC
#define BP_USBCTRL_PORTSC1_PIC                          14
#define BM_USBCTRL_PORTSC1_PIC                          0xc000
#define BV_USBCTRL_PORTSC1_PIC__OFF                     0x0
#define BV_USBCTRL_PORTSC1_PIC__AMBER                   0x1
#define BV_USBCTRL_PORTSC1_PIC__GREEN                   0x2
#define BV_USBCTRL_PORTSC1_PIC__UNDEF                   0x3
#define BF_USBCTRL_PORTSC1_PIC(v)                       (((v) & 0x3) << 14)
#define BFM_USBCTRL_PORTSC1_PIC(v)                      BM_USBCTRL_PORTSC1_PIC
#define BF_USBCTRL_PORTSC1_PIC_V(e)                     BF_USBCTRL_PORTSC1_PIC(BV_USBCTRL_PORTSC1_PIC__##e)
#define BFM_USBCTRL_PORTSC1_PIC_V(v)                    BM_USBCTRL_PORTSC1_PIC
#define BP_USBCTRL_PORTSC1_PO                           13
#define BM_USBCTRL_PORTSC1_PO                           0x2000
#define BF_USBCTRL_PORTSC1_PO(v)                        (((v) & 0x1) << 13)
#define BFM_USBCTRL_PORTSC1_PO(v)                       BM_USBCTRL_PORTSC1_PO
#define BF_USBCTRL_PORTSC1_PO_V(e)                      BF_USBCTRL_PORTSC1_PO(BV_USBCTRL_PORTSC1_PO__##e)
#define BFM_USBCTRL_PORTSC1_PO_V(v)                     BM_USBCTRL_PORTSC1_PO
#define BP_USBCTRL_PORTSC1_PP                           12
#define BM_USBCTRL_PORTSC1_PP                           0x1000
#define BF_USBCTRL_PORTSC1_PP(v)                        (((v) & 0x1) << 12)
#define BFM_USBCTRL_PORTSC1_PP(v)                       BM_USBCTRL_PORTSC1_PP
#define BF_USBCTRL_PORTSC1_PP_V(e)                      BF_USBCTRL_PORTSC1_PP(BV_USBCTRL_PORTSC1_PP__##e)
#define BFM_USBCTRL_PORTSC1_PP_V(v)                     BM_USBCTRL_PORTSC1_PP
#define BP_USBCTRL_PORTSC1_LS                           10
#define BM_USBCTRL_PORTSC1_LS                           0xc00
#define BV_USBCTRL_PORTSC1_LS__SE0                      0x0
#define BV_USBCTRL_PORTSC1_LS__K_STATE                  0x1
#define BV_USBCTRL_PORTSC1_LS__J_STATE                  0x2
#define BV_USBCTRL_PORTSC1_LS__UNDEF                    0x3
#define BF_USBCTRL_PORTSC1_LS(v)                        (((v) & 0x3) << 10)
#define BFM_USBCTRL_PORTSC1_LS(v)                       BM_USBCTRL_PORTSC1_LS
#define BF_USBCTRL_PORTSC1_LS_V(e)                      BF_USBCTRL_PORTSC1_LS(BV_USBCTRL_PORTSC1_LS__##e)
#define BFM_USBCTRL_PORTSC1_LS_V(v)                     BM_USBCTRL_PORTSC1_LS
#define BP_USBCTRL_PORTSC1_HSP                          9
#define BM_USBCTRL_PORTSC1_HSP                          0x200
#define BF_USBCTRL_PORTSC1_HSP(v)                       (((v) & 0x1) << 9)
#define BFM_USBCTRL_PORTSC1_HSP(v)                      BM_USBCTRL_PORTSC1_HSP
#define BF_USBCTRL_PORTSC1_HSP_V(e)                     BF_USBCTRL_PORTSC1_HSP(BV_USBCTRL_PORTSC1_HSP__##e)
#define BFM_USBCTRL_PORTSC1_HSP_V(v)                    BM_USBCTRL_PORTSC1_HSP
#define BP_USBCTRL_PORTSC1_PR                           8
#define BM_USBCTRL_PORTSC1_PR                           0x100
#define BF_USBCTRL_PORTSC1_PR(v)                        (((v) & 0x1) << 8)
#define BFM_USBCTRL_PORTSC1_PR(v)                       BM_USBCTRL_PORTSC1_PR
#define BF_USBCTRL_PORTSC1_PR_V(e)                      BF_USBCTRL_PORTSC1_PR(BV_USBCTRL_PORTSC1_PR__##e)
#define BFM_USBCTRL_PORTSC1_PR_V(v)                     BM_USBCTRL_PORTSC1_PR
#define BP_USBCTRL_PORTSC1_SUSP                         7
#define BM_USBCTRL_PORTSC1_SUSP                         0x80
#define BF_USBCTRL_PORTSC1_SUSP(v)                      (((v) & 0x1) << 7)
#define BFM_USBCTRL_PORTSC1_SUSP(v)                     BM_USBCTRL_PORTSC1_SUSP
#define BF_USBCTRL_PORTSC1_SUSP_V(e)                    BF_USBCTRL_PORTSC1_SUSP(BV_USBCTRL_PORTSC1_SUSP__##e)
#define BFM_USBCTRL_PORTSC1_SUSP_V(v)                   BM_USBCTRL_PORTSC1_SUSP
#define BP_USBCTRL_PORTSC1_FPR                          6
#define BM_USBCTRL_PORTSC1_FPR                          0x40
#define BF_USBCTRL_PORTSC1_FPR(v)                       (((v) & 0x1) << 6)
#define BFM_USBCTRL_PORTSC1_FPR(v)                      BM_USBCTRL_PORTSC1_FPR
#define BF_USBCTRL_PORTSC1_FPR_V(e)                     BF_USBCTRL_PORTSC1_FPR(BV_USBCTRL_PORTSC1_FPR__##e)
#define BFM_USBCTRL_PORTSC1_FPR_V(v)                    BM_USBCTRL_PORTSC1_FPR
#define BP_USBCTRL_PORTSC1_OCC                          5
#define BM_USBCTRL_PORTSC1_OCC                          0x20
#define BF_USBCTRL_PORTSC1_OCC(v)                       (((v) & 0x1) << 5)
#define BFM_USBCTRL_PORTSC1_OCC(v)                      BM_USBCTRL_PORTSC1_OCC
#define BF_USBCTRL_PORTSC1_OCC_V(e)                     BF_USBCTRL_PORTSC1_OCC(BV_USBCTRL_PORTSC1_OCC__##e)
#define BFM_USBCTRL_PORTSC1_OCC_V(v)                    BM_USBCTRL_PORTSC1_OCC
#define BP_USBCTRL_PORTSC1_OCA                          4
#define BM_USBCTRL_PORTSC1_OCA                          0x10
#define BF_USBCTRL_PORTSC1_OCA(v)                       (((v) & 0x1) << 4)
#define BFM_USBCTRL_PORTSC1_OCA(v)                      BM_USBCTRL_PORTSC1_OCA
#define BF_USBCTRL_PORTSC1_OCA_V(e)                     BF_USBCTRL_PORTSC1_OCA(BV_USBCTRL_PORTSC1_OCA__##e)
#define BFM_USBCTRL_PORTSC1_OCA_V(v)                    BM_USBCTRL_PORTSC1_OCA
#define BP_USBCTRL_PORTSC1_PEC                          3
#define BM_USBCTRL_PORTSC1_PEC                          0x8
#define BF_USBCTRL_PORTSC1_PEC(v)                       (((v) & 0x1) << 3)
#define BFM_USBCTRL_PORTSC1_PEC(v)                      BM_USBCTRL_PORTSC1_PEC
#define BF_USBCTRL_PORTSC1_PEC_V(e)                     BF_USBCTRL_PORTSC1_PEC(BV_USBCTRL_PORTSC1_PEC__##e)
#define BFM_USBCTRL_PORTSC1_PEC_V(v)                    BM_USBCTRL_PORTSC1_PEC
#define BP_USBCTRL_PORTSC1_PE                           2
#define BM_USBCTRL_PORTSC1_PE                           0x4
#define BF_USBCTRL_PORTSC1_PE(v)                        (((v) & 0x1) << 2)
#define BFM_USBCTRL_PORTSC1_PE(v)                       BM_USBCTRL_PORTSC1_PE
#define BF_USBCTRL_PORTSC1_PE_V(e)                      BF_USBCTRL_PORTSC1_PE(BV_USBCTRL_PORTSC1_PE__##e)
#define BFM_USBCTRL_PORTSC1_PE_V(v)                     BM_USBCTRL_PORTSC1_PE
#define BP_USBCTRL_PORTSC1_CSC                          1
#define BM_USBCTRL_PORTSC1_CSC                          0x2
#define BF_USBCTRL_PORTSC1_CSC(v)                       (((v) & 0x1) << 1)
#define BFM_USBCTRL_PORTSC1_CSC(v)                      BM_USBCTRL_PORTSC1_CSC
#define BF_USBCTRL_PORTSC1_CSC_V(e)                     BF_USBCTRL_PORTSC1_CSC(BV_USBCTRL_PORTSC1_CSC__##e)
#define BFM_USBCTRL_PORTSC1_CSC_V(v)                    BM_USBCTRL_PORTSC1_CSC
#define BP_USBCTRL_PORTSC1_CCS                          0
#define BM_USBCTRL_PORTSC1_CCS                          0x1
#define BF_USBCTRL_PORTSC1_CCS(v)                       (((v) & 0x1) << 0)
#define BFM_USBCTRL_PORTSC1_CCS(v)                      BM_USBCTRL_PORTSC1_CCS
#define BF_USBCTRL_PORTSC1_CCS_V(e)                     BF_USBCTRL_PORTSC1_CCS(BV_USBCTRL_PORTSC1_CCS__##e)
#define BFM_USBCTRL_PORTSC1_CCS_V(v)                    BM_USBCTRL_PORTSC1_CCS

#define HW_USBCTRL_OTGSC                HW(USBCTRL_OTGSC)
#define HWA_USBCTRL_OTGSC               (0x80080000 + 0x1a4)
#define HWT_USBCTRL_OTGSC               HWIO_32_RW
#define HWN_USBCTRL_OTGSC               USBCTRL_OTGSC
#define HWI_USBCTRL_OTGSC               
#define BP_USBCTRL_OTGSC_RSVD2          31
#define BM_USBCTRL_OTGSC_RSVD2          0x80000000
#define BF_USBCTRL_OTGSC_RSVD2(v)       (((v) & 0x1) << 31)
#define BFM_USBCTRL_OTGSC_RSVD2(v)      BM_USBCTRL_OTGSC_RSVD2
#define BF_USBCTRL_OTGSC_RSVD2_V(e)     BF_USBCTRL_OTGSC_RSVD2(BV_USBCTRL_OTGSC_RSVD2__##e)
#define BFM_USBCTRL_OTGSC_RSVD2_V(v)    BM_USBCTRL_OTGSC_RSVD2
#define BP_USBCTRL_OTGSC_DPIE           30
#define BM_USBCTRL_OTGSC_DPIE           0x40000000
#define BF_USBCTRL_OTGSC_DPIE(v)        (((v) & 0x1) << 30)
#define BFM_USBCTRL_OTGSC_DPIE(v)       BM_USBCTRL_OTGSC_DPIE
#define BF_USBCTRL_OTGSC_DPIE_V(e)      BF_USBCTRL_OTGSC_DPIE(BV_USBCTRL_OTGSC_DPIE__##e)
#define BFM_USBCTRL_OTGSC_DPIE_V(v)     BM_USBCTRL_OTGSC_DPIE
#define BP_USBCTRL_OTGSC_ONEMSE         29
#define BM_USBCTRL_OTGSC_ONEMSE         0x20000000
#define BF_USBCTRL_OTGSC_ONEMSE(v)      (((v) & 0x1) << 29)
#define BFM_USBCTRL_OTGSC_ONEMSE(v)     BM_USBCTRL_OTGSC_ONEMSE
#define BF_USBCTRL_OTGSC_ONEMSE_V(e)    BF_USBCTRL_OTGSC_ONEMSE(BV_USBCTRL_OTGSC_ONEMSE__##e)
#define BFM_USBCTRL_OTGSC_ONEMSE_V(v)   BM_USBCTRL_OTGSC_ONEMSE
#define BP_USBCTRL_OTGSC_BSEIE          28
#define BM_USBCTRL_OTGSC_BSEIE          0x10000000
#define BF_USBCTRL_OTGSC_BSEIE(v)       (((v) & 0x1) << 28)
#define BFM_USBCTRL_OTGSC_BSEIE(v)      BM_USBCTRL_OTGSC_BSEIE
#define BF_USBCTRL_OTGSC_BSEIE_V(e)     BF_USBCTRL_OTGSC_BSEIE(BV_USBCTRL_OTGSC_BSEIE__##e)
#define BFM_USBCTRL_OTGSC_BSEIE_V(v)    BM_USBCTRL_OTGSC_BSEIE
#define BP_USBCTRL_OTGSC_BSVIE          27
#define BM_USBCTRL_OTGSC_BSVIE          0x8000000
#define BF_USBCTRL_OTGSC_BSVIE(v)       (((v) & 0x1) << 27)
#define BFM_USBCTRL_OTGSC_BSVIE(v)      BM_USBCTRL_OTGSC_BSVIE
#define BF_USBCTRL_OTGSC_BSVIE_V(e)     BF_USBCTRL_OTGSC_BSVIE(BV_USBCTRL_OTGSC_BSVIE__##e)
#define BFM_USBCTRL_OTGSC_BSVIE_V(v)    BM_USBCTRL_OTGSC_BSVIE
#define BP_USBCTRL_OTGSC_ASVIE          26
#define BM_USBCTRL_OTGSC_ASVIE          0x4000000
#define BF_USBCTRL_OTGSC_ASVIE(v)       (((v) & 0x1) << 26)
#define BFM_USBCTRL_OTGSC_ASVIE(v)      BM_USBCTRL_OTGSC_ASVIE
#define BF_USBCTRL_OTGSC_ASVIE_V(e)     BF_USBCTRL_OTGSC_ASVIE(BV_USBCTRL_OTGSC_ASVIE__##e)
#define BFM_USBCTRL_OTGSC_ASVIE_V(v)    BM_USBCTRL_OTGSC_ASVIE
#define BP_USBCTRL_OTGSC_AVVIE          25
#define BM_USBCTRL_OTGSC_AVVIE          0x2000000
#define BF_USBCTRL_OTGSC_AVVIE(v)       (((v) & 0x1) << 25)
#define BFM_USBCTRL_OTGSC_AVVIE(v)      BM_USBCTRL_OTGSC_AVVIE
#define BF_USBCTRL_OTGSC_AVVIE_V(e)     BF_USBCTRL_OTGSC_AVVIE(BV_USBCTRL_OTGSC_AVVIE__##e)
#define BFM_USBCTRL_OTGSC_AVVIE_V(v)    BM_USBCTRL_OTGSC_AVVIE
#define BP_USBCTRL_OTGSC_IDIE           24
#define BM_USBCTRL_OTGSC_IDIE           0x1000000
#define BF_USBCTRL_OTGSC_IDIE(v)        (((v) & 0x1) << 24)
#define BFM_USBCTRL_OTGSC_IDIE(v)       BM_USBCTRL_OTGSC_IDIE
#define BF_USBCTRL_OTGSC_IDIE_V(e)      BF_USBCTRL_OTGSC_IDIE(BV_USBCTRL_OTGSC_IDIE__##e)
#define BFM_USBCTRL_OTGSC_IDIE_V(v)     BM_USBCTRL_OTGSC_IDIE
#define BP_USBCTRL_OTGSC_RSVD1          23
#define BM_USBCTRL_OTGSC_RSVD1          0x800000
#define BF_USBCTRL_OTGSC_RSVD1(v)       (((v) & 0x1) << 23)
#define BFM_USBCTRL_OTGSC_RSVD1(v)      BM_USBCTRL_OTGSC_RSVD1
#define BF_USBCTRL_OTGSC_RSVD1_V(e)     BF_USBCTRL_OTGSC_RSVD1(BV_USBCTRL_OTGSC_RSVD1__##e)
#define BFM_USBCTRL_OTGSC_RSVD1_V(v)    BM_USBCTRL_OTGSC_RSVD1
#define BP_USBCTRL_OTGSC_DPIS           22
#define BM_USBCTRL_OTGSC_DPIS           0x400000
#define BF_USBCTRL_OTGSC_DPIS(v)        (((v) & 0x1) << 22)
#define BFM_USBCTRL_OTGSC_DPIS(v)       BM_USBCTRL_OTGSC_DPIS
#define BF_USBCTRL_OTGSC_DPIS_V(e)      BF_USBCTRL_OTGSC_DPIS(BV_USBCTRL_OTGSC_DPIS__##e)
#define BFM_USBCTRL_OTGSC_DPIS_V(v)     BM_USBCTRL_OTGSC_DPIS
#define BP_USBCTRL_OTGSC_ONEMSS         21
#define BM_USBCTRL_OTGSC_ONEMSS         0x200000
#define BF_USBCTRL_OTGSC_ONEMSS(v)      (((v) & 0x1) << 21)
#define BFM_USBCTRL_OTGSC_ONEMSS(v)     BM_USBCTRL_OTGSC_ONEMSS
#define BF_USBCTRL_OTGSC_ONEMSS_V(e)    BF_USBCTRL_OTGSC_ONEMSS(BV_USBCTRL_OTGSC_ONEMSS__##e)
#define BFM_USBCTRL_OTGSC_ONEMSS_V(v)   BM_USBCTRL_OTGSC_ONEMSS
#define BP_USBCTRL_OTGSC_BSEIS          20
#define BM_USBCTRL_OTGSC_BSEIS          0x100000
#define BF_USBCTRL_OTGSC_BSEIS(v)       (((v) & 0x1) << 20)
#define BFM_USBCTRL_OTGSC_BSEIS(v)      BM_USBCTRL_OTGSC_BSEIS
#define BF_USBCTRL_OTGSC_BSEIS_V(e)     BF_USBCTRL_OTGSC_BSEIS(BV_USBCTRL_OTGSC_BSEIS__##e)
#define BFM_USBCTRL_OTGSC_BSEIS_V(v)    BM_USBCTRL_OTGSC_BSEIS
#define BP_USBCTRL_OTGSC_BSVIS          19
#define BM_USBCTRL_OTGSC_BSVIS          0x80000
#define BF_USBCTRL_OTGSC_BSVIS(v)       (((v) & 0x1) << 19)
#define BFM_USBCTRL_OTGSC_BSVIS(v)      BM_USBCTRL_OTGSC_BSVIS
#define BF_USBCTRL_OTGSC_BSVIS_V(e)     BF_USBCTRL_OTGSC_BSVIS(BV_USBCTRL_OTGSC_BSVIS__##e)
#define BFM_USBCTRL_OTGSC_BSVIS_V(v)    BM_USBCTRL_OTGSC_BSVIS
#define BP_USBCTRL_OTGSC_ASVIS          18
#define BM_USBCTRL_OTGSC_ASVIS          0x40000
#define BF_USBCTRL_OTGSC_ASVIS(v)       (((v) & 0x1) << 18)
#define BFM_USBCTRL_OTGSC_ASVIS(v)      BM_USBCTRL_OTGSC_ASVIS
#define BF_USBCTRL_OTGSC_ASVIS_V(e)     BF_USBCTRL_OTGSC_ASVIS(BV_USBCTRL_OTGSC_ASVIS__##e)
#define BFM_USBCTRL_OTGSC_ASVIS_V(v)    BM_USBCTRL_OTGSC_ASVIS
#define BP_USBCTRL_OTGSC_AVVIS          17
#define BM_USBCTRL_OTGSC_AVVIS          0x20000
#define BF_USBCTRL_OTGSC_AVVIS(v)       (((v) & 0x1) << 17)
#define BFM_USBCTRL_OTGSC_AVVIS(v)      BM_USBCTRL_OTGSC_AVVIS
#define BF_USBCTRL_OTGSC_AVVIS_V(e)     BF_USBCTRL_OTGSC_AVVIS(BV_USBCTRL_OTGSC_AVVIS__##e)
#define BFM_USBCTRL_OTGSC_AVVIS_V(v)    BM_USBCTRL_OTGSC_AVVIS
#define BP_USBCTRL_OTGSC_IDIS           16
#define BM_USBCTRL_OTGSC_IDIS           0x10000
#define BF_USBCTRL_OTGSC_IDIS(v)        (((v) & 0x1) << 16)
#define BFM_USBCTRL_OTGSC_IDIS(v)       BM_USBCTRL_OTGSC_IDIS
#define BF_USBCTRL_OTGSC_IDIS_V(e)      BF_USBCTRL_OTGSC_IDIS(BV_USBCTRL_OTGSC_IDIS__##e)
#define BFM_USBCTRL_OTGSC_IDIS_V(v)     BM_USBCTRL_OTGSC_IDIS
#define BP_USBCTRL_OTGSC_RSVD0          15
#define BM_USBCTRL_OTGSC_RSVD0          0x8000
#define BF_USBCTRL_OTGSC_RSVD0(v)       (((v) & 0x1) << 15)
#define BFM_USBCTRL_OTGSC_RSVD0(v)      BM_USBCTRL_OTGSC_RSVD0
#define BF_USBCTRL_OTGSC_RSVD0_V(e)     BF_USBCTRL_OTGSC_RSVD0(BV_USBCTRL_OTGSC_RSVD0__##e)
#define BFM_USBCTRL_OTGSC_RSVD0_V(v)    BM_USBCTRL_OTGSC_RSVD0
#define BP_USBCTRL_OTGSC_DPS            14
#define BM_USBCTRL_OTGSC_DPS            0x4000
#define BF_USBCTRL_OTGSC_DPS(v)         (((v) & 0x1) << 14)
#define BFM_USBCTRL_OTGSC_DPS(v)        BM_USBCTRL_OTGSC_DPS
#define BF_USBCTRL_OTGSC_DPS_V(e)       BF_USBCTRL_OTGSC_DPS(BV_USBCTRL_OTGSC_DPS__##e)
#define BFM_USBCTRL_OTGSC_DPS_V(v)      BM_USBCTRL_OTGSC_DPS
#define BP_USBCTRL_OTGSC_ONEMST         13
#define BM_USBCTRL_OTGSC_ONEMST         0x2000
#define BF_USBCTRL_OTGSC_ONEMST(v)      (((v) & 0x1) << 13)
#define BFM_USBCTRL_OTGSC_ONEMST(v)     BM_USBCTRL_OTGSC_ONEMST
#define BF_USBCTRL_OTGSC_ONEMST_V(e)    BF_USBCTRL_OTGSC_ONEMST(BV_USBCTRL_OTGSC_ONEMST__##e)
#define BFM_USBCTRL_OTGSC_ONEMST_V(v)   BM_USBCTRL_OTGSC_ONEMST
#define BP_USBCTRL_OTGSC_BSE            12
#define BM_USBCTRL_OTGSC_BSE            0x1000
#define BF_USBCTRL_OTGSC_BSE(v)         (((v) & 0x1) << 12)
#define BFM_USBCTRL_OTGSC_BSE(v)        BM_USBCTRL_OTGSC_BSE
#define BF_USBCTRL_OTGSC_BSE_V(e)       BF_USBCTRL_OTGSC_BSE(BV_USBCTRL_OTGSC_BSE__##e)
#define BFM_USBCTRL_OTGSC_BSE_V(v)      BM_USBCTRL_OTGSC_BSE
#define BP_USBCTRL_OTGSC_BSV            11
#define BM_USBCTRL_OTGSC_BSV            0x800
#define BF_USBCTRL_OTGSC_BSV(v)         (((v) & 0x1) << 11)
#define BFM_USBCTRL_OTGSC_BSV(v)        BM_USBCTRL_OTGSC_BSV
#define BF_USBCTRL_OTGSC_BSV_V(e)       BF_USBCTRL_OTGSC_BSV(BV_USBCTRL_OTGSC_BSV__##e)
#define BFM_USBCTRL_OTGSC_BSV_V(v)      BM_USBCTRL_OTGSC_BSV
#define BP_USBCTRL_OTGSC_ASV            10
#define BM_USBCTRL_OTGSC_ASV            0x400
#define BF_USBCTRL_OTGSC_ASV(v)         (((v) & 0x1) << 10)
#define BFM_USBCTRL_OTGSC_ASV(v)        BM_USBCTRL_OTGSC_ASV
#define BF_USBCTRL_OTGSC_ASV_V(e)       BF_USBCTRL_OTGSC_ASV(BV_USBCTRL_OTGSC_ASV__##e)
#define BFM_USBCTRL_OTGSC_ASV_V(v)      BM_USBCTRL_OTGSC_ASV
#define BP_USBCTRL_OTGSC_AVV            9
#define BM_USBCTRL_OTGSC_AVV            0x200
#define BF_USBCTRL_OTGSC_AVV(v)         (((v) & 0x1) << 9)
#define BFM_USBCTRL_OTGSC_AVV(v)        BM_USBCTRL_OTGSC_AVV
#define BF_USBCTRL_OTGSC_AVV_V(e)       BF_USBCTRL_OTGSC_AVV(BV_USBCTRL_OTGSC_AVV__##e)
#define BFM_USBCTRL_OTGSC_AVV_V(v)      BM_USBCTRL_OTGSC_AVV
#define BP_USBCTRL_OTGSC_ID             8
#define BM_USBCTRL_OTGSC_ID             0x100
#define BF_USBCTRL_OTGSC_ID(v)          (((v) & 0x1) << 8)
#define BFM_USBCTRL_OTGSC_ID(v)         BM_USBCTRL_OTGSC_ID
#define BF_USBCTRL_OTGSC_ID_V(e)        BF_USBCTRL_OTGSC_ID(BV_USBCTRL_OTGSC_ID__##e)
#define BFM_USBCTRL_OTGSC_ID_V(v)       BM_USBCTRL_OTGSC_ID
#define BP_USBCTRL_OTGSC_HABA           7
#define BM_USBCTRL_OTGSC_HABA           0x80
#define BF_USBCTRL_OTGSC_HABA(v)        (((v) & 0x1) << 7)
#define BFM_USBCTRL_OTGSC_HABA(v)       BM_USBCTRL_OTGSC_HABA
#define BF_USBCTRL_OTGSC_HABA_V(e)      BF_USBCTRL_OTGSC_HABA(BV_USBCTRL_OTGSC_HABA__##e)
#define BFM_USBCTRL_OTGSC_HABA_V(v)     BM_USBCTRL_OTGSC_HABA
#define BP_USBCTRL_OTGSC_HADP           6
#define BM_USBCTRL_OTGSC_HADP           0x40
#define BF_USBCTRL_OTGSC_HADP(v)        (((v) & 0x1) << 6)
#define BFM_USBCTRL_OTGSC_HADP(v)       BM_USBCTRL_OTGSC_HADP
#define BF_USBCTRL_OTGSC_HADP_V(e)      BF_USBCTRL_OTGSC_HADP(BV_USBCTRL_OTGSC_HADP__##e)
#define BFM_USBCTRL_OTGSC_HADP_V(v)     BM_USBCTRL_OTGSC_HADP
#define BP_USBCTRL_OTGSC_IDPU           5
#define BM_USBCTRL_OTGSC_IDPU           0x20
#define BF_USBCTRL_OTGSC_IDPU(v)        (((v) & 0x1) << 5)
#define BFM_USBCTRL_OTGSC_IDPU(v)       BM_USBCTRL_OTGSC_IDPU
#define BF_USBCTRL_OTGSC_IDPU_V(e)      BF_USBCTRL_OTGSC_IDPU(BV_USBCTRL_OTGSC_IDPU__##e)
#define BFM_USBCTRL_OTGSC_IDPU_V(v)     BM_USBCTRL_OTGSC_IDPU
#define BP_USBCTRL_OTGSC_DP             4
#define BM_USBCTRL_OTGSC_DP             0x10
#define BF_USBCTRL_OTGSC_DP(v)          (((v) & 0x1) << 4)
#define BFM_USBCTRL_OTGSC_DP(v)         BM_USBCTRL_OTGSC_DP
#define BF_USBCTRL_OTGSC_DP_V(e)        BF_USBCTRL_OTGSC_DP(BV_USBCTRL_OTGSC_DP__##e)
#define BFM_USBCTRL_OTGSC_DP_V(v)       BM_USBCTRL_OTGSC_DP
#define BP_USBCTRL_OTGSC_OT             3
#define BM_USBCTRL_OTGSC_OT             0x8
#define BF_USBCTRL_OTGSC_OT(v)          (((v) & 0x1) << 3)
#define BFM_USBCTRL_OTGSC_OT(v)         BM_USBCTRL_OTGSC_OT
#define BF_USBCTRL_OTGSC_OT_V(e)        BF_USBCTRL_OTGSC_OT(BV_USBCTRL_OTGSC_OT__##e)
#define BFM_USBCTRL_OTGSC_OT_V(v)       BM_USBCTRL_OTGSC_OT
#define BP_USBCTRL_OTGSC_HAAR           2
#define BM_USBCTRL_OTGSC_HAAR           0x4
#define BF_USBCTRL_OTGSC_HAAR(v)        (((v) & 0x1) << 2)
#define BFM_USBCTRL_OTGSC_HAAR(v)       BM_USBCTRL_OTGSC_HAAR
#define BF_USBCTRL_OTGSC_HAAR_V(e)      BF_USBCTRL_OTGSC_HAAR(BV_USBCTRL_OTGSC_HAAR__##e)
#define BFM_USBCTRL_OTGSC_HAAR_V(v)     BM_USBCTRL_OTGSC_HAAR
#define BP_USBCTRL_OTGSC_VC             1
#define BM_USBCTRL_OTGSC_VC             0x2
#define BF_USBCTRL_OTGSC_VC(v)          (((v) & 0x1) << 1)
#define BFM_USBCTRL_OTGSC_VC(v)         BM_USBCTRL_OTGSC_VC
#define BF_USBCTRL_OTGSC_VC_V(e)        BF_USBCTRL_OTGSC_VC(BV_USBCTRL_OTGSC_VC__##e)
#define BFM_USBCTRL_OTGSC_VC_V(v)       BM_USBCTRL_OTGSC_VC
#define BP_USBCTRL_OTGSC_VD             0
#define BM_USBCTRL_OTGSC_VD             0x1
#define BF_USBCTRL_OTGSC_VD(v)          (((v) & 0x1) << 0)
#define BFM_USBCTRL_OTGSC_VD(v)         BM_USBCTRL_OTGSC_VD
#define BF_USBCTRL_OTGSC_VD_V(e)        BF_USBCTRL_OTGSC_VD(BV_USBCTRL_OTGSC_VD__##e)
#define BFM_USBCTRL_OTGSC_VD_V(v)       BM_USBCTRL_OTGSC_VD

#define HW_USBCTRL_USBMODE              HW(USBCTRL_USBMODE)
#define HWA_USBCTRL_USBMODE             (0x80080000 + 0x1a8)
#define HWT_USBCTRL_USBMODE             HWIO_32_RW
#define HWN_USBCTRL_USBMODE             USBCTRL_USBMODE
#define HWI_USBCTRL_USBMODE             
#define BP_USBCTRL_USBMODE_RSVD         6
#define BM_USBCTRL_USBMODE_RSVD         0xffffffc0
#define BF_USBCTRL_USBMODE_RSVD(v)      (((v) & 0x3ffffff) << 6)
#define BFM_USBCTRL_USBMODE_RSVD(v)     BM_USBCTRL_USBMODE_RSVD
#define BF_USBCTRL_USBMODE_RSVD_V(e)    BF_USBCTRL_USBMODE_RSVD(BV_USBCTRL_USBMODE_RSVD__##e)
#define BFM_USBCTRL_USBMODE_RSVD_V(v)   BM_USBCTRL_USBMODE_RSVD
#define BP_USBCTRL_USBMODE_VBPS         5
#define BM_USBCTRL_USBMODE_VBPS         0x20
#define BF_USBCTRL_USBMODE_VBPS(v)      (((v) & 0x1) << 5)
#define BFM_USBCTRL_USBMODE_VBPS(v)     BM_USBCTRL_USBMODE_VBPS
#define BF_USBCTRL_USBMODE_VBPS_V(e)    BF_USBCTRL_USBMODE_VBPS(BV_USBCTRL_USBMODE_VBPS__##e)
#define BFM_USBCTRL_USBMODE_VBPS_V(v)   BM_USBCTRL_USBMODE_VBPS
#define BP_USBCTRL_USBMODE_SDIS         4
#define BM_USBCTRL_USBMODE_SDIS         0x10
#define BF_USBCTRL_USBMODE_SDIS(v)      (((v) & 0x1) << 4)
#define BFM_USBCTRL_USBMODE_SDIS(v)     BM_USBCTRL_USBMODE_SDIS
#define BF_USBCTRL_USBMODE_SDIS_V(e)    BF_USBCTRL_USBMODE_SDIS(BV_USBCTRL_USBMODE_SDIS__##e)
#define BFM_USBCTRL_USBMODE_SDIS_V(v)   BM_USBCTRL_USBMODE_SDIS
#define BP_USBCTRL_USBMODE_SLOM         3
#define BM_USBCTRL_USBMODE_SLOM         0x8
#define BF_USBCTRL_USBMODE_SLOM(v)      (((v) & 0x1) << 3)
#define BFM_USBCTRL_USBMODE_SLOM(v)     BM_USBCTRL_USBMODE_SLOM
#define BF_USBCTRL_USBMODE_SLOM_V(e)    BF_USBCTRL_USBMODE_SLOM(BV_USBCTRL_USBMODE_SLOM__##e)
#define BFM_USBCTRL_USBMODE_SLOM_V(v)   BM_USBCTRL_USBMODE_SLOM
#define BP_USBCTRL_USBMODE_ES           2
#define BM_USBCTRL_USBMODE_ES           0x4
#define BF_USBCTRL_USBMODE_ES(v)        (((v) & 0x1) << 2)
#define BFM_USBCTRL_USBMODE_ES(v)       BM_USBCTRL_USBMODE_ES
#define BF_USBCTRL_USBMODE_ES_V(e)      BF_USBCTRL_USBMODE_ES(BV_USBCTRL_USBMODE_ES__##e)
#define BFM_USBCTRL_USBMODE_ES_V(v)     BM_USBCTRL_USBMODE_ES
#define BP_USBCTRL_USBMODE_CM           0
#define BM_USBCTRL_USBMODE_CM           0x3
#define BV_USBCTRL_USBMODE_CM__IDLE     0x0
#define BV_USBCTRL_USBMODE_CM__DEVICE   0x2
#define BV_USBCTRL_USBMODE_CM__HOST     0x3
#define BF_USBCTRL_USBMODE_CM(v)        (((v) & 0x3) << 0)
#define BFM_USBCTRL_USBMODE_CM(v)       BM_USBCTRL_USBMODE_CM
#define BF_USBCTRL_USBMODE_CM_V(e)      BF_USBCTRL_USBMODE_CM(BV_USBCTRL_USBMODE_CM__##e)
#define BFM_USBCTRL_USBMODE_CM_V(v)     BM_USBCTRL_USBMODE_CM

#define HW_USBCTRL_ENDPTSETUPSTAT                       HW(USBCTRL_ENDPTSETUPSTAT)
#define HWA_USBCTRL_ENDPTSETUPSTAT                      (0x80080000 + 0x1ac)
#define HWT_USBCTRL_ENDPTSETUPSTAT                      HWIO_32_RW
#define HWN_USBCTRL_ENDPTSETUPSTAT                      USBCTRL_ENDPTSETUPSTAT
#define HWI_USBCTRL_ENDPTSETUPSTAT                      
#define BP_USBCTRL_ENDPTSETUPSTAT_RSVD                  5
#define BM_USBCTRL_ENDPTSETUPSTAT_RSVD                  0xffffffe0
#define BF_USBCTRL_ENDPTSETUPSTAT_RSVD(v)               (((v) & 0x7ffffff) << 5)
#define BFM_USBCTRL_ENDPTSETUPSTAT_RSVD(v)              BM_USBCTRL_ENDPTSETUPSTAT_RSVD
#define BF_USBCTRL_ENDPTSETUPSTAT_RSVD_V(e)             BF_USBCTRL_ENDPTSETUPSTAT_RSVD(BV_USBCTRL_ENDPTSETUPSTAT_RSVD__##e)
#define BFM_USBCTRL_ENDPTSETUPSTAT_RSVD_V(v)            BM_USBCTRL_ENDPTSETUPSTAT_RSVD
#define BP_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT        0
#define BM_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT        0x1f
#define BF_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT(v)     (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT(v)    BM_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT
#define BF_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT_V(e)   BF_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT(BV_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT__##e)
#define BFM_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT_V(v)  BM_USBCTRL_ENDPTSETUPSTAT_ENDPTSETUPSTAT

#define HW_USBCTRL_ENDPTPRIME               HW(USBCTRL_ENDPTPRIME)
#define HWA_USBCTRL_ENDPTPRIME              (0x80080000 + 0x1b0)
#define HWT_USBCTRL_ENDPTPRIME              HWIO_32_RW
#define HWN_USBCTRL_ENDPTPRIME              USBCTRL_ENDPTPRIME
#define HWI_USBCTRL_ENDPTPRIME              
#define BP_USBCTRL_ENDPTPRIME_RSVD1         21
#define BM_USBCTRL_ENDPTPRIME_RSVD1         0xffe00000
#define BF_USBCTRL_ENDPTPRIME_RSVD1(v)      (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTPRIME_RSVD1(v)     BM_USBCTRL_ENDPTPRIME_RSVD1
#define BF_USBCTRL_ENDPTPRIME_RSVD1_V(e)    BF_USBCTRL_ENDPTPRIME_RSVD1(BV_USBCTRL_ENDPTPRIME_RSVD1__##e)
#define BFM_USBCTRL_ENDPTPRIME_RSVD1_V(v)   BM_USBCTRL_ENDPTPRIME_RSVD1
#define BP_USBCTRL_ENDPTPRIME_PETB          16
#define BM_USBCTRL_ENDPTPRIME_PETB          0x1f0000
#define BF_USBCTRL_ENDPTPRIME_PETB(v)       (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTPRIME_PETB(v)      BM_USBCTRL_ENDPTPRIME_PETB
#define BF_USBCTRL_ENDPTPRIME_PETB_V(e)     BF_USBCTRL_ENDPTPRIME_PETB(BV_USBCTRL_ENDPTPRIME_PETB__##e)
#define BFM_USBCTRL_ENDPTPRIME_PETB_V(v)    BM_USBCTRL_ENDPTPRIME_PETB
#define BP_USBCTRL_ENDPTPRIME_RSVD0         5
#define BM_USBCTRL_ENDPTPRIME_RSVD0         0xffe0
#define BF_USBCTRL_ENDPTPRIME_RSVD0(v)      (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTPRIME_RSVD0(v)     BM_USBCTRL_ENDPTPRIME_RSVD0
#define BF_USBCTRL_ENDPTPRIME_RSVD0_V(e)    BF_USBCTRL_ENDPTPRIME_RSVD0(BV_USBCTRL_ENDPTPRIME_RSVD0__##e)
#define BFM_USBCTRL_ENDPTPRIME_RSVD0_V(v)   BM_USBCTRL_ENDPTPRIME_RSVD0
#define BP_USBCTRL_ENDPTPRIME_PERB          0
#define BM_USBCTRL_ENDPTPRIME_PERB          0x1f
#define BF_USBCTRL_ENDPTPRIME_PERB(v)       (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTPRIME_PERB(v)      BM_USBCTRL_ENDPTPRIME_PERB
#define BF_USBCTRL_ENDPTPRIME_PERB_V(e)     BF_USBCTRL_ENDPTPRIME_PERB(BV_USBCTRL_ENDPTPRIME_PERB__##e)
#define BFM_USBCTRL_ENDPTPRIME_PERB_V(v)    BM_USBCTRL_ENDPTPRIME_PERB

#define HW_USBCTRL_ENDPTFLUSH               HW(USBCTRL_ENDPTFLUSH)
#define HWA_USBCTRL_ENDPTFLUSH              (0x80080000 + 0x1b4)
#define HWT_USBCTRL_ENDPTFLUSH              HWIO_32_RW
#define HWN_USBCTRL_ENDPTFLUSH              USBCTRL_ENDPTFLUSH
#define HWI_USBCTRL_ENDPTFLUSH              
#define BP_USBCTRL_ENDPTFLUSH_RSVD1         21
#define BM_USBCTRL_ENDPTFLUSH_RSVD1         0xffe00000
#define BF_USBCTRL_ENDPTFLUSH_RSVD1(v)      (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTFLUSH_RSVD1(v)     BM_USBCTRL_ENDPTFLUSH_RSVD1
#define BF_USBCTRL_ENDPTFLUSH_RSVD1_V(e)    BF_USBCTRL_ENDPTFLUSH_RSVD1(BV_USBCTRL_ENDPTFLUSH_RSVD1__##e)
#define BFM_USBCTRL_ENDPTFLUSH_RSVD1_V(v)   BM_USBCTRL_ENDPTFLUSH_RSVD1
#define BP_USBCTRL_ENDPTFLUSH_FETB          16
#define BM_USBCTRL_ENDPTFLUSH_FETB          0x1f0000
#define BF_USBCTRL_ENDPTFLUSH_FETB(v)       (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTFLUSH_FETB(v)      BM_USBCTRL_ENDPTFLUSH_FETB
#define BF_USBCTRL_ENDPTFLUSH_FETB_V(e)     BF_USBCTRL_ENDPTFLUSH_FETB(BV_USBCTRL_ENDPTFLUSH_FETB__##e)
#define BFM_USBCTRL_ENDPTFLUSH_FETB_V(v)    BM_USBCTRL_ENDPTFLUSH_FETB
#define BP_USBCTRL_ENDPTFLUSH_RSVD0         5
#define BM_USBCTRL_ENDPTFLUSH_RSVD0         0xffe0
#define BF_USBCTRL_ENDPTFLUSH_RSVD0(v)      (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTFLUSH_RSVD0(v)     BM_USBCTRL_ENDPTFLUSH_RSVD0
#define BF_USBCTRL_ENDPTFLUSH_RSVD0_V(e)    BF_USBCTRL_ENDPTFLUSH_RSVD0(BV_USBCTRL_ENDPTFLUSH_RSVD0__##e)
#define BFM_USBCTRL_ENDPTFLUSH_RSVD0_V(v)   BM_USBCTRL_ENDPTFLUSH_RSVD0
#define BP_USBCTRL_ENDPTFLUSH_FERB          0
#define BM_USBCTRL_ENDPTFLUSH_FERB          0x1f
#define BF_USBCTRL_ENDPTFLUSH_FERB(v)       (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTFLUSH_FERB(v)      BM_USBCTRL_ENDPTFLUSH_FERB
#define BF_USBCTRL_ENDPTFLUSH_FERB_V(e)     BF_USBCTRL_ENDPTFLUSH_FERB(BV_USBCTRL_ENDPTFLUSH_FERB__##e)
#define BFM_USBCTRL_ENDPTFLUSH_FERB_V(v)    BM_USBCTRL_ENDPTFLUSH_FERB

#define HW_USBCTRL_ENDPTSTAT                HW(USBCTRL_ENDPTSTAT)
#define HWA_USBCTRL_ENDPTSTAT               (0x80080000 + 0x1b8)
#define HWT_USBCTRL_ENDPTSTAT               HWIO_32_RW
#define HWN_USBCTRL_ENDPTSTAT               USBCTRL_ENDPTSTAT
#define HWI_USBCTRL_ENDPTSTAT               
#define BP_USBCTRL_ENDPTSTAT_RSVD1          21
#define BM_USBCTRL_ENDPTSTAT_RSVD1          0xffe00000
#define BF_USBCTRL_ENDPTSTAT_RSVD1(v)       (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTSTAT_RSVD1(v)      BM_USBCTRL_ENDPTSTAT_RSVD1
#define BF_USBCTRL_ENDPTSTAT_RSVD1_V(e)     BF_USBCTRL_ENDPTSTAT_RSVD1(BV_USBCTRL_ENDPTSTAT_RSVD1__##e)
#define BFM_USBCTRL_ENDPTSTAT_RSVD1_V(v)    BM_USBCTRL_ENDPTSTAT_RSVD1
#define BP_USBCTRL_ENDPTSTAT_ETBR           16
#define BM_USBCTRL_ENDPTSTAT_ETBR           0x1f0000
#define BF_USBCTRL_ENDPTSTAT_ETBR(v)        (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTSTAT_ETBR(v)       BM_USBCTRL_ENDPTSTAT_ETBR
#define BF_USBCTRL_ENDPTSTAT_ETBR_V(e)      BF_USBCTRL_ENDPTSTAT_ETBR(BV_USBCTRL_ENDPTSTAT_ETBR__##e)
#define BFM_USBCTRL_ENDPTSTAT_ETBR_V(v)     BM_USBCTRL_ENDPTSTAT_ETBR
#define BP_USBCTRL_ENDPTSTAT_RSVD0          5
#define BM_USBCTRL_ENDPTSTAT_RSVD0          0xffe0
#define BF_USBCTRL_ENDPTSTAT_RSVD0(v)       (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTSTAT_RSVD0(v)      BM_USBCTRL_ENDPTSTAT_RSVD0
#define BF_USBCTRL_ENDPTSTAT_RSVD0_V(e)     BF_USBCTRL_ENDPTSTAT_RSVD0(BV_USBCTRL_ENDPTSTAT_RSVD0__##e)
#define BFM_USBCTRL_ENDPTSTAT_RSVD0_V(v)    BM_USBCTRL_ENDPTSTAT_RSVD0
#define BP_USBCTRL_ENDPTSTAT_ERBR           0
#define BM_USBCTRL_ENDPTSTAT_ERBR           0x1f
#define BF_USBCTRL_ENDPTSTAT_ERBR(v)        (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTSTAT_ERBR(v)       BM_USBCTRL_ENDPTSTAT_ERBR
#define BF_USBCTRL_ENDPTSTAT_ERBR_V(e)      BF_USBCTRL_ENDPTSTAT_ERBR(BV_USBCTRL_ENDPTSTAT_ERBR__##e)
#define BFM_USBCTRL_ENDPTSTAT_ERBR_V(v)     BM_USBCTRL_ENDPTSTAT_ERBR

#define HW_USBCTRL_ENDPTCOMPLETE                HW(USBCTRL_ENDPTCOMPLETE)
#define HWA_USBCTRL_ENDPTCOMPLETE               (0x80080000 + 0x1bc)
#define HWT_USBCTRL_ENDPTCOMPLETE               HWIO_32_RW
#define HWN_USBCTRL_ENDPTCOMPLETE               USBCTRL_ENDPTCOMPLETE
#define HWI_USBCTRL_ENDPTCOMPLETE               
#define BP_USBCTRL_ENDPTCOMPLETE_RSVD1          21
#define BM_USBCTRL_ENDPTCOMPLETE_RSVD1          0xffe00000
#define BF_USBCTRL_ENDPTCOMPLETE_RSVD1(v)       (((v) & 0x7ff) << 21)
#define BFM_USBCTRL_ENDPTCOMPLETE_RSVD1(v)      BM_USBCTRL_ENDPTCOMPLETE_RSVD1
#define BF_USBCTRL_ENDPTCOMPLETE_RSVD1_V(e)     BF_USBCTRL_ENDPTCOMPLETE_RSVD1(BV_USBCTRL_ENDPTCOMPLETE_RSVD1__##e)
#define BFM_USBCTRL_ENDPTCOMPLETE_RSVD1_V(v)    BM_USBCTRL_ENDPTCOMPLETE_RSVD1
#define BP_USBCTRL_ENDPTCOMPLETE_ETCE           16
#define BM_USBCTRL_ENDPTCOMPLETE_ETCE           0x1f0000
#define BF_USBCTRL_ENDPTCOMPLETE_ETCE(v)        (((v) & 0x1f) << 16)
#define BFM_USBCTRL_ENDPTCOMPLETE_ETCE(v)       BM_USBCTRL_ENDPTCOMPLETE_ETCE
#define BF_USBCTRL_ENDPTCOMPLETE_ETCE_V(e)      BF_USBCTRL_ENDPTCOMPLETE_ETCE(BV_USBCTRL_ENDPTCOMPLETE_ETCE__##e)
#define BFM_USBCTRL_ENDPTCOMPLETE_ETCE_V(v)     BM_USBCTRL_ENDPTCOMPLETE_ETCE
#define BP_USBCTRL_ENDPTCOMPLETE_RSVD0          5
#define BM_USBCTRL_ENDPTCOMPLETE_RSVD0          0xffe0
#define BF_USBCTRL_ENDPTCOMPLETE_RSVD0(v)       (((v) & 0x7ff) << 5)
#define BFM_USBCTRL_ENDPTCOMPLETE_RSVD0(v)      BM_USBCTRL_ENDPTCOMPLETE_RSVD0
#define BF_USBCTRL_ENDPTCOMPLETE_RSVD0_V(e)     BF_USBCTRL_ENDPTCOMPLETE_RSVD0(BV_USBCTRL_ENDPTCOMPLETE_RSVD0__##e)
#define BFM_USBCTRL_ENDPTCOMPLETE_RSVD0_V(v)    BM_USBCTRL_ENDPTCOMPLETE_RSVD0
#define BP_USBCTRL_ENDPTCOMPLETE_ERCE           0
#define BM_USBCTRL_ENDPTCOMPLETE_ERCE           0x1f
#define BF_USBCTRL_ENDPTCOMPLETE_ERCE(v)        (((v) & 0x1f) << 0)
#define BFM_USBCTRL_ENDPTCOMPLETE_ERCE(v)       BM_USBCTRL_ENDPTCOMPLETE_ERCE
#define BF_USBCTRL_ENDPTCOMPLETE_ERCE_V(e)      BF_USBCTRL_ENDPTCOMPLETE_ERCE(BV_USBCTRL_ENDPTCOMPLETE_ERCE__##e)
#define BFM_USBCTRL_ENDPTCOMPLETE_ERCE_V(v)     BM_USBCTRL_ENDPTCOMPLETE_ERCE

#define HW_USBCTRL_ENDPTCTRLn(_n1)          HW(USBCTRL_ENDPTCTRLn(_n1))
#define HWA_USBCTRL_ENDPTCTRLn(_n1)         (0x80080000 + 0x1c0 + (_n1) * 0x4)
#define HWT_USBCTRL_ENDPTCTRLn(_n1)         HWIO_32_RW
#define HWN_USBCTRL_ENDPTCTRLn(_n1)         USBCTRL_ENDPTCTRLn
#define HWI_USBCTRL_ENDPTCTRLn(_n1)         (_n1)
#define BP_USBCTRL_ENDPTCTRLn_RSVD6         24
#define BM_USBCTRL_ENDPTCTRLn_RSVD6         0xff000000
#define BF_USBCTRL_ENDPTCTRLn_RSVD6(v)      (((v) & 0xff) << 24)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD6(v)     BM_USBCTRL_ENDPTCTRLn_RSVD6
#define BF_USBCTRL_ENDPTCTRLn_RSVD6_V(e)    BF_USBCTRL_ENDPTCTRLn_RSVD6(BV_USBCTRL_ENDPTCTRLn_RSVD6__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD6_V(v)   BM_USBCTRL_ENDPTCTRLn_RSVD6
#define BP_USBCTRL_ENDPTCTRLn_TXE           23
#define BM_USBCTRL_ENDPTCTRLn_TXE           0x800000
#define BF_USBCTRL_ENDPTCTRLn_TXE(v)        (((v) & 0x1) << 23)
#define BFM_USBCTRL_ENDPTCTRLn_TXE(v)       BM_USBCTRL_ENDPTCTRLn_TXE
#define BF_USBCTRL_ENDPTCTRLn_TXE_V(e)      BF_USBCTRL_ENDPTCTRLn_TXE(BV_USBCTRL_ENDPTCTRLn_TXE__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXE_V(v)     BM_USBCTRL_ENDPTCTRLn_TXE
#define BP_USBCTRL_ENDPTCTRLn_TXR           22
#define BM_USBCTRL_ENDPTCTRLn_TXR           0x400000
#define BF_USBCTRL_ENDPTCTRLn_TXR(v)        (((v) & 0x1) << 22)
#define BFM_USBCTRL_ENDPTCTRLn_TXR(v)       BM_USBCTRL_ENDPTCTRLn_TXR
#define BF_USBCTRL_ENDPTCTRLn_TXR_V(e)      BF_USBCTRL_ENDPTCTRLn_TXR(BV_USBCTRL_ENDPTCTRLn_TXR__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXR_V(v)     BM_USBCTRL_ENDPTCTRLn_TXR
#define BP_USBCTRL_ENDPTCTRLn_TXI           21
#define BM_USBCTRL_ENDPTCTRLn_TXI           0x200000
#define BF_USBCTRL_ENDPTCTRLn_TXI(v)        (((v) & 0x1) << 21)
#define BFM_USBCTRL_ENDPTCTRLn_TXI(v)       BM_USBCTRL_ENDPTCTRLn_TXI
#define BF_USBCTRL_ENDPTCTRLn_TXI_V(e)      BF_USBCTRL_ENDPTCTRLn_TXI(BV_USBCTRL_ENDPTCTRLn_TXI__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXI_V(v)     BM_USBCTRL_ENDPTCTRLn_TXI
#define BP_USBCTRL_ENDPTCTRLn_RSVD5         20
#define BM_USBCTRL_ENDPTCTRLn_RSVD5         0x100000
#define BF_USBCTRL_ENDPTCTRLn_RSVD5(v)      (((v) & 0x1) << 20)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD5(v)     BM_USBCTRL_ENDPTCTRLn_RSVD5
#define BF_USBCTRL_ENDPTCTRLn_RSVD5_V(e)    BF_USBCTRL_ENDPTCTRLn_RSVD5(BV_USBCTRL_ENDPTCTRLn_RSVD5__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD5_V(v)   BM_USBCTRL_ENDPTCTRLn_RSVD5
#define BP_USBCTRL_ENDPTCTRLn_TXT           18
#define BM_USBCTRL_ENDPTCTRLn_TXT           0xc0000
#define BV_USBCTRL_ENDPTCTRLn_TXT__CONTROL  0x0
#define BV_USBCTRL_ENDPTCTRLn_TXT__ISO      0x1
#define BV_USBCTRL_ENDPTCTRLn_TXT__BULK     0x2
#define BV_USBCTRL_ENDPTCTRLn_TXT__INT      0x3
#define BF_USBCTRL_ENDPTCTRLn_TXT(v)        (((v) & 0x3) << 18)
#define BFM_USBCTRL_ENDPTCTRLn_TXT(v)       BM_USBCTRL_ENDPTCTRLn_TXT
#define BF_USBCTRL_ENDPTCTRLn_TXT_V(e)      BF_USBCTRL_ENDPTCTRLn_TXT(BV_USBCTRL_ENDPTCTRLn_TXT__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXT_V(v)     BM_USBCTRL_ENDPTCTRLn_TXT
#define BP_USBCTRL_ENDPTCTRLn_TXD           17
#define BM_USBCTRL_ENDPTCTRLn_TXD           0x20000
#define BF_USBCTRL_ENDPTCTRLn_TXD(v)        (((v) & 0x1) << 17)
#define BFM_USBCTRL_ENDPTCTRLn_TXD(v)       BM_USBCTRL_ENDPTCTRLn_TXD
#define BF_USBCTRL_ENDPTCTRLn_TXD_V(e)      BF_USBCTRL_ENDPTCTRLn_TXD(BV_USBCTRL_ENDPTCTRLn_TXD__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXD_V(v)     BM_USBCTRL_ENDPTCTRLn_TXD
#define BP_USBCTRL_ENDPTCTRLn_TXS           16
#define BM_USBCTRL_ENDPTCTRLn_TXS           0x10000
#define BF_USBCTRL_ENDPTCTRLn_TXS(v)        (((v) & 0x1) << 16)
#define BFM_USBCTRL_ENDPTCTRLn_TXS(v)       BM_USBCTRL_ENDPTCTRLn_TXS
#define BF_USBCTRL_ENDPTCTRLn_TXS_V(e)      BF_USBCTRL_ENDPTCTRLn_TXS(BV_USBCTRL_ENDPTCTRLn_TXS__##e)
#define BFM_USBCTRL_ENDPTCTRLn_TXS_V(v)     BM_USBCTRL_ENDPTCTRLn_TXS
#define BP_USBCTRL_ENDPTCTRLn_RSVD3         8
#define BM_USBCTRL_ENDPTCTRLn_RSVD3         0xff00
#define BF_USBCTRL_ENDPTCTRLn_RSVD3(v)      (((v) & 0xff) << 8)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD3(v)     BM_USBCTRL_ENDPTCTRLn_RSVD3
#define BF_USBCTRL_ENDPTCTRLn_RSVD3_V(e)    BF_USBCTRL_ENDPTCTRLn_RSVD3(BV_USBCTRL_ENDPTCTRLn_RSVD3__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD3_V(v)   BM_USBCTRL_ENDPTCTRLn_RSVD3
#define BP_USBCTRL_ENDPTCTRLn_RXE           7
#define BM_USBCTRL_ENDPTCTRLn_RXE           0x80
#define BF_USBCTRL_ENDPTCTRLn_RXE(v)        (((v) & 0x1) << 7)
#define BFM_USBCTRL_ENDPTCTRLn_RXE(v)       BM_USBCTRL_ENDPTCTRLn_RXE
#define BF_USBCTRL_ENDPTCTRLn_RXE_V(e)      BF_USBCTRL_ENDPTCTRLn_RXE(BV_USBCTRL_ENDPTCTRLn_RXE__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXE_V(v)     BM_USBCTRL_ENDPTCTRLn_RXE
#define BP_USBCTRL_ENDPTCTRLn_RXR           6
#define BM_USBCTRL_ENDPTCTRLn_RXR           0x40
#define BF_USBCTRL_ENDPTCTRLn_RXR(v)        (((v) & 0x1) << 6)
#define BFM_USBCTRL_ENDPTCTRLn_RXR(v)       BM_USBCTRL_ENDPTCTRLn_RXR
#define BF_USBCTRL_ENDPTCTRLn_RXR_V(e)      BF_USBCTRL_ENDPTCTRLn_RXR(BV_USBCTRL_ENDPTCTRLn_RXR__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXR_V(v)     BM_USBCTRL_ENDPTCTRLn_RXR
#define BP_USBCTRL_ENDPTCTRLn_RXI           5
#define BM_USBCTRL_ENDPTCTRLn_RXI           0x20
#define BF_USBCTRL_ENDPTCTRLn_RXI(v)        (((v) & 0x1) << 5)
#define BFM_USBCTRL_ENDPTCTRLn_RXI(v)       BM_USBCTRL_ENDPTCTRLn_RXI
#define BF_USBCTRL_ENDPTCTRLn_RXI_V(e)      BF_USBCTRL_ENDPTCTRLn_RXI(BV_USBCTRL_ENDPTCTRLn_RXI__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXI_V(v)     BM_USBCTRL_ENDPTCTRLn_RXI
#define BP_USBCTRL_ENDPTCTRLn_RSVD2         4
#define BM_USBCTRL_ENDPTCTRLn_RSVD2         0x10
#define BF_USBCTRL_ENDPTCTRLn_RSVD2(v)      (((v) & 0x1) << 4)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD2(v)     BM_USBCTRL_ENDPTCTRLn_RSVD2
#define BF_USBCTRL_ENDPTCTRLn_RSVD2_V(e)    BF_USBCTRL_ENDPTCTRLn_RSVD2(BV_USBCTRL_ENDPTCTRLn_RSVD2__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RSVD2_V(v)   BM_USBCTRL_ENDPTCTRLn_RSVD2
#define BP_USBCTRL_ENDPTCTRLn_RXT           2
#define BM_USBCTRL_ENDPTCTRLn_RXT           0xc
#define BV_USBCTRL_ENDPTCTRLn_RXT__CONTROL  0x0
#define BV_USBCTRL_ENDPTCTRLn_RXT__ISO      0x1
#define BV_USBCTRL_ENDPTCTRLn_RXT__BULK     0x2
#define BV_USBCTRL_ENDPTCTRLn_RXT__INT      0x3
#define BF_USBCTRL_ENDPTCTRLn_RXT(v)        (((v) & 0x3) << 2)
#define BFM_USBCTRL_ENDPTCTRLn_RXT(v)       BM_USBCTRL_ENDPTCTRLn_RXT
#define BF_USBCTRL_ENDPTCTRLn_RXT_V(e)      BF_USBCTRL_ENDPTCTRLn_RXT(BV_USBCTRL_ENDPTCTRLn_RXT__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXT_V(v)     BM_USBCTRL_ENDPTCTRLn_RXT
#define BP_USBCTRL_ENDPTCTRLn_RXD           1
#define BM_USBCTRL_ENDPTCTRLn_RXD           0x2
#define BF_USBCTRL_ENDPTCTRLn_RXD(v)        (((v) & 0x1) << 1)
#define BFM_USBCTRL_ENDPTCTRLn_RXD(v)       BM_USBCTRL_ENDPTCTRLn_RXD
#define BF_USBCTRL_ENDPTCTRLn_RXD_V(e)      BF_USBCTRL_ENDPTCTRLn_RXD(BV_USBCTRL_ENDPTCTRLn_RXD__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXD_V(v)     BM_USBCTRL_ENDPTCTRLn_RXD
#define BP_USBCTRL_ENDPTCTRLn_RXS           0
#define BM_USBCTRL_ENDPTCTRLn_RXS           0x1
#define BF_USBCTRL_ENDPTCTRLn_RXS(v)        (((v) & 0x1) << 0)
#define BFM_USBCTRL_ENDPTCTRLn_RXS(v)       BM_USBCTRL_ENDPTCTRLn_RXS
#define BF_USBCTRL_ENDPTCTRLn_RXS_V(e)      BF_USBCTRL_ENDPTCTRLn_RXS(BV_USBCTRL_ENDPTCTRLn_RXS__##e)
#define BFM_USBCTRL_ENDPTCTRLn_RXS_V(v)     BM_USBCTRL_ENDPTCTRLn_RXS

#endif /* __HEADERGEN_IMX233_USBCTRL_H__*/
