/***************************************************************************
 *             __________               __   ___.
 *   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_USBPHY_H__
#define __HEADERGEN_IMX233_USBPHY_H__

#define HW_USBPHY_PWD                   HW(USBPHY_PWD)
#define HWA_USBPHY_PWD                  (0x8007c000 + 0x0)
#define HWT_USBPHY_PWD                  HWIO_32_RW
#define HWN_USBPHY_PWD                  USBPHY_PWD
#define HWI_USBPHY_PWD                  
#define HW_USBPHY_PWD_SET               HW(USBPHY_PWD_SET)
#define HWA_USBPHY_PWD_SET              (HWA_USBPHY_PWD + 0x4)
#define HWT_USBPHY_PWD_SET              HWIO_32_WO
#define HWN_USBPHY_PWD_SET              USBPHY_PWD
#define HWI_USBPHY_PWD_SET              
#define HW_USBPHY_PWD_CLR               HW(USBPHY_PWD_CLR)
#define HWA_USBPHY_PWD_CLR              (HWA_USBPHY_PWD + 0x8)
#define HWT_USBPHY_PWD_CLR              HWIO_32_WO
#define HWN_USBPHY_PWD_CLR              USBPHY_PWD
#define HWI_USBPHY_PWD_CLR              
#define HW_USBPHY_PWD_TOG               HW(USBPHY_PWD_TOG)
#define HWA_USBPHY_PWD_TOG              (HWA_USBPHY_PWD + 0xc)
#define HWT_USBPHY_PWD_TOG              HWIO_32_WO
#define HWN_USBPHY_PWD_TOG              USBPHY_PWD
#define HWI_USBPHY_PWD_TOG              
#define BP_USBPHY_PWD_RSVD2             21
#define BM_USBPHY_PWD_RSVD2             0xffe00000
#define BF_USBPHY_PWD_RSVD2(v)          (((v) & 0x7ff) << 21)
#define BFM_USBPHY_PWD_RSVD2(v)         BM_USBPHY_PWD_RSVD2
#define BF_USBPHY_PWD_RSVD2_V(e)        BF_USBPHY_PWD_RSVD2(BV_USBPHY_PWD_RSVD2__##e)
#define BFM_USBPHY_PWD_RSVD2_V(v)       BM_USBPHY_PWD_RSVD2
#define BP_USBPHY_PWD_RXPWDRX           20
#define BM_USBPHY_PWD_RXPWDRX           0x100000
#define BF_USBPHY_PWD_RXPWDRX(v)        (((v) & 0x1) << 20)
#define BFM_USBPHY_PWD_RXPWDRX(v)       BM_USBPHY_PWD_RXPWDRX
#define BF_USBPHY_PWD_RXPWDRX_V(e)      BF_USBPHY_PWD_RXPWDRX(BV_USBPHY_PWD_RXPWDRX__##e)
#define BFM_USBPHY_PWD_RXPWDRX_V(v)     BM_USBPHY_PWD_RXPWDRX
#define BP_USBPHY_PWD_RXPWDDIFF         19
#define BM_USBPHY_PWD_RXPWDDIFF         0x80000
#define BF_USBPHY_PWD_RXPWDDIFF(v)      (((v) & 0x1) << 19)
#define BFM_USBPHY_PWD_RXPWDDIFF(v)     BM_USBPHY_PWD_RXPWDDIFF
#define BF_USBPHY_PWD_RXPWDDIFF_V(e)    BF_USBPHY_PWD_RXPWDDIFF(BV_USBPHY_PWD_RXPWDDIFF__##e)
#define BFM_USBPHY_PWD_RXPWDDIFF_V(v)   BM_USBPHY_PWD_RXPWDDIFF
#define BP_USBPHY_PWD_RXPWD1PT1         18
#define BM_USBPHY_PWD_RXPWD1PT1         0x40000
#define BF_USBPHY_PWD_RXPWD1PT1(v)      (((v) & 0x1) << 18)
#define BFM_USBPHY_PWD_RXPWD1PT1(v)     BM_USBPHY_PWD_RXPWD1PT1
#define BF_USBPHY_PWD_RXPWD1PT1_V(e)    BF_USBPHY_PWD_RXPWD1PT1(BV_USBPHY_PWD_RXPWD1PT1__##e)
#define BFM_USBPHY_PWD_RXPWD1PT1_V(v)   BM_USBPHY_PWD_RXPWD1PT1
#define BP_USBPHY_PWD_RXPWDENV          17
#define BM_USBPHY_PWD_RXPWDENV          0x20000
#define BF_USBPHY_PWD_RXPWDENV(v)       (((v) & 0x1) << 17)
#define BFM_USBPHY_PWD_RXPWDENV(v)      BM_USBPHY_PWD_RXPWDENV
#define BF_USBPHY_PWD_RXPWDENV_V(e)     BF_USBPHY_PWD_RXPWDENV(BV_USBPHY_PWD_RXPWDENV__##e)
#define BFM_USBPHY_PWD_RXPWDENV_V(v)    BM_USBPHY_PWD_RXPWDENV
#define BP_USBPHY_PWD_RSVD1             13
#define BM_USBPHY_PWD_RSVD1             0x1e000
#define BF_USBPHY_PWD_RSVD1(v)          (((v) & 0xf) << 13)
#define BFM_USBPHY_PWD_RSVD1(v)         BM_USBPHY_PWD_RSVD1
#define BF_USBPHY_PWD_RSVD1_V(e)        BF_USBPHY_PWD_RSVD1(BV_USBPHY_PWD_RSVD1__##e)
#define BFM_USBPHY_PWD_RSVD1_V(v)       BM_USBPHY_PWD_RSVD1
#define BP_USBPHY_PWD_TXPWDV2I          12
#define BM_USBPHY_PWD_TXPWDV2I          0x1000
#define BF_USBPHY_PWD_TXPWDV2I(v)       (((v) & 0x1) << 12)
#define BFM_USBPHY_PWD_TXPWDV2I(v)      BM_USBPHY_PWD_TXPWDV2I
#define BF_USBPHY_PWD_TXPWDV2I_V(e)     BF_USBPHY_PWD_TXPWDV2I(BV_USBPHY_PWD_TXPWDV2I__##e)
#define BFM_USBPHY_PWD_TXPWDV2I_V(v)    BM_USBPHY_PWD_TXPWDV2I
#define BP_USBPHY_PWD_TXPWDIBIAS        11
#define BM_USBPHY_PWD_TXPWDIBIAS        0x800
#define BF_USBPHY_PWD_TXPWDIBIAS(v)     (((v) & 0x1) << 11)
#define BFM_USBPHY_PWD_TXPWDIBIAS(v)    BM_USBPHY_PWD_TXPWDIBIAS
#define BF_USBPHY_PWD_TXPWDIBIAS_V(e)   BF_USBPHY_PWD_TXPWDIBIAS(BV_USBPHY_PWD_TXPWDIBIAS__##e)
#define BFM_USBPHY_PWD_TXPWDIBIAS_V(v)  BM_USBPHY_PWD_TXPWDIBIAS
#define BP_USBPHY_PWD_TXPWDFS           10
#define BM_USBPHY_PWD_TXPWDFS           0x400
#define BF_USBPHY_PWD_TXPWDFS(v)        (((v) & 0x1) << 10)
#define BFM_USBPHY_PWD_TXPWDFS(v)       BM_USBPHY_PWD_TXPWDFS
#define BF_USBPHY_PWD_TXPWDFS_V(e)      BF_USBPHY_PWD_TXPWDFS(BV_USBPHY_PWD_TXPWDFS__##e)
#define BFM_USBPHY_PWD_TXPWDFS_V(v)     BM_USBPHY_PWD_TXPWDFS
#define BP_USBPHY_PWD_RSVD0             0
#define BM_USBPHY_PWD_RSVD0             0x3ff
#define BF_USBPHY_PWD_RSVD0(v)          (((v) & 0x3ff) << 0)
#define BFM_USBPHY_PWD_RSVD0(v)         BM_USBPHY_PWD_RSVD0
#define BF_USBPHY_PWD_RSVD0_V(e)        BF_USBPHY_PWD_RSVD0(BV_USBPHY_PWD_RSVD0__##e)
#define BFM_USBPHY_PWD_RSVD0_V(v)       BM_USBPHY_PWD_RSVD0

#define HW_USBPHY_TX                                HW(USBPHY_TX)
#define HWA_USBPHY_TX                               (0x8007c000 + 0x10)
#define HWT_USBPHY_TX                               HWIO_32_RW
#define HWN_USBPHY_TX                               USBPHY_TX
#define HWI_USBPHY_TX                               
#define HW_USBPHY_TX_SET                            HW(USBPHY_TX_SET)
#define HWA_USBPHY_TX_SET                           (HWA_USBPHY_TX + 0x4)
#define HWT_USBPHY_TX_SET                           HWIO_32_WO
#define HWN_USBPHY_TX_SET                           USBPHY_TX
#define HWI_USBPHY_TX_SET                           
#define HW_USBPHY_TX_CLR                            HW(USBPHY_TX_CLR)
#define HWA_USBPHY_TX_CLR                           (HWA_USBPHY_TX + 0x8)
#define HWT_USBPHY_TX_CLR                           HWIO_32_WO
#define HWN_USBPHY_TX_CLR                           USBPHY_TX
#define HWI_USBPHY_TX_CLR                           
#define HW_USBPHY_TX_TOG                            HW(USBPHY_TX_TOG)
#define HWA_USBPHY_TX_TOG                           (HWA_USBPHY_TX + 0xc)
#define HWT_USBPHY_TX_TOG                           HWIO_32_WO
#define HWN_USBPHY_TX_TOG                           USBPHY_TX
#define HWI_USBPHY_TX_TOG                           
#define BP_USBPHY_TX_RSVD5                          29
#define BM_USBPHY_TX_RSVD5                          0xe0000000
#define BF_USBPHY_TX_RSVD5(v)                       (((v) & 0x7) << 29)
#define BFM_USBPHY_TX_RSVD5(v)                      BM_USBPHY_TX_RSVD5
#define BF_USBPHY_TX_RSVD5_V(e)                     BF_USBPHY_TX_RSVD5(BV_USBPHY_TX_RSVD5__##e)
#define BFM_USBPHY_TX_RSVD5_V(v)                    BM_USBPHY_TX_RSVD5
#define BP_USBPHY_TX_USBPHY_TX_EDGECTRL             26
#define BM_USBPHY_TX_USBPHY_TX_EDGECTRL             0x1c000000
#define BF_USBPHY_TX_USBPHY_TX_EDGECTRL(v)          (((v) & 0x7) << 26)
#define BFM_USBPHY_TX_USBPHY_TX_EDGECTRL(v)         BM_USBPHY_TX_USBPHY_TX_EDGECTRL
#define BF_USBPHY_TX_USBPHY_TX_EDGECTRL_V(e)        BF_USBPHY_TX_USBPHY_TX_EDGECTRL(BV_USBPHY_TX_USBPHY_TX_EDGECTRL__##e)
#define BFM_USBPHY_TX_USBPHY_TX_EDGECTRL_V(v)       BM_USBPHY_TX_USBPHY_TX_EDGECTRL
#define BP_USBPHY_TX_USBPHY_TX_SYNC_INVERT          25
#define BM_USBPHY_TX_USBPHY_TX_SYNC_INVERT          0x2000000
#define BF_USBPHY_TX_USBPHY_TX_SYNC_INVERT(v)       (((v) & 0x1) << 25)
#define BFM_USBPHY_TX_USBPHY_TX_SYNC_INVERT(v)      BM_USBPHY_TX_USBPHY_TX_SYNC_INVERT
#define BF_USBPHY_TX_USBPHY_TX_SYNC_INVERT_V(e)     BF_USBPHY_TX_USBPHY_TX_SYNC_INVERT(BV_USBPHY_TX_USBPHY_TX_SYNC_INVERT__##e)
#define BFM_USBPHY_TX_USBPHY_TX_SYNC_INVERT_V(v)    BM_USBPHY_TX_USBPHY_TX_SYNC_INVERT
#define BP_USBPHY_TX_USBPHY_TX_SYNC_MUX             24
#define BM_USBPHY_TX_USBPHY_TX_SYNC_MUX             0x1000000
#define BF_USBPHY_TX_USBPHY_TX_SYNC_MUX(v)          (((v) & 0x1) << 24)
#define BFM_USBPHY_TX_USBPHY_TX_SYNC_MUX(v)         BM_USBPHY_TX_USBPHY_TX_SYNC_MUX
#define BF_USBPHY_TX_USBPHY_TX_SYNC_MUX_V(e)        BF_USBPHY_TX_USBPHY_TX_SYNC_MUX(BV_USBPHY_TX_USBPHY_TX_SYNC_MUX__##e)
#define BFM_USBPHY_TX_USBPHY_TX_SYNC_MUX_V(v)       BM_USBPHY_TX_USBPHY_TX_SYNC_MUX
#define BP_USBPHY_TX_RSVD4                          22
#define BM_USBPHY_TX_RSVD4                          0xc00000
#define BF_USBPHY_TX_RSVD4(v)                       (((v) & 0x3) << 22)
#define BFM_USBPHY_TX_RSVD4(v)                      BM_USBPHY_TX_RSVD4
#define BF_USBPHY_TX_RSVD4_V(e)                     BF_USBPHY_TX_RSVD4(BV_USBPHY_TX_RSVD4__##e)
#define BFM_USBPHY_TX_RSVD4_V(v)                    BM_USBPHY_TX_RSVD4
#define BP_USBPHY_TX_TXENCAL45DP                    21
#define BM_USBPHY_TX_TXENCAL45DP                    0x200000
#define BF_USBPHY_TX_TXENCAL45DP(v)                 (((v) & 0x1) << 21)
#define BFM_USBPHY_TX_TXENCAL45DP(v)                BM_USBPHY_TX_TXENCAL45DP
#define BF_USBPHY_TX_TXENCAL45DP_V(e)               BF_USBPHY_TX_TXENCAL45DP(BV_USBPHY_TX_TXENCAL45DP__##e)
#define BFM_USBPHY_TX_TXENCAL45DP_V(v)              BM_USBPHY_TX_TXENCAL45DP
#define BP_USBPHY_TX_RSVD3                          20
#define BM_USBPHY_TX_RSVD3                          0x100000
#define BF_USBPHY_TX_RSVD3(v)                       (((v) & 0x1) << 20)
#define BFM_USBPHY_TX_RSVD3(v)                      BM_USBPHY_TX_RSVD3
#define BF_USBPHY_TX_RSVD3_V(e)                     BF_USBPHY_TX_RSVD3(BV_USBPHY_TX_RSVD3__##e)
#define BFM_USBPHY_TX_RSVD3_V(v)                    BM_USBPHY_TX_RSVD3
#define BP_USBPHY_TX_TXCAL45DP                      16
#define BM_USBPHY_TX_TXCAL45DP                      0xf0000
#define BF_USBPHY_TX_TXCAL45DP(v)                   (((v) & 0xf) << 16)
#define BFM_USBPHY_TX_TXCAL45DP(v)                  BM_USBPHY_TX_TXCAL45DP
#define BF_USBPHY_TX_TXCAL45DP_V(e)                 BF_USBPHY_TX_TXCAL45DP(BV_USBPHY_TX_TXCAL45DP__##e)
#define BFM_USBPHY_TX_TXCAL45DP_V(v)                BM_USBPHY_TX_TXCAL45DP
#define BP_USBPHY_TX_RSVD2                          14
#define BM_USBPHY_TX_RSVD2                          0xc000
#define BF_USBPHY_TX_RSVD2(v)                       (((v) & 0x3) << 14)
#define BFM_USBPHY_TX_RSVD2(v)                      BM_USBPHY_TX_RSVD2
#define BF_USBPHY_TX_RSVD2_V(e)                     BF_USBPHY_TX_RSVD2(BV_USBPHY_TX_RSVD2__##e)
#define BFM_USBPHY_TX_RSVD2_V(v)                    BM_USBPHY_TX_RSVD2
#define BP_USBPHY_TX_TXENCAL45DN                    13
#define BM_USBPHY_TX_TXENCAL45DN                    0x2000
#define BF_USBPHY_TX_TXENCAL45DN(v)                 (((v) & 0x1) << 13)
#define BFM_USBPHY_TX_TXENCAL45DN(v)                BM_USBPHY_TX_TXENCAL45DN
#define BF_USBPHY_TX_TXENCAL45DN_V(e)               BF_USBPHY_TX_TXENCAL45DN(BV_USBPHY_TX_TXENCAL45DN__##e)
#define BFM_USBPHY_TX_TXENCAL45DN_V(v)              BM_USBPHY_TX_TXENCAL45DN
#define BP_USBPHY_TX_RSVD1                          12
#define BM_USBPHY_TX_RSVD1                          0x1000
#define BF_USBPHY_TX_RSVD1(v)                       (((v) & 0x1) << 12)
#define BFM_USBPHY_TX_RSVD1(v)                      BM_USBPHY_TX_RSVD1
#define BF_USBPHY_TX_RSVD1_V(e)                     BF_USBPHY_TX_RSVD1(BV_USBPHY_TX_RSVD1__##e)
#define BFM_USBPHY_TX_RSVD1_V(v)                    BM_USBPHY_TX_RSVD1
#define BP_USBPHY_TX_TXCAL45DN                      8
#define BM_USBPHY_TX_TXCAL45DN                      0xf00
#define BF_USBPHY_TX_TXCAL45DN(v)                   (((v) & 0xf) << 8)
#define BFM_USBPHY_TX_TXCAL45DN(v)                  BM_USBPHY_TX_TXCAL45DN
#define BF_USBPHY_TX_TXCAL45DN_V(e)                 BF_USBPHY_TX_TXCAL45DN(BV_USBPHY_TX_TXCAL45DN__##e)
#define BFM_USBPHY_TX_TXCAL45DN_V(v)                BM_USBPHY_TX_TXCAL45DN
#define BP_USBPHY_TX_RSVD0                          4
#define BM_USBPHY_TX_RSVD0                          0xf0
#define BF_USBPHY_TX_RSVD0(v)                       (((v) & 0xf) << 4)
#define BFM_USBPHY_TX_RSVD0(v)                      BM_USBPHY_TX_RSVD0
#define BF_USBPHY_TX_RSVD0_V(e)                     BF_USBPHY_TX_RSVD0(BV_USBPHY_TX_RSVD0__##e)
#define BFM_USBPHY_TX_RSVD0_V(v)                    BM_USBPHY_TX_RSVD0
#define BP_USBPHY_TX_D_CAL                          0
#define BM_USBPHY_TX_D_CAL                          0xf
#define BF_USBPHY_TX_D_CAL(v)                       (((v) & 0xf) << 0)
#define BFM_USBPHY_TX_D_CAL(v)                      BM_USBPHY_TX_D_CAL
#define BF_USBPHY_TX_D_CAL_V(e)                     BF_USBPHY_TX_D_CAL(BV_USBPHY_TX_D_CAL__##e)
#define BFM_USBPHY_TX_D_CAL_V(v)                    BM_USBPHY_TX_D_CAL

#define HW_USBPHY_RX                    HW(USBPHY_RX)
#define HWA_USBPHY_RX                   (0x8007c000 + 0x20)
#define HWT_USBPHY_RX                   HWIO_32_RW
#define HWN_USBPHY_RX                   USBPHY_RX
#define HWI_USBPHY_RX                   
#define HW_USBPHY_RX_SET                HW(USBPHY_RX_SET)
#define HWA_USBPHY_RX_SET               (HWA_USBPHY_RX + 0x4)
#define HWT_USBPHY_RX_SET               HWIO_32_WO
#define HWN_USBPHY_RX_SET               USBPHY_RX
#define HWI_USBPHY_RX_SET               
#define HW_USBPHY_RX_CLR                HW(USBPHY_RX_CLR)
#define HWA_USBPHY_RX_CLR               (HWA_USBPHY_RX + 0x8)
#define HWT_USBPHY_RX_CLR               HWIO_32_WO
#define HWN_USBPHY_RX_CLR               USBPHY_RX
#define HWI_USBPHY_RX_CLR               
#define HW_USBPHY_RX_TOG                HW(USBPHY_RX_TOG)
#define HWA_USBPHY_RX_TOG               (HWA_USBPHY_RX + 0xc)
#define HWT_USBPHY_RX_TOG               HWIO_32_WO
#define HWN_USBPHY_RX_TOG               USBPHY_RX
#define HWI_USBPHY_RX_TOG               
#define BP_USBPHY_RX_RSVD2              23
#define BM_USBPHY_RX_RSVD2              0xff800000
#define BF_USBPHY_RX_RSVD2(v)           (((v) & 0x1ff) << 23)
#define BFM_USBPHY_RX_RSVD2(v)          BM_USBPHY_RX_RSVD2
#define BF_USBPHY_RX_RSVD2_V(e)         BF_USBPHY_RX_RSVD2(BV_USBPHY_RX_RSVD2__##e)
#define BFM_USBPHY_RX_RSVD2_V(v)        BM_USBPHY_RX_RSVD2
#define BP_USBPHY_RX_RXDBYPASS          22
#define BM_USBPHY_RX_RXDBYPASS          0x400000
#define BF_USBPHY_RX_RXDBYPASS(v)       (((v) & 0x1) << 22)
#define BFM_USBPHY_RX_RXDBYPASS(v)      BM_USBPHY_RX_RXDBYPASS
#define BF_USBPHY_RX_RXDBYPASS_V(e)     BF_USBPHY_RX_RXDBYPASS(BV_USBPHY_RX_RXDBYPASS__##e)
#define BFM_USBPHY_RX_RXDBYPASS_V(v)    BM_USBPHY_RX_RXDBYPASS
#define BP_USBPHY_RX_RSVD1              7
#define BM_USBPHY_RX_RSVD1              0x3fff80
#define BF_USBPHY_RX_RSVD1(v)           (((v) & 0x7fff) << 7)
#define BFM_USBPHY_RX_RSVD1(v)          BM_USBPHY_RX_RSVD1
#define BF_USBPHY_RX_RSVD1_V(e)         BF_USBPHY_RX_RSVD1(BV_USBPHY_RX_RSVD1__##e)
#define BFM_USBPHY_RX_RSVD1_V(v)        BM_USBPHY_RX_RSVD1
#define BP_USBPHY_RX_DISCONADJ          4
#define BM_USBPHY_RX_DISCONADJ          0x70
#define BF_USBPHY_RX_DISCONADJ(v)       (((v) & 0x7) << 4)
#define BFM_USBPHY_RX_DISCONADJ(v)      BM_USBPHY_RX_DISCONADJ
#define BF_USBPHY_RX_DISCONADJ_V(e)     BF_USBPHY_RX_DISCONADJ(BV_USBPHY_RX_DISCONADJ__##e)
#define BFM_USBPHY_RX_DISCONADJ_V(v)    BM_USBPHY_RX_DISCONADJ
#define BP_USBPHY_RX_RSVD0              3
#define BM_USBPHY_RX_RSVD0              0x8
#define BF_USBPHY_RX_RSVD0(v)           (((v) & 0x1) << 3)
#define BFM_USBPHY_RX_RSVD0(v)          BM_USBPHY_RX_RSVD0
#define BF_USBPHY_RX_RSVD0_V(e)         BF_USBPHY_RX_RSVD0(BV_USBPHY_RX_RSVD0__##e)
#define BFM_USBPHY_RX_RSVD0_V(v)        BM_USBPHY_RX_RSVD0
#define BP_USBPHY_RX_ENVADJ             0
#define BM_USBPHY_RX_ENVADJ             0x7
#define BF_USBPHY_RX_ENVADJ(v)          (((v) & 0x7) << 0)
#define BFM_USBPHY_RX_ENVADJ(v)         BM_USBPHY_RX_ENVADJ
#define BF_USBPHY_RX_ENVADJ_V(e)        BF_USBPHY_RX_ENVADJ(BV_USBPHY_RX_ENVADJ__##e)
#define BFM_USBPHY_RX_ENVADJ_V(v)       BM_USBPHY_RX_ENVADJ

#define HW_USBPHY_CTRL                              HW(USBPHY_CTRL)
#define HWA_USBPHY_CTRL                             (0x8007c000 + 0x30)
#define HWT_USBPHY_CTRL                             HWIO_32_RW
#define HWN_USBPHY_CTRL                             USBPHY_CTRL
#define HWI_USBPHY_CTRL                             
#define HW_USBPHY_CTRL_SET                          HW(USBPHY_CTRL_SET)
#define HWA_USBPHY_CTRL_SET                         (HWA_USBPHY_CTRL + 0x4)
#define HWT_USBPHY_CTRL_SET                         HWIO_32_WO
#define HWN_USBPHY_CTRL_SET                         USBPHY_CTRL
#define HWI_USBPHY_CTRL_SET                         
#define HW_USBPHY_CTRL_CLR                          HW(USBPHY_CTRL_CLR)
#define HWA_USBPHY_CTRL_CLR                         (HWA_USBPHY_CTRL + 0x8)
#define HWT_USBPHY_CTRL_CLR                         HWIO_32_WO
#define HWN_USBPHY_CTRL_CLR                         USBPHY_CTRL
#define HWI_USBPHY_CTRL_CLR                         
#define HW_USBPHY_CTRL_TOG                          HW(USBPHY_CTRL_TOG)
#define HWA_USBPHY_CTRL_TOG                         (HWA_USBPHY_CTRL + 0xc)
#define HWT_USBPHY_CTRL_TOG                         HWIO_32_WO
#define HWN_USBPHY_CTRL_TOG                         USBPHY_CTRL
#define HWI_USBPHY_CTRL_TOG                         
#define BP_USBPHY_CTRL_SFTRST                       31
#define BM_USBPHY_CTRL_SFTRST                       0x80000000
#define BF_USBPHY_CTRL_SFTRST(v)                    (((v) & 0x1) << 31)
#define BFM_USBPHY_CTRL_SFTRST(v)                   BM_USBPHY_CTRL_SFTRST
#define BF_USBPHY_CTRL_SFTRST_V(e)                  BF_USBPHY_CTRL_SFTRST(BV_USBPHY_CTRL_SFTRST__##e)
#define BFM_USBPHY_CTRL_SFTRST_V(v)                 BM_USBPHY_CTRL_SFTRST
#define BP_USBPHY_CTRL_CLKGATE                      30
#define BM_USBPHY_CTRL_CLKGATE                      0x40000000
#define BF_USBPHY_CTRL_CLKGATE(v)                   (((v) & 0x1) << 30)
#define BFM_USBPHY_CTRL_CLKGATE(v)                  BM_USBPHY_CTRL_CLKGATE
#define BF_USBPHY_CTRL_CLKGATE_V(e)                 BF_USBPHY_CTRL_CLKGATE(BV_USBPHY_CTRL_CLKGATE__##e)
#define BFM_USBPHY_CTRL_CLKGATE_V(v)                BM_USBPHY_CTRL_CLKGATE
#define BP_USBPHY_CTRL_UTMI_SUSPENDM                29
#define BM_USBPHY_CTRL_UTMI_SUSPENDM                0x20000000
#define BF_USBPHY_CTRL_UTMI_SUSPENDM(v)             (((v) & 0x1) << 29)
#define BFM_USBPHY_CTRL_UTMI_SUSPENDM(v)            BM_USBPHY_CTRL_UTMI_SUSPENDM
#define BF_USBPHY_CTRL_UTMI_SUSPENDM_V(e)           BF_USBPHY_CTRL_UTMI_SUSPENDM(BV_USBPHY_CTRL_UTMI_SUSPENDM__##e)
#define BFM_USBPHY_CTRL_UTMI_SUSPENDM_V(v)          BM_USBPHY_CTRL_UTMI_SUSPENDM
#define BP_USBPHY_CTRL_HOST_FORCE_LS_SE0            28
#define BM_USBPHY_CTRL_HOST_FORCE_LS_SE0            0x10000000
#define BF_USBPHY_CTRL_HOST_FORCE_LS_SE0(v)         (((v) & 0x1) << 28)
#define BFM_USBPHY_CTRL_HOST_FORCE_LS_SE0(v)        BM_USBPHY_CTRL_HOST_FORCE_LS_SE0
#define BF_USBPHY_CTRL_HOST_FORCE_LS_SE0_V(e)       BF_USBPHY_CTRL_HOST_FORCE_LS_SE0(BV_USBPHY_CTRL_HOST_FORCE_LS_SE0__##e)
#define BFM_USBPHY_CTRL_HOST_FORCE_LS_SE0_V(v)      BM_USBPHY_CTRL_HOST_FORCE_LS_SE0
#define BP_USBPHY_CTRL_RSVD3                        14
#define BM_USBPHY_CTRL_RSVD3                        0xfffc000
#define BF_USBPHY_CTRL_RSVD3(v)                     (((v) & 0x3fff) << 14)
#define BFM_USBPHY_CTRL_RSVD3(v)                    BM_USBPHY_CTRL_RSVD3
#define BF_USBPHY_CTRL_RSVD3_V(e)                   BF_USBPHY_CTRL_RSVD3(BV_USBPHY_CTRL_RSVD3__##e)
#define BFM_USBPHY_CTRL_RSVD3_V(v)                  BM_USBPHY_CTRL_RSVD3
#define BP_USBPHY_CTRL_DATA_ON_LRADC                13
#define BM_USBPHY_CTRL_DATA_ON_LRADC                0x2000
#define BF_USBPHY_CTRL_DATA_ON_LRADC(v)             (((v) & 0x1) << 13)
#define BFM_USBPHY_CTRL_DATA_ON_LRADC(v)            BM_USBPHY_CTRL_DATA_ON_LRADC
#define BF_USBPHY_CTRL_DATA_ON_LRADC_V(e)           BF_USBPHY_CTRL_DATA_ON_LRADC(BV_USBPHY_CTRL_DATA_ON_LRADC__##e)
#define BFM_USBPHY_CTRL_DATA_ON_LRADC_V(v)          BM_USBPHY_CTRL_DATA_ON_LRADC
#define BP_USBPHY_CTRL_DEVPLUGIN_IRQ                12
#define BM_USBPHY_CTRL_DEVPLUGIN_IRQ                0x1000
#define BF_USBPHY_CTRL_DEVPLUGIN_IRQ(v)             (((v) & 0x1) << 12)
#define BFM_USBPHY_CTRL_DEVPLUGIN_IRQ(v)            BM_USBPHY_CTRL_DEVPLUGIN_IRQ
#define BF_USBPHY_CTRL_DEVPLUGIN_IRQ_V(e)           BF_USBPHY_CTRL_DEVPLUGIN_IRQ(BV_USBPHY_CTRL_DEVPLUGIN_IRQ__##e)
#define BFM_USBPHY_CTRL_DEVPLUGIN_IRQ_V(v)          BM_USBPHY_CTRL_DEVPLUGIN_IRQ
#define BP_USBPHY_CTRL_ENIRQDEVPLUGIN               11
#define BM_USBPHY_CTRL_ENIRQDEVPLUGIN               0x800
#define BF_USBPHY_CTRL_ENIRQDEVPLUGIN(v)            (((v) & 0x1) << 11)
#define BFM_USBPHY_CTRL_ENIRQDEVPLUGIN(v)           BM_USBPHY_CTRL_ENIRQDEVPLUGIN
#define BF_USBPHY_CTRL_ENIRQDEVPLUGIN_V(e)          BF_USBPHY_CTRL_ENIRQDEVPLUGIN(BV_USBPHY_CTRL_ENIRQDEVPLUGIN__##e)
#define BFM_USBPHY_CTRL_ENIRQDEVPLUGIN_V(v)         BM_USBPHY_CTRL_ENIRQDEVPLUGIN
#define BP_USBPHY_CTRL_RESUME_IRQ                   10
#define BM_USBPHY_CTRL_RESUME_IRQ                   0x400
#define BF_USBPHY_CTRL_RESUME_IRQ(v)                (((v) & 0x1) << 10)
#define BFM_USBPHY_CTRL_RESUME_IRQ(v)               BM_USBPHY_CTRL_RESUME_IRQ
#define BF_USBPHY_CTRL_RESUME_IRQ_V(e)              BF_USBPHY_CTRL_RESUME_IRQ(BV_USBPHY_CTRL_RESUME_IRQ__##e)
#define BFM_USBPHY_CTRL_RESUME_IRQ_V(v)             BM_USBPHY_CTRL_RESUME_IRQ
#define BP_USBPHY_CTRL_ENIRQRESUMEDETECT            9
#define BM_USBPHY_CTRL_ENIRQRESUMEDETECT            0x200
#define BF_USBPHY_CTRL_ENIRQRESUMEDETECT(v)         (((v) & 0x1) << 9)
#define BFM_USBPHY_CTRL_ENIRQRESUMEDETECT(v)        BM_USBPHY_CTRL_ENIRQRESUMEDETECT
#define BF_USBPHY_CTRL_ENIRQRESUMEDETECT_V(e)       BF_USBPHY_CTRL_ENIRQRESUMEDETECT(BV_USBPHY_CTRL_ENIRQRESUMEDETECT__##e)
#define BFM_USBPHY_CTRL_ENIRQRESUMEDETECT_V(v)      BM_USBPHY_CTRL_ENIRQRESUMEDETECT
#define BP_USBPHY_CTRL_RSVD2                        8
#define BM_USBPHY_CTRL_RSVD2                        0x100
#define BF_USBPHY_CTRL_RSVD2(v)                     (((v) & 0x1) << 8)
#define BFM_USBPHY_CTRL_RSVD2(v)                    BM_USBPHY_CTRL_RSVD2
#define BF_USBPHY_CTRL_RSVD2_V(e)                   BF_USBPHY_CTRL_RSVD2(BV_USBPHY_CTRL_RSVD2__##e)
#define BFM_USBPHY_CTRL_RSVD2_V(v)                  BM_USBPHY_CTRL_RSVD2
#define BP_USBPHY_CTRL_ENOTGIDDETECT                7
#define BM_USBPHY_CTRL_ENOTGIDDETECT                0x80
#define BF_USBPHY_CTRL_ENOTGIDDETECT(v)             (((v) & 0x1) << 7)
#define BFM_USBPHY_CTRL_ENOTGIDDETECT(v)            BM_USBPHY_CTRL_ENOTGIDDETECT
#define BF_USBPHY_CTRL_ENOTGIDDETECT_V(e)           BF_USBPHY_CTRL_ENOTGIDDETECT(BV_USBPHY_CTRL_ENOTGIDDETECT__##e)
#define BFM_USBPHY_CTRL_ENOTGIDDETECT_V(v)          BM_USBPHY_CTRL_ENOTGIDDETECT
#define BP_USBPHY_CTRL_RSVD1                        6
#define BM_USBPHY_CTRL_RSVD1                        0x40
#define BF_USBPHY_CTRL_RSVD1(v)                     (((v) & 0x1) << 6)
#define BFM_USBPHY_CTRL_RSVD1(v)                    BM_USBPHY_CTRL_RSVD1
#define BF_USBPHY_CTRL_RSVD1_V(e)                   BF_USBPHY_CTRL_RSVD1(BV_USBPHY_CTRL_RSVD1__##e)
#define BFM_USBPHY_CTRL_RSVD1_V(v)                  BM_USBPHY_CTRL_RSVD1
#define BP_USBPHY_CTRL_DEVPLUGIN_POLARITY           5
#define BM_USBPHY_CTRL_DEVPLUGIN_POLARITY           0x20
#define BF_USBPHY_CTRL_DEVPLUGIN_POLARITY(v)        (((v) & 0x1) << 5)
#define BFM_USBPHY_CTRL_DEVPLUGIN_POLARITY(v)       BM_USBPHY_CTRL_DEVPLUGIN_POLARITY
#define BF_USBPHY_CTRL_DEVPLUGIN_POLARITY_V(e)      BF_USBPHY_CTRL_DEVPLUGIN_POLARITY(BV_USBPHY_CTRL_DEVPLUGIN_POLARITY__##e)
#define BFM_USBPHY_CTRL_DEVPLUGIN_POLARITY_V(v)     BM_USBPHY_CTRL_DEVPLUGIN_POLARITY
#define BP_USBPHY_CTRL_ENDEVPLUGINDETECT            4
#define BM_USBPHY_CTRL_ENDEVPLUGINDETECT            0x10
#define BF_USBPHY_CTRL_ENDEVPLUGINDETECT(v)         (((v) & 0x1) << 4)
#define BFM_USBPHY_CTRL_ENDEVPLUGINDETECT(v)        BM_USBPHY_CTRL_ENDEVPLUGINDETECT
#define BF_USBPHY_CTRL_ENDEVPLUGINDETECT_V(e)       BF_USBPHY_CTRL_ENDEVPLUGINDETECT(BV_USBPHY_CTRL_ENDEVPLUGINDETECT__##e)
#define BFM_USBPHY_CTRL_ENDEVPLUGINDETECT_V(v)      BM_USBPHY_CTRL_ENDEVPLUGINDETECT
#define BP_USBPHY_CTRL_HOSTDISCONDETECT_IRQ         3
#define BM_USBPHY_CTRL_HOSTDISCONDETECT_IRQ         0x8
#define BF_USBPHY_CTRL_HOSTDISCONDETECT_IRQ(v)      (((v) & 0x1) << 3)
#define BFM_USBPHY_CTRL_HOSTDISCONDETECT_IRQ(v)     BM_USBPHY_CTRL_HOSTDISCONDETECT_IRQ
#define BF_USBPHY_CTRL_HOSTDISCONDETECT_IRQ_V(e)    BF_USBPHY_CTRL_HOSTDISCONDETECT_IRQ(BV_USBPHY_CTRL_HOSTDISCONDETECT_IRQ__##e)
#define BFM_USBPHY_CTRL_HOSTDISCONDETECT_IRQ_V(v)   BM_USBPHY_CTRL_HOSTDISCONDETECT_IRQ
#define BP_USBPHY_CTRL_ENIRQHOSTDISCON              2
#define BM_USBPHY_CTRL_ENIRQHOSTDISCON              0x4
#define BF_USBPHY_CTRL_ENIRQHOSTDISCON(v)           (((v) & 0x1) << 2)
#define BFM_USBPHY_CTRL_ENIRQHOSTDISCON(v)          BM_USBPHY_CTRL_ENIRQHOSTDISCON
#define BF_USBPHY_CTRL_ENIRQHOSTDISCON_V(e)         BF_USBPHY_CTRL_ENIRQHOSTDISCON(BV_USBPHY_CTRL_ENIRQHOSTDISCON__##e)
#define BFM_USBPHY_CTRL_ENIRQHOSTDISCON_V(v)        BM_USBPHY_CTRL_ENIRQHOSTDISCON
#define BP_USBPHY_CTRL_ENHOSTDISCONDETECT           1
#define BM_USBPHY_CTRL_ENHOSTDISCONDETECT           0x2
#define BF_USBPHY_CTRL_ENHOSTDISCONDETECT(v)        (((v) & 0x1) << 1)
#define BFM_USBPHY_CTRL_ENHOSTDISCONDETECT(v)       BM_USBPHY_CTRL_ENHOSTDISCONDETECT
#define BF_USBPHY_CTRL_ENHOSTDISCONDETECT_V(e)      BF_USBPHY_CTRL_ENHOSTDISCONDETECT(BV_USBPHY_CTRL_ENHOSTDISCONDETECT__##e)
#define BFM_USBPHY_CTRL_ENHOSTDISCONDETECT_V(v)     BM_USBPHY_CTRL_ENHOSTDISCONDETECT
#define BP_USBPHY_CTRL_RSVD0                        0
#define BM_USBPHY_CTRL_RSVD0                        0x1
#define BF_USBPHY_CTRL_RSVD0(v)                     (((v) & 0x1) << 0)
#define BFM_USBPHY_CTRL_RSVD0(v)                    BM_USBPHY_CTRL_RSVD0
#define BF_USBPHY_CTRL_RSVD0_V(e)                   BF_USBPHY_CTRL_RSVD0(BV_USBPHY_CTRL_RSVD0__##e)
#define BFM_USBPHY_CTRL_RSVD0_V(v)                  BM_USBPHY_CTRL_RSVD0

#define HW_USBPHY_STATUS                                HW(USBPHY_STATUS)
#define HWA_USBPHY_STATUS                               (0x8007c000 + 0x40)
#define HWT_USBPHY_STATUS                               HWIO_32_RW
#define HWN_USBPHY_STATUS                               USBPHY_STATUS
#define HWI_USBPHY_STATUS                               
#define BP_USBPHY_STATUS_RSVD4                          11
#define BM_USBPHY_STATUS_RSVD4                          0xfffff800
#define BF_USBPHY_STATUS_RSVD4(v)                       (((v) & 0x1fffff) << 11)
#define BFM_USBPHY_STATUS_RSVD4(v)                      BM_USBPHY_STATUS_RSVD4
#define BF_USBPHY_STATUS_RSVD4_V(e)                     BF_USBPHY_STATUS_RSVD4(BV_USBPHY_STATUS_RSVD4__##e)
#define BFM_USBPHY_STATUS_RSVD4_V(v)                    BM_USBPHY_STATUS_RSVD4
#define BP_USBPHY_STATUS_RESUME_STATUS                  10
#define BM_USBPHY_STATUS_RESUME_STATUS                  0x400
#define BF_USBPHY_STATUS_RESUME_STATUS(v)               (((v) & 0x1) << 10)
#define BFM_USBPHY_STATUS_RESUME_STATUS(v)              BM_USBPHY_STATUS_RESUME_STATUS
#define BF_USBPHY_STATUS_RESUME_STATUS_V(e)             BF_USBPHY_STATUS_RESUME_STATUS(BV_USBPHY_STATUS_RESUME_STATUS__##e)
#define BFM_USBPHY_STATUS_RESUME_STATUS_V(v)            BM_USBPHY_STATUS_RESUME_STATUS
#define BP_USBPHY_STATUS_RSVD3                          9
#define BM_USBPHY_STATUS_RSVD3                          0x200
#define BF_USBPHY_STATUS_RSVD3(v)                       (((v) & 0x1) << 9)
#define BFM_USBPHY_STATUS_RSVD3(v)                      BM_USBPHY_STATUS_RSVD3
#define BF_USBPHY_STATUS_RSVD3_V(e)                     BF_USBPHY_STATUS_RSVD3(BV_USBPHY_STATUS_RSVD3__##e)
#define BFM_USBPHY_STATUS_RSVD3_V(v)                    BM_USBPHY_STATUS_RSVD3
#define BP_USBPHY_STATUS_OTGID_STATUS                   8
#define BM_USBPHY_STATUS_OTGID_STATUS                   0x100
#define BF_USBPHY_STATUS_OTGID_STATUS(v)                (((v) & 0x1) << 8)
#define BFM_USBPHY_STATUS_OTGID_STATUS(v)               BM_USBPHY_STATUS_OTGID_STATUS
#define BF_USBPHY_STATUS_OTGID_STATUS_V(e)              BF_USBPHY_STATUS_OTGID_STATUS(BV_USBPHY_STATUS_OTGID_STATUS__##e)
#define BFM_USBPHY_STATUS_OTGID_STATUS_V(v)             BM_USBPHY_STATUS_OTGID_STATUS
#define BP_USBPHY_STATUS_RSVD2                          7
#define BM_USBPHY_STATUS_RSVD2                          0x80
#define BF_USBPHY_STATUS_RSVD2(v)                       (((v) & 0x1) << 7)
#define BFM_USBPHY_STATUS_RSVD2(v)                      BM_USBPHY_STATUS_RSVD2
#define BF_USBPHY_STATUS_RSVD2_V(e)                     BF_USBPHY_STATUS_RSVD2(BV_USBPHY_STATUS_RSVD2__##e)
#define BFM_USBPHY_STATUS_RSVD2_V(v)                    BM_USBPHY_STATUS_RSVD2
#define BP_USBPHY_STATUS_DEVPLUGIN_STATUS               6
#define BM_USBPHY_STATUS_DEVPLUGIN_STATUS               0x40
#define BF_USBPHY_STATUS_DEVPLUGIN_STATUS(v)            (((v) & 0x1) << 6)
#define BFM_USBPHY_STATUS_DEVPLUGIN_STATUS(v)           BM_USBPHY_STATUS_DEVPLUGIN_STATUS
#define BF_USBPHY_STATUS_DEVPLUGIN_STATUS_V(e)          BF_USBPHY_STATUS_DEVPLUGIN_STATUS(BV_USBPHY_STATUS_DEVPLUGIN_STATUS__##e)
#define BFM_USBPHY_STATUS_DEVPLUGIN_STATUS_V(v)         BM_USBPHY_STATUS_DEVPLUGIN_STATUS
#define BP_USBPHY_STATUS_RSVD1                          4
#define BM_USBPHY_STATUS_RSVD1                          0x30
#define BF_USBPHY_STATUS_RSVD1(v)                       (((v) & 0x3) << 4)
#define BFM_USBPHY_STATUS_RSVD1(v)                      BM_USBPHY_STATUS_RSVD1
#define BF_USBPHY_STATUS_RSVD1_V(e)                     BF_USBPHY_STATUS_RSVD1(BV_USBPHY_STATUS_RSVD1__##e)
#define BFM_USBPHY_STATUS_RSVD1_V(v)                    BM_USBPHY_STATUS_RSVD1
#define BP_USBPHY_STATUS_HOSTDISCONDETECT_STATUS        3
#define BM_USBPHY_STATUS_HOSTDISCONDETECT_STATUS        0x8
#define BF_USBPHY_STATUS_HOSTDISCONDETECT_STATUS(v)     (((v) & 0x1) << 3)
#define BFM_USBPHY_STATUS_HOSTDISCONDETECT_STATUS(v)    BM_USBPHY_STATUS_HOSTDISCONDETECT_STATUS
#define BF_USBPHY_STATUS_HOSTDISCONDETECT_STATUS_V(e)   BF_USBPHY_STATUS_HOSTDISCONDETECT_STATUS(BV_USBPHY_STATUS_HOSTDISCONDETECT_STATUS__##e)
#define BFM_USBPHY_STATUS_HOSTDISCONDETECT_STATUS_V(v)  BM_USBPHY_STATUS_HOSTDISCONDETECT_STATUS
#define BP_USBPHY_STATUS_RSVD0                          0
#define BM_USBPHY_STATUS_RSVD0                          0x7
#define BF_USBPHY_STATUS_RSVD0(v)                       (((v) & 0x7) << 0)
#define BFM_USBPHY_STATUS_RSVD0(v)                      BM_USBPHY_STATUS_RSVD0
#define BF_USBPHY_STATUS_RSVD0_V(e)                     BF_USBPHY_STATUS_RSVD0(BV_USBPHY_STATUS_RSVD0__##e)
#define BFM_USBPHY_STATUS_RSVD0_V(v)                    BM_USBPHY_STATUS_RSVD0

#define HW_USBPHY_DEBUG                             HW(USBPHY_DEBUG)
#define HWA_USBPHY_DEBUG                            (0x8007c000 + 0x50)
#define HWT_USBPHY_DEBUG                            HWIO_32_RW
#define HWN_USBPHY_DEBUG                            USBPHY_DEBUG
#define HWI_USBPHY_DEBUG                            
#define HW_USBPHY_DEBUG_SET                         HW(USBPHY_DEBUG_SET)
#define HWA_USBPHY_DEBUG_SET                        (HWA_USBPHY_DEBUG + 0x4)
#define HWT_USBPHY_DEBUG_SET                        HWIO_32_WO
#define HWN_USBPHY_DEBUG_SET                        USBPHY_DEBUG
#define HWI_USBPHY_DEBUG_SET                        
#define HW_USBPHY_DEBUG_CLR                         HW(USBPHY_DEBUG_CLR)
#define HWA_USBPHY_DEBUG_CLR                        (HWA_USBPHY_DEBUG + 0x8)
#define HWT_USBPHY_DEBUG_CLR                        HWIO_32_WO
#define HWN_USBPHY_DEBUG_CLR                        USBPHY_DEBUG
#define HWI_USBPHY_DEBUG_CLR                        
#define HW_USBPHY_DEBUG_TOG                         HW(USBPHY_DEBUG_TOG)
#define HWA_USBPHY_DEBUG_TOG                        (HWA_USBPHY_DEBUG + 0xc)
#define HWT_USBPHY_DEBUG_TOG                        HWIO_32_WO
#define HWN_USBPHY_DEBUG_TOG                        USBPHY_DEBUG
#define HWI_USBPHY_DEBUG_TOG                        
#define BP_USBPHY_DEBUG_RSVD3                       31
#define BM_USBPHY_DEBUG_RSVD3                       0x80000000
#define BF_USBPHY_DEBUG_RSVD3(v)                    (((v) & 0x1) << 31)
#define BFM_USBPHY_DEBUG_RSVD3(v)                   BM_USBPHY_DEBUG_RSVD3
#define BF_USBPHY_DEBUG_RSVD3_V(e)                  BF_USBPHY_DEBUG_RSVD3(BV_USBPHY_DEBUG_RSVD3__##e)
#define BFM_USBPHY_DEBUG_RSVD3_V(v)                 BM_USBPHY_DEBUG_RSVD3
#define BP_USBPHY_DEBUG_CLKGATE                     30
#define BM_USBPHY_DEBUG_CLKGATE                     0x40000000
#define BF_USBPHY_DEBUG_CLKGATE(v)                  (((v) & 0x1) << 30)
#define BFM_USBPHY_DEBUG_CLKGATE(v)                 BM_USBPHY_DEBUG_CLKGATE
#define BF_USBPHY_DEBUG_CLKGATE_V(e)                BF_USBPHY_DEBUG_CLKGATE(BV_USBPHY_DEBUG_CLKGATE__##e)
#define BFM_USBPHY_DEBUG_CLKGATE_V(v)               BM_USBPHY_DEBUG_CLKGATE
#define BP_USBPHY_DEBUG_HOST_RESUME_DEBUG           29
#define BM_USBPHY_DEBUG_HOST_RESUME_DEBUG           0x20000000
#define BF_USBPHY_DEBUG_HOST_RESUME_DEBUG(v)        (((v) & 0x1) << 29)
#define BFM_USBPHY_DEBUG_HOST_RESUME_DEBUG(v)       BM_USBPHY_DEBUG_HOST_RESUME_DEBUG
#define BF_USBPHY_DEBUG_HOST_RESUME_DEBUG_V(e)      BF_USBPHY_DEBUG_HOST_RESUME_DEBUG(BV_USBPHY_DEBUG_HOST_RESUME_DEBUG__##e)
#define BFM_USBPHY_DEBUG_HOST_RESUME_DEBUG_V(v)     BM_USBPHY_DEBUG_HOST_RESUME_DEBUG
#define BP_USBPHY_DEBUG_SQUELCHRESETLENGTH          25
#define BM_USBPHY_DEBUG_SQUELCHRESETLENGTH          0x1e000000
#define BF_USBPHY_DEBUG_SQUELCHRESETLENGTH(v)       (((v) & 0xf) << 25)
#define BFM_USBPHY_DEBUG_SQUELCHRESETLENGTH(v)      BM_USBPHY_DEBUG_SQUELCHRESETLENGTH
#define BF_USBPHY_DEBUG_SQUELCHRESETLENGTH_V(e)     BF_USBPHY_DEBUG_SQUELCHRESETLENGTH(BV_USBPHY_DEBUG_SQUELCHRESETLENGTH__##e)
#define BFM_USBPHY_DEBUG_SQUELCHRESETLENGTH_V(v)    BM_USBPHY_DEBUG_SQUELCHRESETLENGTH
#define BP_USBPHY_DEBUG_ENSQUELCHRESET              24
#define BM_USBPHY_DEBUG_ENSQUELCHRESET              0x1000000
#define BF_USBPHY_DEBUG_ENSQUELCHRESET(v)           (((v) & 0x1) << 24)
#define BFM_USBPHY_DEBUG_ENSQUELCHRESET(v)          BM_USBPHY_DEBUG_ENSQUELCHRESET
#define BF_USBPHY_DEBUG_ENSQUELCHRESET_V(e)         BF_USBPHY_DEBUG_ENSQUELCHRESET(BV_USBPHY_DEBUG_ENSQUELCHRESET__##e)
#define BFM_USBPHY_DEBUG_ENSQUELCHRESET_V(v)        BM_USBPHY_DEBUG_ENSQUELCHRESET
#define BP_USBPHY_DEBUG_RSVD2                       21
#define BM_USBPHY_DEBUG_RSVD2                       0xe00000
#define BF_USBPHY_DEBUG_RSVD2(v)                    (((v) & 0x7) << 21)
#define BFM_USBPHY_DEBUG_RSVD2(v)                   BM_USBPHY_DEBUG_RSVD2
#define BF_USBPHY_DEBUG_RSVD2_V(e)                  BF_USBPHY_DEBUG_RSVD2(BV_USBPHY_DEBUG_RSVD2__##e)
#define BFM_USBPHY_DEBUG_RSVD2_V(v)                 BM_USBPHY_DEBUG_RSVD2
#define BP_USBPHY_DEBUG_SQUELCHRESETCOUNT           16
#define BM_USBPHY_DEBUG_SQUELCHRESETCOUNT           0x1f0000
#define BF_USBPHY_DEBUG_SQUELCHRESETCOUNT(v)        (((v) & 0x1f) << 16)
#define BFM_USBPHY_DEBUG_SQUELCHRESETCOUNT(v)       BM_USBPHY_DEBUG_SQUELCHRESETCOUNT
#define BF_USBPHY_DEBUG_SQUELCHRESETCOUNT_V(e)      BF_USBPHY_DEBUG_SQUELCHRESETCOUNT(BV_USBPHY_DEBUG_SQUELCHRESETCOUNT__##e)
#define BFM_USBPHY_DEBUG_SQUELCHRESETCOUNT_V(v)     BM_USBPHY_DEBUG_SQUELCHRESETCOUNT
#define BP_USBPHY_DEBUG_RSVD1                       13
#define BM_USBPHY_DEBUG_RSVD1                       0xe000
#define BF_USBPHY_DEBUG_RSVD1(v)                    (((v) & 0x7) << 13)
#define BFM_USBPHY_DEBUG_RSVD1(v)                   BM_USBPHY_DEBUG_RSVD1
#define BF_USBPHY_DEBUG_RSVD1_V(e)                  BF_USBPHY_DEBUG_RSVD1(BV_USBPHY_DEBUG_RSVD1__##e)
#define BFM_USBPHY_DEBUG_RSVD1_V(v)                 BM_USBPHY_DEBUG_RSVD1
#define BP_USBPHY_DEBUG_ENTX2RXCOUNT                12
#define BM_USBPHY_DEBUG_ENTX2RXCOUNT                0x1000
#define BF_USBPHY_DEBUG_ENTX2RXCOUNT(v)             (((v) & 0x1) << 12)
#define BFM_USBPHY_DEBUG_ENTX2RXCOUNT(v)            BM_USBPHY_DEBUG_ENTX2RXCOUNT
#define BF_USBPHY_DEBUG_ENTX2RXCOUNT_V(e)           BF_USBPHY_DEBUG_ENTX2RXCOUNT(BV_USBPHY_DEBUG_ENTX2RXCOUNT__##e)
#define BFM_USBPHY_DEBUG_ENTX2RXCOUNT_V(v)          BM_USBPHY_DEBUG_ENTX2RXCOUNT
#define BP_USBPHY_DEBUG_TX2RXCOUNT                  8
#define BM_USBPHY_DEBUG_TX2RXCOUNT                  0xf00
#define BF_USBPHY_DEBUG_TX2RXCOUNT(v)               (((v) & 0xf) << 8)
#define BFM_USBPHY_DEBUG_TX2RXCOUNT(v)              BM_USBPHY_DEBUG_TX2RXCOUNT
#define BF_USBPHY_DEBUG_TX2RXCOUNT_V(e)             BF_USBPHY_DEBUG_TX2RXCOUNT(BV_USBPHY_DEBUG_TX2RXCOUNT__##e)
#define BFM_USBPHY_DEBUG_TX2RXCOUNT_V(v)            BM_USBPHY_DEBUG_TX2RXCOUNT
#define BP_USBPHY_DEBUG_RSVD0                       6
#define BM_USBPHY_DEBUG_RSVD0                       0xc0
#define BF_USBPHY_DEBUG_RSVD0(v)                    (((v) & 0x3) << 6)
#define BFM_USBPHY_DEBUG_RSVD0(v)                   BM_USBPHY_DEBUG_RSVD0
#define BF_USBPHY_DEBUG_RSVD0_V(e)                  BF_USBPHY_DEBUG_RSVD0(BV_USBPHY_DEBUG_RSVD0__##e)
#define BFM_USBPHY_DEBUG_RSVD0_V(v)                 BM_USBPHY_DEBUG_RSVD0
#define BP_USBPHY_DEBUG_ENHSTPULLDOWN               4
#define BM_USBPHY_DEBUG_ENHSTPULLDOWN               0x30
#define BF_USBPHY_DEBUG_ENHSTPULLDOWN(v)            (((v) & 0x3) << 4)
#define BFM_USBPHY_DEBUG_ENHSTPULLDOWN(v)           BM_USBPHY_DEBUG_ENHSTPULLDOWN
#define BF_USBPHY_DEBUG_ENHSTPULLDOWN_V(e)          BF_USBPHY_DEBUG_ENHSTPULLDOWN(BV_USBPHY_DEBUG_ENHSTPULLDOWN__##e)
#define BFM_USBPHY_DEBUG_ENHSTPULLDOWN_V(v)         BM_USBPHY_DEBUG_ENHSTPULLDOWN
#define BP_USBPHY_DEBUG_HSTPULLDOWN                 2
#define BM_USBPHY_DEBUG_HSTPULLDOWN                 0xc
#define BF_USBPHY_DEBUG_HSTPULLDOWN(v)              (((v) & 0x3) << 2)
#define BFM_USBPHY_DEBUG_HSTPULLDOWN(v)             BM_USBPHY_DEBUG_HSTPULLDOWN
#define BF_USBPHY_DEBUG_HSTPULLDOWN_V(e)            BF_USBPHY_DEBUG_HSTPULLDOWN(BV_USBPHY_DEBUG_HSTPULLDOWN__##e)
#define BFM_USBPHY_DEBUG_HSTPULLDOWN_V(v)           BM_USBPHY_DEBUG_HSTPULLDOWN
#define BP_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD        1
#define BM_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD        0x2
#define BF_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD(v)     (((v) & 0x1) << 1)
#define BFM_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD(v)    BM_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD
#define BF_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_V(e)   BF_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD(BV_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD__##e)
#define BFM_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_V(v)  BM_USBPHY_DEBUG_DEBUG_INTERFACE_HOLD
#define BP_USBPHY_DEBUG_OTGIDPIOLOCK                0
#define BM_USBPHY_DEBUG_OTGIDPIOLOCK                0x1
#define BF_USBPHY_DEBUG_OTGIDPIOLOCK(v)             (((v) & 0x1) << 0)
#define BFM_USBPHY_DEBUG_OTGIDPIOLOCK(v)            BM_USBPHY_DEBUG_OTGIDPIOLOCK
#define BF_USBPHY_DEBUG_OTGIDPIOLOCK_V(e)           BF_USBPHY_DEBUG_OTGIDPIOLOCK(BV_USBPHY_DEBUG_OTGIDPIOLOCK__##e)
#define BFM_USBPHY_DEBUG_OTGIDPIOLOCK_V(v)          BM_USBPHY_DEBUG_OTGIDPIOLOCK

#define HW_USBPHY_DEBUG0_STATUS                                 HW(USBPHY_DEBUG0_STATUS)
#define HWA_USBPHY_DEBUG0_STATUS                                (0x8007c000 + 0x60)
#define HWT_USBPHY_DEBUG0_STATUS                                HWIO_32_RW
#define HWN_USBPHY_DEBUG0_STATUS                                USBPHY_DEBUG0_STATUS
#define HWI_USBPHY_DEBUG0_STATUS                                
#define BP_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT                   26
#define BM_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT                   0xfc000000
#define BF_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT(v)                (((v) & 0x3f) << 26)
#define BFM_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT(v)               BM_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT
#define BF_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_V(e)              BF_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT(BV_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT__##e)
#define BFM_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_V(v)             BM_USBPHY_DEBUG0_STATUS_SQUELCH_COUNT
#define BP_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT         16
#define BM_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT         0x3ff0000
#define BF_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT(v)      (((v) & 0x3ff) << 16)
#define BFM_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT(v)     BM_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT
#define BF_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_V(e)    BF_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT(BV_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT__##e)
#define BFM_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_V(v)   BM_USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT
#define BP_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT            0
#define BM_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT            0xffff
#define BF_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT(v)         (((v) & 0xffff) << 0)
#define BFM_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT(v)        BM_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT
#define BF_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_V(e)       BF_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT(BV_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT__##e)
#define BFM_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_V(v)      BM_USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT

#define HW_USBPHY_DEBUG1                    HW(USBPHY_DEBUG1)
#define HWA_USBPHY_DEBUG1                   (0x8007c000 + 0x70)
#define HWT_USBPHY_DEBUG1                   HWIO_32_RW
#define HWN_USBPHY_DEBUG1                   USBPHY_DEBUG1
#define HWI_USBPHY_DEBUG1                   
#define HW_USBPHY_DEBUG1_SET                HW(USBPHY_DEBUG1_SET)
#define HWA_USBPHY_DEBUG1_SET               (HWA_USBPHY_DEBUG1 + 0x4)
#define HWT_USBPHY_DEBUG1_SET               HWIO_32_WO
#define HWN_USBPHY_DEBUG1_SET               USBPHY_DEBUG1
#define HWI_USBPHY_DEBUG1_SET               
#define HW_USBPHY_DEBUG1_CLR                HW(USBPHY_DEBUG1_CLR)
#define HWA_USBPHY_DEBUG1_CLR               (HWA_USBPHY_DEBUG1 + 0x8)
#define HWT_USBPHY_DEBUG1_CLR               HWIO_32_WO
#define HWN_USBPHY_DEBUG1_CLR               USBPHY_DEBUG1
#define HWI_USBPHY_DEBUG1_CLR               
#define HW_USBPHY_DEBUG1_TOG                HW(USBPHY_DEBUG1_TOG)
#define HWA_USBPHY_DEBUG1_TOG               (HWA_USBPHY_DEBUG1 + 0xc)
#define HWT_USBPHY_DEBUG1_TOG               HWIO_32_WO
#define HWN_USBPHY_DEBUG1_TOG               USBPHY_DEBUG1
#define HWI_USBPHY_DEBUG1_TOG               
#define BP_USBPHY_DEBUG1_RSVD1              15
#define BM_USBPHY_DEBUG1_RSVD1              0xffff8000
#define BF_USBPHY_DEBUG1_RSVD1(v)           (((v) & 0x1ffff) << 15)
#define BFM_USBPHY_DEBUG1_RSVD1(v)          BM_USBPHY_DEBUG1_RSVD1
#define BF_USBPHY_DEBUG1_RSVD1_V(e)         BF_USBPHY_DEBUG1_RSVD1(BV_USBPHY_DEBUG1_RSVD1__##e)
#define BFM_USBPHY_DEBUG1_RSVD1_V(v)        BM_USBPHY_DEBUG1_RSVD1
#define BP_USBPHY_DEBUG1_ENTAILADJVD        13
#define BM_USBPHY_DEBUG1_ENTAILADJVD        0x6000
#define BF_USBPHY_DEBUG1_ENTAILADJVD(v)     (((v) & 0x3) << 13)
#define BFM_USBPHY_DEBUG1_ENTAILADJVD(v)    BM_USBPHY_DEBUG1_ENTAILADJVD
#define BF_USBPHY_DEBUG1_ENTAILADJVD_V(e)   BF_USBPHY_DEBUG1_ENTAILADJVD(BV_USBPHY_DEBUG1_ENTAILADJVD__##e)
#define BFM_USBPHY_DEBUG1_ENTAILADJVD_V(v)  BM_USBPHY_DEBUG1_ENTAILADJVD
#define BP_USBPHY_DEBUG1_ENTX2TX            12
#define BM_USBPHY_DEBUG1_ENTX2TX            0x1000
#define BF_USBPHY_DEBUG1_ENTX2TX(v)         (((v) & 0x1) << 12)
#define BFM_USBPHY_DEBUG1_ENTX2TX(v)        BM_USBPHY_DEBUG1_ENTX2TX
#define BF_USBPHY_DEBUG1_ENTX2TX_V(e)       BF_USBPHY_DEBUG1_ENTX2TX(BV_USBPHY_DEBUG1_ENTX2TX__##e)
#define BFM_USBPHY_DEBUG1_ENTX2TX_V(v)      BM_USBPHY_DEBUG1_ENTX2TX
#define BP_USBPHY_DEBUG1_RSVD0              4
#define BM_USBPHY_DEBUG1_RSVD0              0xff0
#define BF_USBPHY_DEBUG1_RSVD0(v)           (((v) & 0xff) << 4)
#define BFM_USBPHY_DEBUG1_RSVD0(v)          BM_USBPHY_DEBUG1_RSVD0
#define BF_USBPHY_DEBUG1_RSVD0_V(e)         BF_USBPHY_DEBUG1_RSVD0(BV_USBPHY_DEBUG1_RSVD0__##e)
#define BFM_USBPHY_DEBUG1_RSVD0_V(v)        BM_USBPHY_DEBUG1_RSVD0
#define BP_USBPHY_DEBUG1_DBG_ADDRESS        0
#define BM_USBPHY_DEBUG1_DBG_ADDRESS        0xf
#define BF_USBPHY_DEBUG1_DBG_ADDRESS(v)     (((v) & 0xf) << 0)
#define BFM_USBPHY_DEBUG1_DBG_ADDRESS(v)    BM_USBPHY_DEBUG1_DBG_ADDRESS
#define BF_USBPHY_DEBUG1_DBG_ADDRESS_V(e)   BF_USBPHY_DEBUG1_DBG_ADDRESS(BV_USBPHY_DEBUG1_DBG_ADDRESS__##e)
#define BFM_USBPHY_DEBUG1_DBG_ADDRESS_V(v)  BM_USBPHY_DEBUG1_DBG_ADDRESS

#define HW_USBPHY_VERSION               HW(USBPHY_VERSION)
#define HWA_USBPHY_VERSION              (0x8007c000 + 0x80)
#define HWT_USBPHY_VERSION              HWIO_32_RW
#define HWN_USBPHY_VERSION              USBPHY_VERSION
#define HWI_USBPHY_VERSION              
#define BP_USBPHY_VERSION_MAJOR         24
#define BM_USBPHY_VERSION_MAJOR         0xff000000
#define BF_USBPHY_VERSION_MAJOR(v)      (((v) & 0xff) << 24)
#define BFM_USBPHY_VERSION_MAJOR(v)     BM_USBPHY_VERSION_MAJOR
#define BF_USBPHY_VERSION_MAJOR_V(e)    BF_USBPHY_VERSION_MAJOR(BV_USBPHY_VERSION_MAJOR__##e)
#define BFM_USBPHY_VERSION_MAJOR_V(v)   BM_USBPHY_VERSION_MAJOR
#define BP_USBPHY_VERSION_MINOR         16
#define BM_USBPHY_VERSION_MINOR         0xff0000
#define BF_USBPHY_VERSION_MINOR(v)      (((v) & 0xff) << 16)
#define BFM_USBPHY_VERSION_MINOR(v)     BM_USBPHY_VERSION_MINOR
#define BF_USBPHY_VERSION_MINOR_V(e)    BF_USBPHY_VERSION_MINOR(BV_USBPHY_VERSION_MINOR__##e)
#define BFM_USBPHY_VERSION_MINOR_V(v)   BM_USBPHY_VERSION_MINOR
#define BP_USBPHY_VERSION_STEP          0
#define BM_USBPHY_VERSION_STEP          0xffff
#define BF_USBPHY_VERSION_STEP(v)       (((v) & 0xffff) << 0)
#define BFM_USBPHY_VERSION_STEP(v)      BM_USBPHY_VERSION_STEP
#define BF_USBPHY_VERSION_STEP_V(e)     BF_USBPHY_VERSION_STEP(BV_USBPHY_VERSION_STEP__##e)
#define BFM_USBPHY_VERSION_STEP_V(v)    BM_USBPHY_VERSION_STEP

#define HW_USBPHY_IP                        HW(USBPHY_IP)
#define HWA_USBPHY_IP                       (0x8007c000 + 0x90)
#define HWT_USBPHY_IP                       HWIO_32_RW
#define HWN_USBPHY_IP                       USBPHY_IP
#define HWI_USBPHY_IP                       
#define HW_USBPHY_IP_SET                    HW(USBPHY_IP_SET)
#define HWA_USBPHY_IP_SET                   (HWA_USBPHY_IP + 0x4)
#define HWT_USBPHY_IP_SET                   HWIO_32_WO
#define HWN_USBPHY_IP_SET                   USBPHY_IP
#define HWI_USBPHY_IP_SET                   
#define HW_USBPHY_IP_CLR                    HW(USBPHY_IP_CLR)
#define HWA_USBPHY_IP_CLR                   (HWA_USBPHY_IP + 0x8)
#define HWT_USBPHY_IP_CLR                   HWIO_32_WO
#define HWN_USBPHY_IP_CLR                   USBPHY_IP
#define HWI_USBPHY_IP_CLR                   
#define HW_USBPHY_IP_TOG                    HW(USBPHY_IP_TOG)
#define HWA_USBPHY_IP_TOG                   (HWA_USBPHY_IP + 0xc)
#define HWT_USBPHY_IP_TOG                   HWIO_32_WO
#define HWN_USBPHY_IP_TOG                   USBPHY_IP
#define HWI_USBPHY_IP_TOG                   
#define BP_USBPHY_IP_RSVD1                  25
#define BM_USBPHY_IP_RSVD1                  0xfe000000
#define BF_USBPHY_IP_RSVD1(v)               (((v) & 0x7f) << 25)
#define BFM_USBPHY_IP_RSVD1(v)              BM_USBPHY_IP_RSVD1
#define BF_USBPHY_IP_RSVD1_V(e)             BF_USBPHY_IP_RSVD1(BV_USBPHY_IP_RSVD1__##e)
#define BFM_USBPHY_IP_RSVD1_V(v)            BM_USBPHY_IP_RSVD1
#define BP_USBPHY_IP_DIV_SEL                23
#define BM_USBPHY_IP_DIV_SEL                0x1800000
#define BV_USBPHY_IP_DIV_SEL__DEFAULT       0x0
#define BV_USBPHY_IP_DIV_SEL__LOWER         0x1
#define BV_USBPHY_IP_DIV_SEL__LOWEST        0x2
#define BV_USBPHY_IP_DIV_SEL__UNDEFINED     0x3
#define BF_USBPHY_IP_DIV_SEL(v)             (((v) & 0x3) << 23)
#define BFM_USBPHY_IP_DIV_SEL(v)            BM_USBPHY_IP_DIV_SEL
#define BF_USBPHY_IP_DIV_SEL_V(e)           BF_USBPHY_IP_DIV_SEL(BV_USBPHY_IP_DIV_SEL__##e)
#define BFM_USBPHY_IP_DIV_SEL_V(v)          BM_USBPHY_IP_DIV_SEL
#define BP_USBPHY_IP_LFR_SEL                21
#define BM_USBPHY_IP_LFR_SEL                0x600000
#define BV_USBPHY_IP_LFR_SEL__DEFAULT       0x0
#define BV_USBPHY_IP_LFR_SEL__TIMES_2       0x1
#define BV_USBPHY_IP_LFR_SEL__TIMES_05      0x2
#define BV_USBPHY_IP_LFR_SEL__UNDEFINED     0x3
#define BF_USBPHY_IP_LFR_SEL(v)             (((v) & 0x3) << 21)
#define BFM_USBPHY_IP_LFR_SEL(v)            BM_USBPHY_IP_LFR_SEL
#define BF_USBPHY_IP_LFR_SEL_V(e)           BF_USBPHY_IP_LFR_SEL(BV_USBPHY_IP_LFR_SEL__##e)
#define BFM_USBPHY_IP_LFR_SEL_V(v)          BM_USBPHY_IP_LFR_SEL
#define BP_USBPHY_IP_CP_SEL                 19
#define BM_USBPHY_IP_CP_SEL                 0x180000
#define BV_USBPHY_IP_CP_SEL__DEFAULT        0x0
#define BV_USBPHY_IP_CP_SEL__TIMES_2        0x1
#define BV_USBPHY_IP_CP_SEL__TIMES_05       0x2
#define BV_USBPHY_IP_CP_SEL__UNDEFINED      0x3
#define BF_USBPHY_IP_CP_SEL(v)              (((v) & 0x3) << 19)
#define BFM_USBPHY_IP_CP_SEL(v)             BM_USBPHY_IP_CP_SEL
#define BF_USBPHY_IP_CP_SEL_V(e)            BF_USBPHY_IP_CP_SEL(BV_USBPHY_IP_CP_SEL__##e)
#define BFM_USBPHY_IP_CP_SEL_V(v)           BM_USBPHY_IP_CP_SEL
#define BP_USBPHY_IP_TSTI_TX_DP             18
#define BM_USBPHY_IP_TSTI_TX_DP             0x40000
#define BF_USBPHY_IP_TSTI_TX_DP(v)          (((v) & 0x1) << 18)
#define BFM_USBPHY_IP_TSTI_TX_DP(v)         BM_USBPHY_IP_TSTI_TX_DP
#define BF_USBPHY_IP_TSTI_TX_DP_V(e)        BF_USBPHY_IP_TSTI_TX_DP(BV_USBPHY_IP_TSTI_TX_DP__##e)
#define BFM_USBPHY_IP_TSTI_TX_DP_V(v)       BM_USBPHY_IP_TSTI_TX_DP
#define BP_USBPHY_IP_TSTI_TX_DM             17
#define BM_USBPHY_IP_TSTI_TX_DM             0x20000
#define BF_USBPHY_IP_TSTI_TX_DM(v)          (((v) & 0x1) << 17)
#define BFM_USBPHY_IP_TSTI_TX_DM(v)         BM_USBPHY_IP_TSTI_TX_DM
#define BF_USBPHY_IP_TSTI_TX_DM_V(e)        BF_USBPHY_IP_TSTI_TX_DM(BV_USBPHY_IP_TSTI_TX_DM__##e)
#define BFM_USBPHY_IP_TSTI_TX_DM_V(v)       BM_USBPHY_IP_TSTI_TX_DM
#define BP_USBPHY_IP_ANALOG_TESTMODE        16
#define BM_USBPHY_IP_ANALOG_TESTMODE        0x10000
#define BF_USBPHY_IP_ANALOG_TESTMODE(v)     (((v) & 0x1) << 16)
#define BFM_USBPHY_IP_ANALOG_TESTMODE(v)    BM_USBPHY_IP_ANALOG_TESTMODE
#define BF_USBPHY_IP_ANALOG_TESTMODE_V(e)   BF_USBPHY_IP_ANALOG_TESTMODE(BV_USBPHY_IP_ANALOG_TESTMODE__##e)
#define BFM_USBPHY_IP_ANALOG_TESTMODE_V(v)  BM_USBPHY_IP_ANALOG_TESTMODE
#define BP_USBPHY_IP_RSVD0                  3
#define BM_USBPHY_IP_RSVD0                  0xfff8
#define BF_USBPHY_IP_RSVD0(v)               (((v) & 0x1fff) << 3)
#define BFM_USBPHY_IP_RSVD0(v)              BM_USBPHY_IP_RSVD0
#define BF_USBPHY_IP_RSVD0_V(e)             BF_USBPHY_IP_RSVD0(BV_USBPHY_IP_RSVD0__##e)
#define BFM_USBPHY_IP_RSVD0_V(v)            BM_USBPHY_IP_RSVD0
#define BP_USBPHY_IP_EN_USB_CLKS            2
#define BM_USBPHY_IP_EN_USB_CLKS            0x4
#define BF_USBPHY_IP_EN_USB_CLKS(v)         (((v) & 0x1) << 2)
#define BFM_USBPHY_IP_EN_USB_CLKS(v)        BM_USBPHY_IP_EN_USB_CLKS
#define BF_USBPHY_IP_EN_USB_CLKS_V(e)       BF_USBPHY_IP_EN_USB_CLKS(BV_USBPHY_IP_EN_USB_CLKS__##e)
#define BFM_USBPHY_IP_EN_USB_CLKS_V(v)      BM_USBPHY_IP_EN_USB_CLKS
#define BP_USBPHY_IP_PLL_LOCKED             1
#define BM_USBPHY_IP_PLL_LOCKED             0x2
#define BF_USBPHY_IP_PLL_LOCKED(v)          (((v) & 0x1) << 1)
#define BFM_USBPHY_IP_PLL_LOCKED(v)         BM_USBPHY_IP_PLL_LOCKED
#define BF_USBPHY_IP_PLL_LOCKED_V(e)        BF_USBPHY_IP_PLL_LOCKED(BV_USBPHY_IP_PLL_LOCKED__##e)
#define BFM_USBPHY_IP_PLL_LOCKED_V(v)       BM_USBPHY_IP_PLL_LOCKED
#define BP_USBPHY_IP_PLL_POWER              0
#define BM_USBPHY_IP_PLL_POWER              0x1
#define BF_USBPHY_IP_PLL_POWER(v)           (((v) & 0x1) << 0)
#define BFM_USBPHY_IP_PLL_POWER(v)          BM_USBPHY_IP_PLL_POWER
#define BF_USBPHY_IP_PLL_POWER_V(e)         BF_USBPHY_IP_PLL_POWER(BV_USBPHY_IP_PLL_POWER__##e)
#define BFM_USBPHY_IP_PLL_POWER_V(v)        BM_USBPHY_IP_PLL_POWER

#endif /* __HEADERGEN_IMX233_USBPHY_H__*/
