linux/sound/soc/codecs/tscs454.h

// SPDX-License-Identifier: GPL-2.0
// tscs454.h -- TSCS454 ALSA SoC Audio driver
// Copyright 2018 Tempo Semiconductor, Inc.
// Author: Steven Eckhoff <[email protected]>

#ifndef __REDWOODPUBLIC_H__
#define __REDWOODPUBLIC_H__

#define VIRT_BASE
#define PAGE_LEN
#define VIRT_PAGE_BASE(page)
#define VIRT_ADDR(page, address)
#define ADDR(page, virt_address)

#define R_PAGESEL
#define R_RESET
#define R_IRQEN
#define R_IRQMASK
#define R_IRQSTAT
#define R_DEVADD0
#define R_DEVID
#define R_DEVREV
#define R_PLLSTAT
#define R_PLL1CTL
#define R_PLL1RDIV
#define R_PLL1ODIV
#define R_PLL1FDIVL
#define R_PLL1FDIVH
#define R_PLL2CTL
#define R_PLL2RDIV
#define R_PLL2ODIV
#define R_PLL2FDIVL
#define R_PLL2FDIVH
#define R_PLLCTL
#define R_ISRC
#define R_SCLKCTL
#define R_TIMEBASE
#define R_I2SP1CTL
#define R_I2SP2CTL
#define R_I2SP3CTL
#define R_I2S1MRATE
#define R_I2S2MRATE
#define R_I2S3MRATE
#define R_I2SCMC
#define R_MCLK2PINC
#define R_I2SPINC0
#define R_I2SPINC1
#define R_I2SPINC2
#define R_GPIOCTL0
#define R_GPIOCTL1
#define R_ASRC
#define R_TDMCTL0
#define R_TDMCTL1
#define R_PCMP2CTL0
#define R_PCMP2CTL1
#define R_PCMP3CTL0
#define R_PCMP3CTL1
#define R_PWRM0
#define R_PWRM1
#define R_PWRM2
#define R_PWRM3
#define R_PWRM4
#define R_I2SIDCTL
#define R_I2SODCTL
#define R_AUDIOMUX1
#define R_AUDIOMUX2
#define R_AUDIOMUX3
#define R_HSDCTL1
#define R_HSDCTL2
#define R_HSDSTAT
#define R_HSDDELAY
#define R_BUTCTL
#define R_CH0AIC
#define R_CH1AIC
#define R_CH2AIC
#define R_CH3AIC
#define R_ICTL0
#define R_ICTL1
#define R_MICBIAS
#define R_PGACTL0
#define R_PGACTL1
#define R_PGACTL2
#define R_PGACTL3
#define R_PGAZ
#define R_ICH0VOL
#define R_ICH1VOL
#define R_ICH2VOL
#define R_ICH3VOL
#define R_ASRCILVOL
#define R_ASRCIRVOL
#define R_ASRCOLVOL
#define R_ASRCORVOL
#define R_IVOLCTLU
#define R_ALCCTL0
#define R_ALCCTL1
#define R_ALCCTL2
#define R_ALCCTL3
#define R_NGATE
#define R_DMICCTL
#define R_DACCTL
#define R_SPKCTL
#define R_SUBCTL
#define R_DCCTL
#define R_OVOLCTLU
#define R_MUTEC
#define R_MVOLL
#define R_MVOLR
#define R_HPVOLL
#define R_HPVOLR
#define R_SPKVOLL
#define R_SPKVOLR
#define R_SUBVOL
#define R_COP0
#define R_COP1
#define R_COPSTAT
#define R_PWM0
#define R_PWM1
#define R_PWM2
#define R_PWM3
#define R_HPSW
#define R_THERMTS
#define R_THERMSPK1
#define R_THERMSTAT
#define R_SCSTAT
#define R_SDMON
#define R_SPKEQFILT
#define R_SPKCRWDL
#define R_SPKCRWDM
#define R_SPKCRWDH
#define R_SPKCRRDL
#define R_SPKCRRDM
#define R_SPKCRRDH
#define R_SPKCRADD
#define R_SPKCRS
#define R_SPKMBCEN
#define R_SPKMBCCTL
#define R_SPKMBCMUG1
#define R_SPKMBCTHR1
#define R_SPKMBCRAT1
#define R_SPKMBCATK1L
#define R_SPKMBCATK1H
#define R_SPKMBCREL1L
#define R_SPKMBCREL1H
#define R_SPKMBCMUG2
#define R_SPKMBCTHR2
#define R_SPKMBCRAT2
#define R_SPKMBCATK2L
#define R_SPKMBCATK2H
#define R_SPKMBCREL2L
#define R_SPKMBCREL2H
#define R_SPKMBCMUG3
#define R_SPKMBCTHR3
#define R_SPKMBCRAT3
#define R_SPKMBCATK3L
#define R_SPKMBCATK3H
#define R_SPKMBCREL3L
#define R_SPKMBCREL3H
#define R_SPKCLECTL
#define R_SPKCLEMUG
#define R_SPKCOMPTHR
#define R_SPKCOMPRAT
#define R_SPKCOMPATKL
#define R_SPKCOMPATKH
#define R_SPKCOMPRELL
#define R_SPKCOMPRELH
#define R_SPKLIMTHR
#define R_SPKLIMTGT
#define R_SPKLIMATKL
#define R_SPKLIMATKH
#define R_SPKLIMRELL
#define R_SPKLIMRELH
#define R_SPKEXPTHR
#define R_SPKEXPRAT
#define R_SPKEXPATKL
#define R_SPKEXPATKH
#define R_SPKEXPRELL
#define R_SPKEXPRELH
#define R_SPKFXCTL
#define R_DACEQFILT
#define R_DACCRWDL
#define R_DACCRWDM
#define R_DACCRWDH
#define R_DACCRRDL
#define R_DACCRRDM
#define R_DACCRRDH
#define R_DACCRADD
#define R_DACCRS
#define R_DACMBCEN
#define R_DACMBCCTL
#define R_DACMBCMUG1
#define R_DACMBCTHR1
#define R_DACMBCRAT1
#define R_DACMBCATK1L
#define R_DACMBCATK1H
#define R_DACMBCREL1L
#define R_DACMBCREL1H
#define R_DACMBCMUG2
#define R_DACMBCTHR2
#define R_DACMBCRAT2
#define R_DACMBCATK2L
#define R_DACMBCATK2H
#define R_DACMBCREL2L
#define R_DACMBCREL2H
#define R_DACMBCMUG3
#define R_DACMBCTHR3
#define R_DACMBCRAT3
#define R_DACMBCATK3L
#define R_DACMBCATK3H
#define R_DACMBCREL3L
#define R_DACMBCREL3H
#define R_DACCLECTL
#define R_DACCLEMUG
#define R_DACCOMPTHR
#define R_DACCOMPRAT
#define R_DACCOMPATKL
#define R_DACCOMPATKH
#define R_DACCOMPRELL
#define R_DACCOMPRELH
#define R_DACLIMTHR
#define R_DACLIMTGT
#define R_DACLIMATKL
#define R_DACLIMATKH
#define R_DACLIMRELL
#define R_DACLIMRELH
#define R_DACEXPTHR
#define R_DACEXPRAT
#define R_DACEXPATKL
#define R_DACEXPATKH
#define R_DACEXPRELL
#define R_DACEXPRELH
#define R_DACFXCTL
#define R_SUBEQFILT
#define R_SUBCRWDL
#define R_SUBCRWDM
#define R_SUBCRWDH
#define R_SUBCRRDL
#define R_SUBCRRDM
#define R_SUBCRRDH
#define R_SUBCRADD
#define R_SUBCRS
#define R_SUBMBCEN
#define R_SUBMBCCTL
#define R_SUBMBCMUG1
#define R_SUBMBCTHR1
#define R_SUBMBCRAT1
#define R_SUBMBCATK1L
#define R_SUBMBCATK1H
#define R_SUBMBCREL1L
#define R_SUBMBCREL1H
#define R_SUBMBCMUG2
#define R_SUBMBCTHR2
#define R_SUBMBCRAT2
#define R_SUBMBCATK2L
#define R_SUBMBCATK2H
#define R_SUBMBCREL2L
#define R_SUBMBCREL2H
#define R_SUBMBCMUG3
#define R_SUBMBCTHR3
#define R_SUBMBCRAT3
#define R_SUBMBCATK3L
#define R_SUBMBCATK3H
#define R_SUBMBCREL3L
#define R_SUBMBCREL3H
#define R_SUBCLECTL
#define R_SUBCLEMUG
#define R_SUBCOMPTHR
#define R_SUBCOMPRAT
#define R_SUBCOMPATKL
#define R_SUBCOMPATKH
#define R_SUBCOMPRELL
#define R_SUBCOMPRELH
#define R_SUBLIMTHR
#define R_SUBLIMTGT
#define R_SUBLIMATKL
#define R_SUBLIMATKH
#define R_SUBLIMRELL
#define R_SUBLIMRELH
#define R_SUBEXPTHR
#define R_SUBEXPRAT
#define R_SUBEXPATKL
#define R_SUBEXPATKH
#define R_SUBEXPRELL
#define R_SUBEXPRELH
#define R_SUBFXCTL

// *** PLLCTL ***
#define FB_PLLCTL_VCCI_PLL
#define FM_PLLCTL_VCCI_PLL

#define FB_PLLCTL_RZ_PLL
#define FM_PLLCTL_RZ_PLL

#define FB_PLLCTL_CP_PLL
#define FM_PLLCTL_CP_PLL

// *** PLLRDIV ***
#define FB_PLLRDIV_REFDIV_PLL
#define FM_PLLRDIV_REFDIV_PLL

// *** PLLODIV ***
#define FB_PLLODIV_OUTDIV_PLL
#define FM_PLLODIV_OUTDIV_PLL

// *** PLLFDIVL ***
#define FB_PLLFDIVL_FBDIVL_PLL
#define FM_PLLFDIVL_FBDIVL_PLL

// *** PLLFDIVH ***
#define FB_PLLFDIVH_FBDIVH_PLL
#define FM_PLLFDIVH_FBDIVH_PLL

// *** I2SPCTL ***
#define FB_I2SPCTL_BCLKSTAT
#define FM_I2SPCTL_BCLKSTAT
#define FV_BCLKSTAT_LOST
#define FV_BCLKSTAT_NOT_LOST

#define FB_I2SPCTL_BCLKP
#define FM_I2SPCTL_BCLKP
#define FV_BCLKP_NOT_INVERTED
#define FV_BCLKP_INVERTED

#define FB_I2SPCTL_PORTMS
#define FM_I2SPCTL_PORTMS
#define FV_PORTMS_SLAVE
#define FV_PORTMS_MASTER

#define FB_I2SPCTL_LRCLKP
#define FM_I2SPCTL_LRCLKP
#define FV_LRCLKP_NOT_INVERTED
#define FV_LRCLKP_INVERTED

#define FB_I2SPCTL_WL
#define FM_I2SPCTL_WL
#define FV_WL_16
#define FV_WL_20
#define FV_WL_24
#define FV_WL_32

#define FB_I2SPCTL_FORMAT
#define FM_I2SPCTL_FORMAT
#define FV_FORMAT_RIGHT
#define FV_FORMAT_LEFT
#define FV_FORMAT_I2S
#define FV_FORMAT_TDM

// *** I2SMRATE ***
#define FB_I2SMRATE_I2SMCLKHALF
#define FM_I2SMRATE_I2SMCLKHALF
#define FV_I2SMCLKHALF_I2S1MCLKDIV_DIV_2
#define FV_I2SMCLKHALF_I2S1MCLKDIV_ONLY

#define FB_I2SMRATE_I2SMCLKDIV
#define FM_I2SMRATE_I2SMCLKDIV
#define FV_I2SMCLKDIV_125
#define FV_I2SMCLKDIV_128
#define FV_I2SMCLKDIV_136
#define FV_I2SMCLKDIV_192

#define FB_I2SMRATE_I2SMBR
#define FM_I2SMRATE_I2SMBR
#define FV_I2SMBR_32
#define FV_I2SMBR_44PT1
#define FV_I2SMBR_48
#define FV_I2SMBR_MCLK_MODE

#define FB_I2SMRATE_I2SMBM
#define FM_I2SMRATE_I2SMBM
#define FV_I2SMBM_0PT25
#define FV_I2SMBM_0PT5
#define FV_I2SMBM_1
#define FV_I2SMBM_2

// *** PCMPCTL0 ***
#define FB_PCMPCTL0_PCMFLENP
#define FM_PCMPCTL0_PCMFLENP
#define FV_PCMFLENP_128
#define FV_PCMFLENP_256

#define FB_PCMPCTL0_SLSYNCP
#define FM_PCMPCTL0_SLSYNCP
#define FV_SLSYNCP_SHORT
#define FV_SLSYNCP_LONG

#define FB_PCMPCTL0_BDELAYP
#define FM_PCMPCTL0_BDELAYP
#define FV_BDELAYP_NO_DELAY
#define FV_BDELAYP_1BCLK_DELAY

// *** PCMPCTL1 ***
#define FB_PCMPCTL1_PCMMOMP
#define FM_PCMPCTL1_PCMMOMP

#define FB_PCMPCTL1_PCMSOP
#define FM_PCMPCTL1_PCMSOP
#define FV_PCMSOP_1
#define FV_PCMSOP_2

#define FB_PCMPCTL1_PCMDSSP
#define FM_PCMPCTL1_PCMDSSP
#define FV_PCMDSSP_16
#define FV_PCMDSSP_24
#define FV_PCMDSSP_32

#define FB_PCMPCTL1_PCMMIMP
#define FM_PCMPCTL1_PCMMIMP

#define FB_PCMPCTL1_PCMSIP
#define FM_PCMPCTL1_PCMSIP
#define FV_PCMSIP_1
#define FV_PCMSIP_2

// *** CHAIC ***
#define FB_CHAIC_MICBST
#define FM_CHAIC_MICBST

// *** PGACTL ***
#define FB_PGACTL_PGAMUTE
#define FM_PGACTL_PGAMUTE

#define FB_PGACTL_PGAVOL
#define FM_PGACTL_PGAVOL

// *** ICHVOL ***
#define FB_ICHVOL_ICHVOL
#define FM_ICHVOL_ICHVOL

// *** SPKMBCMUG ***
#define FB_SPKMBCMUG_PHASE
#define FM_SPKMBCMUG_PHASE

#define FB_SPKMBCMUG_MUGAIN
#define FM_SPKMBCMUG_MUGAIN

// *** SPKMBCTHR ***
#define FB_SPKMBCTHR_THRESH
#define FM_SPKMBCTHR_THRESH

// *** SPKMBCRAT ***
#define FB_SPKMBCRAT_RATIO
#define FM_SPKMBCRAT_RATIO

// *** SPKMBCATKL ***
#define FB_SPKMBCATKL_TCATKL
#define FM_SPKMBCATKL_TCATKL

// *** SPKMBCATKH ***
#define FB_SPKMBCATKH_TCATKH
#define FM_SPKMBCATKH_TCATKH

// *** SPKMBCRELL ***
#define FB_SPKMBCRELL_TCRELL
#define FM_SPKMBCRELL_TCRELL

// *** SPKMBCRELH ***
#define FB_SPKMBCRELH_TCRELH
#define FM_SPKMBCRELH_TCRELH

// *** DACMBCMUG ***
#define FB_DACMBCMUG_PHASE
#define FM_DACMBCMUG_PHASE

#define FB_DACMBCMUG_MUGAIN
#define FM_DACMBCMUG_MUGAIN

// *** DACMBCTHR ***
#define FB_DACMBCTHR_THRESH
#define FM_DACMBCTHR_THRESH

// *** DACMBCRAT ***
#define FB_DACMBCRAT_RATIO
#define FM_DACMBCRAT_RATIO

// *** DACMBCATKL ***
#define FB_DACMBCATKL_TCATKL
#define FM_DACMBCATKL_TCATKL

// *** DACMBCATKH ***
#define FB_DACMBCATKH_TCATKH
#define FM_DACMBCATKH_TCATKH

// *** DACMBCRELL ***
#define FB_DACMBCRELL_TCRELL
#define FM_DACMBCRELL_TCRELL

// *** DACMBCRELH ***
#define FB_DACMBCRELH_TCRELH
#define FM_DACMBCRELH_TCRELH

// *** SUBMBCMUG ***
#define FB_SUBMBCMUG_PHASE
#define FM_SUBMBCMUG_PHASE

#define FB_SUBMBCMUG_MUGAIN
#define FM_SUBMBCMUG_MUGAIN

// *** SUBMBCTHR ***
#define FB_SUBMBCTHR_THRESH
#define FM_SUBMBCTHR_THRESH

// *** SUBMBCRAT ***
#define FB_SUBMBCRAT_RATIO
#define FM_SUBMBCRAT_RATIO

// *** SUBMBCATKL ***
#define FB_SUBMBCATKL_TCATKL
#define FM_SUBMBCATKL_TCATKL

// *** SUBMBCATKH ***
#define FB_SUBMBCATKH_TCATKH
#define FM_SUBMBCATKH_TCATKH

// *** SUBMBCRELL ***
#define FB_SUBMBCRELL_TCRELL
#define FM_SUBMBCRELL_TCRELL

// *** SUBMBCRELH ***
#define FB_SUBMBCRELH_TCRELH
#define FM_SUBMBCRELH_TCRELH

// *** PAGESEL ***
#define FB_PAGESEL_PAGESEL
#define FM_PAGESEL_PAGESEL

// *** RESET ***
#define FB_RESET_RESET
#define FM_RESET_RESET
#define FV_RESET_PWR_ON_DEFAULTS

// *** IRQEN ***
#define FB_IRQEN_THRMINTEN
#define FM_IRQEN_THRMINTEN
#define FV_THRMINTEN_ENABLED
#define FV_THRMINTEN_DISABLED

#define FB_IRQEN_HBPINTEN
#define FM_IRQEN_HBPINTEN
#define FV_HBPINTEN_ENABLED
#define FV_HBPINTEN_DISABLED

#define FB_IRQEN_HSDINTEN
#define FM_IRQEN_HSDINTEN
#define FV_HSDINTEN_ENABLED
#define FV_HSDINTEN_DISABLED

#define FB_IRQEN_HPDINTEN
#define FM_IRQEN_HPDINTEN
#define FV_HPDINTEN_ENABLED
#define FV_HPDINTEN_DISABLED

#define FB_IRQEN_GPIO3INTEN
#define FM_IRQEN_GPIO3INTEN
#define FV_GPIO3INTEN_ENABLED
#define FV_GPIO3INTEN_DISABLED

#define FB_IRQEN_GPIO2INTEN
#define FM_IRQEN_GPIO2INTEN
#define FV_GPIO2INTEN_ENABLED
#define FV_GPIO2INTEN_DISABLED

#define IRQEN_GPIOINTEN_ENABLED
#define IRQEN_GPIOINTEN_DISABLED

// *** IRQMASK ***
#define FB_IRQMASK_THRMIM
#define FM_IRQMASK_THRMIM
#define FV_THRMIM_MASKED
#define FV_THRMIM_NOT_MASKED

#define FB_IRQMASK_HBPIM
#define FM_IRQMASK_HBPIM
#define FV_HBPIM_MASKED
#define FV_HBPIM_NOT_MASKED

#define FB_IRQMASK_HSDIM
#define FM_IRQMASK_HSDIM
#define FV_HSDIM_MASKED
#define FV_HSDIM_NOT_MASKED

#define FB_IRQMASK_HPDIM
#define FM_IRQMASK_HPDIM
#define FV_HPDIM_MASKED
#define FV_HPDIM_NOT_MASKED

#define FB_IRQMASK_GPIO3M
#define FM_IRQMASK_GPIO3M
#define FV_GPIO3M_MASKED
#define FV_GPIO3M_NOT_MASKED

#define FB_IRQMASK_GPIO2M
#define FM_IRQMASK_GPIO2M
#define FV_GPIO2M_MASKED
#define FV_GPIO2M_NOT_MASKED

#define IRQMASK_GPIOM_MASKED
#define IRQMASK_GPIOM_NOT_MASKED

// *** IRQSTAT ***
#define FB_IRQSTAT_THRMINT
#define FM_IRQSTAT_THRMINT
#define FV_THRMINT_INTERRUPTED
#define FV_THRMINT_NOT_INTERRUPTED

#define FB_IRQSTAT_HBPINT
#define FM_IRQSTAT_HBPINT
#define FV_HBPINT_INTERRUPTED
#define FV_HBPINT_NOT_INTERRUPTED

#define FB_IRQSTAT_HSDINT
#define FM_IRQSTAT_HSDINT
#define FV_HSDINT_INTERRUPTED
#define FV_HSDINT_NOT_INTERRUPTED

#define FB_IRQSTAT_HPDINT
#define FM_IRQSTAT_HPDINT
#define FV_HPDINT_INTERRUPTED
#define FV_HPDINT_NOT_INTERRUPTED

#define FB_IRQSTAT_GPIO3INT
#define FM_IRQSTAT_GPIO3INT
#define FV_GPIO3INT_INTERRUPTED
#define FV_GPIO3INT_NOT_INTERRUPTED

#define FB_IRQSTAT_GPIO2INT
#define FM_IRQSTAT_GPIO2INT
#define FV_GPIO2INT_INTERRUPTED
#define FV_GPIO2INT_NOT_INTERRUPTED

#define IRQSTAT_GPIOINT_INTERRUPTED
#define IRQSTAT_GPIOINT_NOT_INTERRUPTED

// *** DEVADD0 ***
#define FB_DEVADD0_DEVADD0
#define FM_DEVADD0_DEVADD0

#define FB_DEVADD0_I2C_ADDRLK
#define FM_DEVADD0_I2C_ADDRLK
#define FV_I2C_ADDRLK_LOCK

// *** DEVID ***
#define FB_DEVID_DEV_ID
#define FM_DEVID_DEV_ID

// *** DEVREV ***
#define FB_DEVREV_MAJ_REV
#define FM_DEVREV_MAJ_REV

#define FB_DEVREV_MIN_REV
#define FM_DEVREV_MIN_REV

// *** PLLSTAT ***
#define FB_PLLSTAT_PLL2LK
#define FM_PLLSTAT_PLL2LK
#define FV_PLL2LK_LOCKED
#define FV_PLL2LK_UNLOCKED

#define FB_PLLSTAT_PLL1LK
#define FM_PLLSTAT_PLL1LK
#define FV_PLL1LK_LOCKED
#define FV_PLL1LK_UNLOCKED

#define PLLSTAT_PLLLK_LOCKED
#define PLLSTAT_PLLLK_UNLOCKED

// *** PLLCTL ***
#define FB_PLLCTL_PU_PLL2
#define FM_PLLCTL_PU_PLL2
#define FV_PU_PLL2_PWR_UP
#define FV_PU_PLL2_PWR_DWN

#define FB_PLLCTL_PU_PLL1
#define FM_PLLCTL_PU_PLL1
#define FV_PU_PLL1_PWR_UP
#define FV_PU_PLL1_PWR_DWN

#define FB_PLLCTL_PLL2CLKEN
#define FM_PLLCTL_PLL2CLKEN
#define FV_PLL2CLKEN_ENABLE
#define FV_PLL2CLKEN_DISABLE

#define FB_PLLCTL_PLL1CLKEN
#define FM_PLLCTL_PLL1CLKEN
#define FV_PLL1CLKEN_ENABLE
#define FV_PLL1CLKEN_DISABLE

#define FB_PLLCTL_BCLKSEL
#define FM_PLLCTL_BCLKSEL
#define FV_BCLKSEL_BCLK1
#define FV_BCLKSEL_BCLK2
#define FV_BCLKSEL_BCLK3

#define FB_PLLCTL_PLLISEL
#define FM_PLLCTL_PLLISEL
#define FV_PLLISEL_XTAL
#define FV_PLLISEL_MCLK1
#define FV_PLLISEL_MCLK2
#define FV_PLLISEL_BCLK

#define PLLCTL_PU_PLL_PWR_UP
#define PLLCTL_PU_PLL_PWR_DWN
#define PLLCTL_PLLCLKEN_ENABLE
#define PLLCTL_PLLCLKEN_DISABLE

// *** ISRC ***
#define FB_ISRC_IBR
#define FM_ISRC_IBR
#define FV_IBR_44PT1
#define FV_IBR_48

#define FB_ISRC_IBM
#define FM_ISRC_IBM
#define FV_IBM_0PT25
#define FV_IBM_0PT5
#define FV_IBM_1
#define FV_IBM_2

// *** SCLKCTL ***
#define FB_SCLKCTL_ASDM
#define FM_SCLKCTL_ASDM
#define FV_ASDM_HALF
#define FV_ASDM_FULL
#define FV_ASDM_AUTO

#define FB_SCLKCTL_DSDM
#define FM_SCLKCTL_DSDM
#define FV_DSDM_HALF
#define FV_DSDM_FULL
#define FV_DSDM_AUTO

// *** TIMEBASE ***
#define FB_TIMEBASE_TIMEBASE
#define FM_TIMEBASE_TIMEBASE

// *** I2SCMC ***
#define FB_I2SCMC_BCMP3
#define FM_I2SCMC_BCMP3
#define FV_BCMP3_AUTO
#define FV_BCMP3_32X
#define FV_BCMP3_40X
#define FV_BCMP3_64X

#define FB_I2SCMC_BCMP2
#define FM_I2SCMC_BCMP2
#define FV_BCMP2_AUTO
#define FV_BCMP2_32X
#define FV_BCMP2_40X
#define FV_BCMP2_64X

#define FB_I2SCMC_BCMP1
#define FM_I2SCMC_BCMP1
#define FV_BCMP1_AUTO
#define FV_BCMP1_32X
#define FV_BCMP1_40X
#define FV_BCMP1_64X

#define I2SCMC_BCMP_AUTO
#define I2SCMC_BCMP_32X
#define I2SCMC_BCMP_40X
#define I2SCMC_BCMP_64X

// *** MCLK2PINC ***
#define FB_MCLK2PINC_SLEWOUT
#define FM_MCLK2PINC_SLEWOUT

#define FB_MCLK2PINC_MCLK2IO
#define FM_MCLK2PINC_MCLK2IO
#define FV_MCLK2IO_INPUT
#define FV_MCLK2IO_OUTPUT

#define FB_MCLK2PINC_MCLK2OS
#define FM_MCLK2PINC_MCLK2OS
#define FV_MCLK2OS_24PT576
#define FV_MCLK2OS_22PT5792
#define FV_MCLK2OS_PLL2

// *** I2SPINC0 ***
#define FB_I2SPINC0_SDO3TRI
#define FM_I2SPINC0_SDO3TRI

#define FB_I2SPINC0_SDO2TRI
#define FM_I2SPINC0_SDO2TRI

#define FB_I2SPINC0_SDO1TRI
#define FM_I2SPINC0_SDO1TRI

#define FB_I2SPINC0_PCM3TRI
#define FM_I2SPINC0_PCM3TRI

#define FB_I2SPINC0_PCM2TRI
#define FM_I2SPINC0_PCM2TRI

#define FB_I2SPINC0_PCM1TRI
#define FM_I2SPINC0_PCM1TRI

// *** I2SPINC1 ***
#define FB_I2SPINC1_SDO3PDD
#define FM_I2SPINC1_SDO3PDD

#define FB_I2SPINC1_SDO2PDD
#define FM_I2SPINC1_SDO2PDD

#define FB_I2SPINC1_SDO1PDD
#define FM_I2SPINC1_SDO1PDD

// *** I2SPINC2 ***
#define FB_I2SPINC2_LR3PDD
#define FM_I2SPINC2_LR3PDD

#define FB_I2SPINC2_BC3PDD
#define FM_I2SPINC2_BC3PDD

#define FB_I2SPINC2_LR2PDD
#define FM_I2SPINC2_LR2PDD

#define FB_I2SPINC2_BC2PDD
#define FM_I2SPINC2_BC2PDD

#define FB_I2SPINC2_LR1PDD
#define FM_I2SPINC2_LR1PDD

#define FB_I2SPINC2_BC1PDD
#define FM_I2SPINC2_BC1PDD

// *** GPIOCTL0 ***
#define FB_GPIOCTL0_GPIO3INTP
#define FM_GPIOCTL0_GPIO3INTP

#define FB_GPIOCTL0_GPIO2INTP
#define FM_GPIOCTL0_GPIO2INTP

#define FB_GPIOCTL0_GPIO3CFG
#define FM_GPIOCTL0_GPIO3CFG

#define FB_GPIOCTL0_GPIO2CFG
#define FM_GPIOCTL0_GPIO2CFG

#define FB_GPIOCTL0_GPIO3IO
#define FM_GPIOCTL0_GPIO3IO

#define FB_GPIOCTL0_GPIO2IO
#define FM_GPIOCTL0_GPIO2IO

#define FB_GPIOCTL0_GPIO1IO
#define FM_GPIOCTL0_GPIO1IO

#define FB_GPIOCTL0_GPIO0IO
#define FM_GPIOCTL0_GPIO0IO

// *** GPIOCTL1 ***
#define FB_GPIOCTL1_GPIO3
#define FM_GPIOCTL1_GPIO3

#define FB_GPIOCTL1_GPIO2
#define FM_GPIOCTL1_GPIO2

#define FB_GPIOCTL1_GPIO1
#define FM_GPIOCTL1_GPIO1

#define FB_GPIOCTL1_GPIO0
#define FM_GPIOCTL1_GPIO0

#define FB_GPIOCTL1_GPIO3RD
#define FM_GPIOCTL1_GPIO3RD

#define FB_GPIOCTL1_GPIO2RD
#define FM_GPIOCTL1_GPIO2RD

#define FB_GPIOCTL1_GPIO1RD
#define FM_GPIOCTL1_GPIO1RD

#define FB_GPIOCTL1_GPIO0RD
#define FM_GPIOCTL1_GPIO0RD

// *** ASRC ***
#define FB_ASRC_ASRCOBW
#define FM_ASRC_ASRCOBW

#define FB_ASRC_ASRCIBW
#define FM_ASRC_ASRCIBW

#define FB_ASRC_ASRCOB
#define FM_ASRC_ASRCOB
#define FV_ASRCOB_ACTIVE
#define FV_ASRCOB_BYPASSED

#define FB_ASRC_ASRCIB
#define FM_ASRC_ASRCIB
#define FV_ASRCIB_ACTIVE
#define FV_ASRCIB_BYPASSED

#define FB_ASRC_ASRCOL
#define FM_ASRC_ASRCOL

#define FB_ASRC_ASRCIL
#define FM_ASRC_ASRCIL

// *** TDMCTL0 ***
#define FB_TDMCTL0_TDMMD
#define FM_TDMCTL0_TDMMD
#define FV_TDMMD_200
#define FV_TDMMD_256

#define FB_TDMCTL0_SLSYNC
#define FM_TDMCTL0_SLSYNC
#define FV_SLSYNC_SHORT
#define FV_SLSYNC_LONG

#define FB_TDMCTL0_BDELAY
#define FM_TDMCTL0_BDELAY
#define FV_BDELAY_NO_DELAY
#define FV_BDELAY_1BCLK_DELAY

// *** TDMCTL1 ***
#define FB_TDMCTL1_TDMSO
#define FM_TDMCTL1_TDMSO
#define FV_TDMSO_2
#define FV_TDMSO_4
#define FV_TDMSO_6

#define FB_TDMCTL1_TDMDSS
#define FM_TDMCTL1_TDMDSS
#define FV_TDMDSS_16
#define FV_TDMDSS_24
#define FV_TDMDSS_32

#define FB_TDMCTL1_TDMSI
#define FM_TDMCTL1_TDMSI
#define FV_TDMSI_2
#define FV_TDMSI_4
#define FV_TDMSI_6

// *** PWRM0 ***
#define FB_PWRM0_INPROC3PU
#define FM_PWRM0_INPROC3PU

#define FB_PWRM0_INPROC2PU
#define FM_PWRM0_INPROC2PU

#define FB_PWRM0_INPROC1PU
#define FM_PWRM0_INPROC1PU

#define FB_PWRM0_INPROC0PU
#define FM_PWRM0_INPROC0PU

#define FB_PWRM0_MICB2PU
#define FM_PWRM0_MICB2PU

#define FB_PWRM0_MICB1PU
#define FM_PWRM0_MICB1PU

#define FB_PWRM0_MCLKPEN
#define FM_PWRM0_MCLKPEN

// *** PWRM1 ***
#define FB_PWRM1_SUBPU
#define FM_PWRM1_SUBPU

#define FB_PWRM1_HPLPU
#define FM_PWRM1_HPLPU

#define FB_PWRM1_HPRPU
#define FM_PWRM1_HPRPU

#define FB_PWRM1_SPKLPU
#define FM_PWRM1_SPKLPU

#define FB_PWRM1_SPKRPU
#define FM_PWRM1_SPKRPU

#define FB_PWRM1_D2S2PU
#define FM_PWRM1_D2S2PU

#define FB_PWRM1_D2S1PU
#define FM_PWRM1_D2S1PU

#define FB_PWRM1_VREFPU
#define FM_PWRM1_VREFPU

// *** PWRM2 ***
#define FB_PWRM2_I2S3OPU
#define FM_PWRM2_I2S3OPU
#define FV_I2S3OPU_PWR_DOWN
#define FV_I2S3OPU_PWR_UP

#define FB_PWRM2_I2S2OPU
#define FM_PWRM2_I2S2OPU
#define FV_I2S2OPU_PWR_DOWN
#define FV_I2S2OPU_PWR_UP

#define FB_PWRM2_I2S1OPU
#define FM_PWRM2_I2S1OPU
#define FV_I2S1OPU_PWR_DOWN
#define FV_I2S1OPU_PWR_UP

#define FB_PWRM2_I2S3IPU
#define FM_PWRM2_I2S3IPU
#define FV_I2S3IPU_PWR_DOWN
#define FV_I2S3IPU_PWR_UP

#define FB_PWRM2_I2S2IPU
#define FM_PWRM2_I2S2IPU
#define FV_I2S2IPU_PWR_DOWN
#define FV_I2S2IPU_PWR_UP

#define FB_PWRM2_I2S1IPU
#define FM_PWRM2_I2S1IPU
#define FV_I2S1IPU_PWR_DOWN
#define FV_I2S1IPU_PWR_UP

#define PWRM2_I2SOPU_PWR_DOWN
#define PWRM2_I2SOPU_PWR_UP
#define PWRM2_I2SIPU_PWR_DOWN
#define PWRM2_I2SIPU_PWR_UP

// *** PWRM3 ***
#define FB_PWRM3_BGSBUP
#define FM_PWRM3_BGSBUP
#define FV_BGSBUP_ON
#define FV_BGSBUP_OFF

#define FB_PWRM3_VGBAPU
#define FM_PWRM3_VGBAPU
#define FV_VGBAPU_ON
#define FV_VGBAPU_OFF

#define FB_PWRM3_LLINEPU
#define FM_PWRM3_LLINEPU

#define FB_PWRM3_RLINEPU
#define FM_PWRM3_RLINEPU

// *** PWRM4 ***
#define FB_PWRM4_OPSUBPU
#define FM_PWRM4_OPSUBPU

#define FB_PWRM4_OPDACLPU
#define FM_PWRM4_OPDACLPU

#define FB_PWRM4_OPDACRPU
#define FM_PWRM4_OPDACRPU

#define FB_PWRM4_OPSPKLPU
#define FM_PWRM4_OPSPKLPU

#define FB_PWRM4_OPSPKRPU
#define FM_PWRM4_OPSPKRPU

// *** I2SIDCTL ***
#define FB_I2SIDCTL_I2SI3DCTL
#define FM_I2SIDCTL_I2SI3DCTL

#define FB_I2SIDCTL_I2SI2DCTL
#define FM_I2SIDCTL_I2SI2DCTL

#define FB_I2SIDCTL_I2SI1DCTL
#define FM_I2SIDCTL_I2SI1DCTL

// *** I2SODCTL ***
#define FB_I2SODCTL_I2SO3DCTL
#define FM_I2SODCTL_I2SO3DCTL

#define FB_I2SODCTL_I2SO2DCTL
#define FM_I2SODCTL_I2SO2DCTL

#define FB_I2SODCTL_I2SO1DCTL
#define FM_I2SODCTL_I2SO1DCTL

// *** AUDIOMUX1 ***
#define FB_AUDIOMUX1_ASRCIMUX
#define FM_AUDIOMUX1_ASRCIMUX
#define FV_ASRCIMUX_NONE
#define FV_ASRCIMUX_I2S1
#define FV_ASRCIMUX_I2S2
#define FV_ASRCIMUX_I2S3

#define FB_AUDIOMUX1_I2S2MUX
#define FM_AUDIOMUX1_I2S2MUX
#define FV_I2S2MUX_I2S1
#define FV_I2S2MUX_I2S2
#define FV_I2S2MUX_I2S3
#define FV_I2S2MUX_ADC_DMIC
#define FV_I2S2MUX_DMIC2
#define FV_I2S2MUX_CLASSD_DSP
#define FV_I2S2MUX_DAC_DSP
#define FV_I2S2MUX_SUB_DSP

#define FB_AUDIOMUX1_I2S1MUX
#define FM_AUDIOMUX1_I2S1MUX
#define FV_I2S1MUX_I2S1
#define FV_I2S1MUX_I2S2
#define FV_I2S1MUX_I2S3
#define FV_I2S1MUX_ADC_DMIC
#define FV_I2S1MUX_DMIC2
#define FV_I2S1MUX_CLASSD_DSP
#define FV_I2S1MUX_DAC_DSP
#define FV_I2S1MUX_SUB_DSP

#define AUDIOMUX1_I2SMUX_I2S1
#define AUDIOMUX1_I2SMUX_I2S2
#define AUDIOMUX1_I2SMUX_I2S3
#define AUDIOMUX1_I2SMUX_ADC_DMIC
#define AUDIOMUX1_I2SMUX_DMIC2
#define AUDIOMUX1_I2SMUX_CLASSD_DSP
#define AUDIOMUX1_I2SMUX_DAC_DSP
#define AUDIOMUX1_I2SMUX_SUB_DSP

// *** AUDIOMUX2 ***
#define FB_AUDIOMUX2_ASRCOMUX
#define FM_AUDIOMUX2_ASRCOMUX
#define FV_ASRCOMUX_NONE
#define FV_ASRCOMUX_I2S1
#define FV_ASRCOMUX_I2S2
#define FV_ASRCOMUX_I2S3

#define FB_AUDIOMUX2_DACMUX
#define FM_AUDIOMUX2_DACMUX
#define FV_DACMUX_I2S1
#define FV_DACMUX_I2S2
#define FV_DACMUX_I2S3
#define FV_DACMUX_ADC_DMIC
#define FV_DACMUX_DMIC2
#define FV_DACMUX_CLASSD_DSP
#define FV_DACMUX_DAC_DSP
#define FV_DACMUX_SUB_DSP

#define FB_AUDIOMUX2_I2S3MUX
#define FM_AUDIOMUX2_I2S3MUX
#define FV_I2S3MUX_I2S1
#define FV_I2S3MUX_I2S2
#define FV_I2S3MUX_I2S3
#define FV_I2S3MUX_ADC_DMIC
#define FV_I2S3MUX_DMIC2
#define FV_I2S3MUX_CLASSD_DSP
#define FV_I2S3MUX_DAC_DSP
#define FV_I2S3MUX_SUB_DSP

// *** AUDIOMUX3 ***
#define FB_AUDIOMUX3_SUBMUX
#define FM_AUDIOMUX3_SUBMUX
#define FV_SUBMUX_I2S1_L
#define FV_SUBMUX_I2S1_R
#define FV_SUBMUX_I2S1_LR
#define FV_SUBMUX_I2S2_L
#define FV_SUBMUX_I2S2_R
#define FV_SUBMUX_I2S2_LR
#define FV_SUBMUX_I2S3_L
#define FV_SUBMUX_I2S3_R
#define FV_SUBMUX_I2S3_LR
#define FV_SUBMUX_ADC_DMIC_L
#define FV_SUBMUX_ADC_DMIC_R
#define FV_SUBMUX_ADC_DMIC_LR
#define FV_SUBMUX_DMIC_L
#define FV_SUBMUX_DMIC_R
#define FV_SUBMUX_DMIC_LR
#define FV_SUBMUX_CLASSD_DSP_L
#define FV_SUBMUX_CLASSD_DSP_R
#define FV_SUBMUX_CLASSD_DSP_LR

#define FB_AUDIOMUX3_CLSSDMUX
#define FM_AUDIOMUX3_CLSSDMUX
#define FV_CLSSDMUX_I2S1
#define FV_CLSSDMUX_I2S2
#define FV_CLSSDMUX_I2S3
#define FV_CLSSDMUX_ADC_DMIC
#define FV_CLSSDMUX_DMIC2
#define FV_CLSSDMUX_CLASSD_DSP
#define FV_CLSSDMUX_DAC_DSP
#define FV_CLSSDMUX_SUB_DSP

// *** HSDCTL1 ***
#define FB_HSDCTL1_HPJKTYPE
#define FM_HSDCTL1_HPJKTYPE

#define FB_HSDCTL1_CON_DET_PWD
#define FM_HSDCTL1_CON_DET_PWD

#define FB_HSDCTL1_DETCYC
#define FM_HSDCTL1_DETCYC

#define FB_HSDCTL1_HPDLYBYP
#define FM_HSDCTL1_HPDLYBYP

#define FB_HSDCTL1_HSDETPOL
#define FM_HSDCTL1_HSDETPOL

#define FB_HSDCTL1_HPID_EN
#define FM_HSDCTL1_HPID_EN

#define FB_HSDCTL1_GBLHS_EN
#define FM_HSDCTL1_GBLHS_EN

// *** HSDCTL2 ***
#define FB_HSDCTL2_FMICBIAS1
#define FM_HSDCTL2_FMICBIAS1

#define FB_HSDCTL2_MB1MODE
#define FM_HSDCTL2_MB1MODE
#define FV_MB1MODE_AUTO
#define FV_MB1MODE_MANUAL

#define FB_HSDCTL2_FORCETRG
#define FM_HSDCTL2_FORCETRG

#define FB_HSDCTL2_SWMODE
#define FM_HSDCTL2_SWMODE

#define FB_HSDCTL2_GHSHIZ
#define FM_HSDCTL2_GHSHIZ

#define FB_HSDCTL2_FPLUGTYPE
#define FM_HSDCTL2_FPLUGTYPE

// *** HSDSTAT ***
#define FB_HSDSTAT_MBIAS1DRV
#define FM_HSDSTAT_MBIAS1DRV

#define FB_HSDSTAT_HSDETSTAT
#define FM_HSDSTAT_HSDETSTAT

#define FB_HSDSTAT_PLUGTYPE
#define FM_HSDSTAT_PLUGTYPE

#define FB_HSDSTAT_HSDETDONE
#define FM_HSDSTAT_HSDETDONE

// *** HSDDELAY ***
#define FB_HSDDELAY_T_STABLE
#define FM_HSDDELAY_T_STABLE

// *** BUTCTL ***
#define FB_BUTCTL_BPUSHSTAT
#define FM_BUTCTL_BPUSHSTAT

#define FB_BUTCTL_BPUSHDET
#define FM_BUTCTL_BPUSHDET

#define FB_BUTCTL_BPUSHEN
#define FM_BUTCTL_BPUSHEN

#define FB_BUTCTL_BSTABLE_L
#define FM_BUTCTL_BSTABLE_L

#define FB_BUTCTL_BSTABLE_S
#define FM_BUTCTL_BSTABLE_S

// *** CH0AIC ***
#define FB_CH0AIC_INSELL
#define FM_CH0AIC_INSELL

#define FB_CH0AIC_MICBST0
#define FM_CH0AIC_MICBST0

#define FB_CH0AIC_LADCIN
#define FM_CH0AIC_LADCIN

#define FB_CH0AIC_IN_BYPS_L_SEL
#define FM_CH0AIC_IN_BYPS_L_SEL

#define FB_CH0AIC_IPCH0S
#define FM_CH0AIC_IPCH0S

// *** CH1AIC ***
#define FB_CH1AIC_INSELR
#define FM_CH1AIC_INSELR

#define FB_CH1AIC_MICBST1
#define FM_CH1AIC_MICBST1

#define FB_CH1AIC_RADCIN
#define FM_CH1AIC_RADCIN

#define FB_CH1AIC_IN_BYPS_R_SEL
#define FM_CH1AIC_IN_BYPS_R_SEL

#define FB_CH1AIC_IPCH1S
#define FM_CH1AIC_IPCH1S

// *** ICTL0 ***
#define FB_ICTL0_IN1POL
#define FM_ICTL0_IN1POL

#define FB_ICTL0_IN0POL
#define FM_ICTL0_IN0POL

#define FB_ICTL0_INPCH10SEL
#define FM_ICTL0_INPCH10SEL

#define FB_ICTL0_IN1MUTE
#define FM_ICTL0_IN1MUTE

#define FB_ICTL0_IN0MUTE
#define FM_ICTL0_IN0MUTE

#define FB_ICTL0_IN1HP
#define FM_ICTL0_IN1HP

#define FB_ICTL0_IN0HP
#define FM_ICTL0_IN0HP

// *** ICTL1 ***
#define FB_ICTL1_IN3POL
#define FM_ICTL1_IN3POL

#define FB_ICTL1_IN2POL
#define FM_ICTL1_IN2POL

#define FB_ICTL1_INPCH32SEL
#define FM_ICTL1_INPCH32SEL

#define FB_ICTL1_IN3MUTE
#define FM_ICTL1_IN3MUTE

#define FB_ICTL1_IN2MUTE
#define FM_ICTL1_IN2MUTE

#define FB_ICTL1_IN3HP
#define FM_ICTL1_IN3HP

#define FB_ICTL1_IN2HP
#define FM_ICTL1_IN2HP

// *** MICBIAS ***
#define FB_MICBIAS_MICBOV2
#define FM_MICBIAS_MICBOV2

#define FB_MICBIAS_MICBOV1
#define FM_MICBIAS_MICBOV1

#define FB_MICBIAS_SPARE1
#define FM_MICBIAS_SPARE1

#define FB_MICBIAS_SPARE2
#define FM_MICBIAS_SPARE2

// *** PGAZ ***
#define FB_PGAZ_INHPOR
#define FM_PGAZ_INHPOR

#define FB_PGAZ_TOEN
#define FM_PGAZ_TOEN

// *** ASRCILVOL ***
#define FB_ASRCILVOL_ASRCILVOL
#define FM_ASRCILVOL_ASRCILVOL

// *** ASRCIRVOL ***
#define FB_ASRCIRVOL_ASRCIRVOL
#define FM_ASRCIRVOL_ASRCIRVOL

// *** ASRCOLVOL ***
#define FB_ASRCOLVOL_ASRCOLVOL
#define FM_ASRCOLVOL_ASRCOLVOL

// *** ASRCORVOL ***
#define FB_ASRCORVOL_ASRCOLVOL
#define FM_ASRCORVOL_ASRCOLVOL

// *** IVOLCTLU ***
#define FB_IVOLCTLU_IFADE
#define FM_IVOLCTLU_IFADE

#define FB_IVOLCTLU_INPVOLU
#define FM_IVOLCTLU_INPVOLU

#define FB_IVOLCTLU_PGAVOLU
#define FM_IVOLCTLU_PGAVOLU

#define FB_IVOLCTLU_ASRCVOLU
#define FM_IVOLCTLU_ASRCVOLU

// *** ALCCTL0 ***
#define FB_ALCCTL0_ALCMODE
#define FM_ALCCTL0_ALCMODE

#define FB_ALCCTL0_ALCREF
#define FM_ALCCTL0_ALCREF

#define FB_ALCCTL0_ALCEN3
#define FM_ALCCTL0_ALCEN3

#define FB_ALCCTL0_ALCEN2
#define FM_ALCCTL0_ALCEN2

#define FB_ALCCTL0_ALCEN1
#define FM_ALCCTL0_ALCEN1

#define FB_ALCCTL0_ALCEN0
#define FM_ALCCTL0_ALCEN0

// *** ALCCTL1 ***
#define FB_ALCCTL1_MAXGAIN
#define FM_ALCCTL1_MAXGAIN

#define FB_ALCCTL1_ALCL
#define FM_ALCCTL1_ALCL

// *** ALCCTL2 ***
#define FB_ALCCTL2_ALCZC
#define FM_ALCCTL2_ALCZC

#define FB_ALCCTL2_MINGAIN
#define FM_ALCCTL2_MINGAIN

#define FB_ALCCTL2_HLD
#define FM_ALCCTL2_HLD

// *** ALCCTL3 ***
#define FB_ALCCTL3_DCY
#define FM_ALCCTL3_DCY

#define FB_ALCCTL3_ATK
#define FM_ALCCTL3_ATK

// *** NGATE ***
#define FB_NGATE_NGTH
#define FM_NGATE_NGTH

#define FB_NGATE_NGG
#define FM_NGATE_NGG

#define FB_NGATE_NGAT
#define FM_NGATE_NGAT

// *** DMICCTL ***
#define FB_DMICCTL_DMIC2EN
#define FM_DMICCTL_DMIC2EN

#define FB_DMICCTL_DMIC1EN
#define FM_DMICCTL_DMIC1EN

#define FB_DMICCTL_DMONO
#define FM_DMICCTL_DMONO

#define FB_DMICCTL_DMDCLK
#define FM_DMICCTL_DMDCLK

#define FB_DMICCTL_DMRATE
#define FM_DMICCTL_DMRATE

// *** DACCTL ***
#define FB_DACCTL_DACPOLR
#define FM_DACCTL_DACPOLR
#define FV_DACPOLR_NORMAL
#define FV_DACPOLR_INVERTED

#define FB_DACCTL_DACPOLL
#define FM_DACCTL_DACPOLL
#define FV_DACPOLL_NORMAL
#define FV_DACPOLL_INVERTED

#define FB_DACCTL_DACDITH
#define FM_DACCTL_DACDITH
#define FV_DACDITH_DYNAMIC_HALF
#define FV_DACDITH_DYNAMIC_FULL
#define FV_DACDITH_DISABLED
#define FV_DACDITH_STATIC

#define FB_DACCTL_DACMUTE
#define FM_DACCTL_DACMUTE
#define FV_DACMUTE_ENABLE
#define FV_DACMUTE_DISABLE

#define FB_DACCTL_DACDEM
#define FM_DACCTL_DACDEM
#define FV_DACDEM_ENABLE
#define FV_DACDEM_DISABLE

#define FB_DACCTL_ABYPASS
#define FM_DACCTL_ABYPASS

// *** SPKCTL ***
#define FB_SPKCTL_SPKPOLR
#define FM_SPKCTL_SPKPOLR
#define FV_SPKPOLR_NORMAL
#define FV_SPKPOLR_INVERTED

#define FB_SPKCTL_SPKPOLL
#define FM_SPKCTL_SPKPOLL
#define FV_SPKPOLL_NORMAL
#define FV_SPKPOLL_INVERTED

#define FB_SPKCTL_SPKMUTE
#define FM_SPKCTL_SPKMUTE
#define FV_SPKMUTE_ENABLE
#define FV_SPKMUTE_DISABLE

#define FB_SPKCTL_SPKDEM
#define FM_SPKCTL_SPKDEM
#define FV_SPKDEM_ENABLE
#define FV_SPKDEM_DISABLE

// *** SUBCTL ***
#define FB_SUBCTL_SUBPOL
#define FM_SUBCTL_SUBPOL

#define FB_SUBCTL_SUBMUTE
#define FM_SUBCTL_SUBMUTE

#define FB_SUBCTL_SUBDEM
#define FM_SUBCTL_SUBDEM

#define FB_SUBCTL_SUBMUX
#define FM_SUBCTL_SUBMUX

#define FB_SUBCTL_SUBILMDIS
#define FM_SUBCTL_SUBILMDIS

// *** DCCTL ***
#define FB_DCCTL_SUBDCBYP
#define FM_DCCTL_SUBDCBYP

#define FB_DCCTL_DACDCBYP
#define FM_DCCTL_DACDCBYP

#define FB_DCCTL_SPKDCBYP
#define FM_DCCTL_SPKDCBYP

#define FB_DCCTL_DCCOEFSEL
#define FM_DCCTL_DCCOEFSEL

// *** OVOLCTLU ***
#define FB_OVOLCTLU_OFADE
#define FM_OVOLCTLU_OFADE

#define FB_OVOLCTLU_SUBVOLU
#define FM_OVOLCTLU_SUBVOLU

#define FB_OVOLCTLU_MVOLU
#define FM_OVOLCTLU_MVOLU

#define FB_OVOLCTLU_SPKVOLU
#define FM_OVOLCTLU_SPKVOLU

#define FB_OVOLCTLU_HPVOLU
#define FM_OVOLCTLU_HPVOLU

// *** MUTEC ***
#define FB_MUTEC_ZDSTAT
#define FM_MUTEC_ZDSTAT

#define FB_MUTEC_ZDLEN
#define FM_MUTEC_ZDLEN

#define FB_MUTEC_APWD
#define FM_MUTEC_APWD

#define FB_MUTEC_AMUTE
#define FM_MUTEC_AMUTE

// *** MVOLL ***
#define FB_MVOLL_MVOL_L
#define FM_MVOLL_MVOL_L

// *** MVOLR ***
#define FB_MVOLR_MVOL_R
#define FM_MVOLR_MVOL_R

// *** HPVOLL ***
#define FB_HPVOLL_HPVOL_L
#define FM_HPVOLL_HPVOL_L

// *** HPVOLR ***
#define FB_HPVOLR_HPVOL_R
#define FM_HPVOLR_HPVOL_R

// *** SPKVOLL ***
#define FB_SPKVOLL_SPKVOL_L
#define FM_SPKVOLL_SPKVOL_L

// *** SPKVOLR ***
#define FB_SPKVOLR_SPKVOL_R
#define FM_SPKVOLR_SPKVOL_R

// *** SUBVOL ***
#define FB_SUBVOL_SUBVOL
#define FM_SUBVOL_SUBVOL

// *** COP0 ***
#define FB_COP0_COPATTEN
#define FM_COP0_COPATTEN

#define FB_COP0_COPGAIN
#define FM_COP0_COPGAIN

#define FB_COP0_HDELTAEN
#define FM_COP0_HDELTAEN

#define FB_COP0_COPTARGET
#define FM_COP0_COPTARGET

// *** COP1 ***
#define FB_COP1_HDCOMPMODE
#define FM_COP1_HDCOMPMODE

#define FB_COP1_AVGLENGTH
#define FM_COP1_AVGLENGTH

#define FB_COP1_MONRATE
#define FM_COP1_MONRATE

// *** COPSTAT ***
#define FB_COPSTAT_HDELTADET
#define FM_COPSTAT_HDELTADET

#define FB_COPSTAT_UV
#define FM_COPSTAT_UV

#define FB_COPSTAT_COPADJ
#define FM_COPSTAT_COPADJ

// *** PWM0 ***
#define FB_PWM0_SCTO
#define FM_PWM0_SCTO

#define FB_PWM0_UVLO
#define FM_PWM0_UVLO

#define FB_PWM0_BFDIS
#define FM_PWM0_BFDIS

#define FB_PWM0_PWMMODE
#define FM_PWM0_PWMMODE

#define FB_PWM0_NOOFFSET
#define FM_PWM0_NOOFFSET

// *** PWM1 ***
#define FB_PWM1_DITHPOS
#define FM_PWM1_DITHPOS

#define FB_PWM1_DYNDITH
#define FM_PWM1_DYNDITH

#define FB_PWM1_DITHDIS
#define FM_PWM1_DITHDIS

// *** PWM2 ***
// *** PWM3 ***
#define FB_PWM3_PWMMUX
#define FM_PWM3_PWMMUX

#define FB_PWM3_CVALUE
#define FM_PWM3_CVALUE

// *** HPSW ***
#define FB_HPSW_HPDETSTATE
#define FM_HPSW_HPDETSTATE

#define FB_HPSW_HPSWEN
#define FM_HPSW_HPSWEN

#define FB_HPSW_HPSWPOL
#define FM_HPSW_HPSWPOL

#define FB_HPSW_TSDEN
#define FM_HPSW_TSDEN

// *** THERMTS ***
#define FB_THERMTS_TRIPHS
#define FM_THERMTS_TRIPHS

#define FB_THERMTS_TRIPLS
#define FM_THERMTS_TRIPLS

#define FB_THERMTS_TRIPSPLIT
#define FM_THERMTS_TRIPSPLIT

#define FB_THERMTS_TRIPSHIFT
#define FM_THERMTS_TRIPSHIFT

#define FB_THERMTS_TSPOLL
#define FM_THERMTS_TSPOLL

// *** THERMSPK1 ***
#define FB_THERMSPK1_FORCEPWD
#define FM_THERMSPK1_FORCEPWD

#define FB_THERMSPK1_INSTCUTMODE
#define FM_THERMSPK1_INSTCUTMODE

#define FB_THERMSPK1_INCRATIO
#define FM_THERMSPK1_INCRATIO

#define FB_THERMSPK1_INCSTEP
#define FM_THERMSPK1_INCSTEP

#define FB_THERMSPK1_DECSTEP
#define FM_THERMSPK1_DECSTEP

// *** THERMSTAT ***
#define FB_THERMSTAT_FPWDS
#define FM_THERMSTAT_FPWDS

#define FB_THERMSTAT_VOLSTAT
#define FM_THERMSTAT_VOLSTAT

// *** SCSTAT ***
#define FB_SCSTAT_ESDF
#define FM_SCSTAT_ESDF

#define FB_SCSTAT_CPF
#define FM_SCSTAT_CPF

#define FB_SCSTAT_CLSDF
#define FM_SCSTAT_CLSDF

// *** SDMON ***
#define FB_SDMON_SDFORCE
#define FM_SDMON_SDFORCE

#define FB_SDMON_SDVALUE
#define FM_SDMON_SDVALUE

// *** SPKEQFILT ***
#define FB_SPKEQFILT_EQ2EN
#define FM_SPKEQFILT_EQ2EN
#define FV_EQ2EN_ENABLE
#define FV_EQ2EN_DISABLE

#define FB_SPKEQFILT_EQ2BE
#define FM_SPKEQFILT_EQ2BE

#define FB_SPKEQFILT_EQ1EN
#define FM_SPKEQFILT_EQ1EN
#define FV_EQ1EN_ENABLE
#define FV_EQ1EN_DISABLE

#define FB_SPKEQFILT_EQ1BE
#define FM_SPKEQFILT_EQ1BE

#define SPKEQFILT_EQEN_ENABLE
#define SPKEQFILT_EQEN_DISABLE

// *** SPKCRWDL ***
#define FB_SPKCRWDL_WDATA_L
#define FM_SPKCRWDL_WDATA_L

// *** SPKCRWDM ***
#define FB_SPKCRWDM_WDATA_M
#define FM_SPKCRWDM_WDATA_M

// *** SPKCRWDH ***
#define FB_SPKCRWDH_WDATA_H
#define FM_SPKCRWDH_WDATA_H

// *** SPKCRRDL ***
#define FB_SPKCRRDL_RDATA_L
#define FM_SPKCRRDL_RDATA_L

// *** SPKCRRDM ***
#define FB_SPKCRRDM_RDATA_M
#define FM_SPKCRRDM_RDATA_M

// *** SPKCRRDH ***
#define FB_SPKCRRDH_RDATA_H
#define FM_SPKCRRDH_RDATA_H

// *** SPKCRADD ***
#define FB_SPKCRADD_ADDRESS
#define FM_SPKCRADD_ADDRESS

// *** SPKCRS ***
#define FB_SPKCRS_ACCSTAT
#define FM_SPKCRS_ACCSTAT

// *** SPKMBCEN ***
#define FB_SPKMBCEN_MBCEN3
#define FM_SPKMBCEN_MBCEN3
#define FV_MBCEN3_ENABLE
#define FV_MBCEN3_DISABLE

#define FB_SPKMBCEN_MBCEN2
#define FM_SPKMBCEN_MBCEN2
#define FV_MBCEN2_ENABLE
#define FV_MBCEN2_DISABLE

#define FB_SPKMBCEN_MBCEN1
#define FM_SPKMBCEN_MBCEN1
#define FV_MBCEN1_ENABLE
#define FV_MBCEN1_DISABLE

#define SPKMBCEN_MBCEN_ENABLE
#define SPKMBCEN_MBCEN_DISABLE

// *** SPKMBCCTL ***
#define FB_SPKMBCCTL_LVLMODE3
#define FM_SPKMBCCTL_LVLMODE3

#define FB_SPKMBCCTL_WINSEL3
#define FM_SPKMBCCTL_WINSEL3

#define FB_SPKMBCCTL_LVLMODE2
#define FM_SPKMBCCTL_LVLMODE2

#define FB_SPKMBCCTL_WINSEL2
#define FM_SPKMBCCTL_WINSEL2

#define FB_SPKMBCCTL_LVLMODE1
#define FM_SPKMBCCTL_LVLMODE1

#define FB_SPKMBCCTL_WINSEL1
#define FM_SPKMBCCTL_WINSEL1

// *** SPKCLECTL ***
#define FB_SPKCLECTL_LVLMODE
#define FM_SPKCLECTL_LVLMODE

#define FB_SPKCLECTL_WINSEL
#define FM_SPKCLECTL_WINSEL

#define FB_SPKCLECTL_EXPEN
#define FM_SPKCLECTL_EXPEN
#define FV_EXPEN_ENABLE
#define FV_EXPEN_DISABLE

#define FB_SPKCLECTL_LIMEN
#define FM_SPKCLECTL_LIMEN
#define FV_LIMEN_ENABLE
#define FV_LIMEN_DISABLE

#define FB_SPKCLECTL_COMPEN
#define FM_SPKCLECTL_COMPEN
#define FV_COMPEN_ENABLE
#define FV_COMPEN_DISABLE

// *** SPKCLEMUG ***
#define FB_SPKCLEMUG_MUGAIN
#define FM_SPKCLEMUG_MUGAIN

// *** SPKCOMPTHR ***
#define FB_SPKCOMPTHR_THRESH
#define FM_SPKCOMPTHR_THRESH

// *** SPKCOMPRAT ***
#define FB_SPKCOMPRAT_RATIO
#define FM_SPKCOMPRAT_RATIO

// *** SPKCOMPATKL ***
#define FB_SPKCOMPATKL_TCATKL
#define FM_SPKCOMPATKL_TCATKL

// *** SPKCOMPATKH ***
#define FB_SPKCOMPATKH_TCATKH
#define FM_SPKCOMPATKH_TCATKH

// *** SPKCOMPRELL ***
#define FB_SPKCOMPRELL_TCRELL
#define FM_SPKCOMPRELL_TCRELL

// *** SPKCOMPRELH ***
#define FB_SPKCOMPRELH_TCRELH
#define FM_SPKCOMPRELH_TCRELH

// *** SPKLIMTHR ***
#define FB_SPKLIMTHR_THRESH
#define FM_SPKLIMTHR_THRESH

// *** SPKLIMTGT ***
#define FB_SPKLIMTGT_TARGET
#define FM_SPKLIMTGT_TARGET

// *** SPKLIMATKL ***
#define FB_SPKLIMATKL_TCATKL
#define FM_SPKLIMATKL_TCATKL

// *** SPKLIMATKH ***
#define FB_SPKLIMATKH_TCATKH
#define FM_SPKLIMATKH_TCATKH

// *** SPKLIMRELL ***
#define FB_SPKLIMRELL_TCRELL
#define FM_SPKLIMRELL_TCRELL

// *** SPKLIMRELH ***
#define FB_SPKLIMRELH_TCRELH
#define FM_SPKLIMRELH_TCRELH

// *** SPKEXPTHR ***
#define FB_SPKEXPTHR_THRESH
#define FM_SPKEXPTHR_THRESH

// *** SPKEXPRAT ***
#define FB_SPKEXPRAT_RATIO
#define FM_SPKEXPRAT_RATIO

// *** SPKEXPATKL ***
#define FB_SPKEXPATKL_TCATKL
#define FM_SPKEXPATKL_TCATKL

// *** SPKEXPATKH ***
#define FB_SPKEXPATKH_TCATKH
#define FM_SPKEXPATKH_TCATKH

// *** SPKEXPRELL ***
#define FB_SPKEXPRELL_TCRELL
#define FM_SPKEXPRELL_TCRELL

// *** SPKEXPRELH ***
#define FB_SPKEXPRELH_TCRELH
#define FM_SPKEXPRELH_TCRELH

// *** SPKFXCTL ***
#define FB_SPKFXCTL_3DEN
#define FM_SPKFXCTL_3DEN

#define FB_SPKFXCTL_TEEN
#define FM_SPKFXCTL_TEEN

#define FB_SPKFXCTL_TNLFBYP
#define FM_SPKFXCTL_TNLFBYP

#define FB_SPKFXCTL_BEEN
#define FM_SPKFXCTL_BEEN

#define FB_SPKFXCTL_BNLFBYP
#define FM_SPKFXCTL_BNLFBYP

// *** DACEQFILT ***
#define FB_DACEQFILT_EQ2EN
#define FM_DACEQFILT_EQ2EN
#define FV_EQ2EN_ENABLE
#define FV_EQ2EN_DISABLE

#define FB_DACEQFILT_EQ2BE
#define FM_DACEQFILT_EQ2BE

#define FB_DACEQFILT_EQ1EN
#define FM_DACEQFILT_EQ1EN
#define FV_EQ1EN_ENABLE
#define FV_EQ1EN_DISABLE

#define FB_DACEQFILT_EQ1BE
#define FM_DACEQFILT_EQ1BE

#define DACEQFILT_EQEN_ENABLE
#define DACEQFILT_EQEN_DISABLE

// *** DACCRWDL ***
#define FB_DACCRWDL_WDATA_L
#define FM_DACCRWDL_WDATA_L

// *** DACCRWDM ***
#define FB_DACCRWDM_WDATA_M
#define FM_DACCRWDM_WDATA_M

// *** DACCRWDH ***
#define FB_DACCRWDH_WDATA_H
#define FM_DACCRWDH_WDATA_H

// *** DACCRRDL ***
#define FB_DACCRRDL_RDATA_L
#define FM_DACCRRDL_RDATA_L

// *** DACCRRDM ***
#define FB_DACCRRDM_RDATA_M
#define FM_DACCRRDM_RDATA_M

// *** DACCRRDH ***
#define FB_DACCRRDH_RDATA_H
#define FM_DACCRRDH_RDATA_H

// *** DACCRADD ***
#define FB_DACCRADD_ADDRESS
#define FM_DACCRADD_ADDRESS

// *** DACCRS ***
#define FB_DACCRS_ACCSTAT
#define FM_DACCRS_ACCSTAT

// *** DACMBCEN ***
#define FB_DACMBCEN_MBCEN3
#define FM_DACMBCEN_MBCEN3
#define FV_MBCEN3_ENABLE
#define FV_MBCEN3_DISABLE

#define FB_DACMBCEN_MBCEN2
#define FM_DACMBCEN_MBCEN2
#define FV_MBCEN2_ENABLE
#define FV_MBCEN2_DISABLE

#define FB_DACMBCEN_MBCEN1
#define FM_DACMBCEN_MBCEN1
#define FV_MBCEN1_ENABLE
#define FV_MBCEN1_DISABLE

#define DACMBCEN_MBCEN_ENABLE
#define DACMBCEN_MBCEN_DISABLE

// *** DACMBCCTL ***
#define FB_DACMBCCTL_LVLMODE3
#define FM_DACMBCCTL_LVLMODE3

#define FB_DACMBCCTL_WINSEL3
#define FM_DACMBCCTL_WINSEL3

#define FB_DACMBCCTL_LVLMODE2
#define FM_DACMBCCTL_LVLMODE2

#define FB_DACMBCCTL_WINSEL2
#define FM_DACMBCCTL_WINSEL2

#define FB_DACMBCCTL_LVLMODE1
#define FM_DACMBCCTL_LVLMODE1

#define FB_DACMBCCTL_WINSEL1
#define FM_DACMBCCTL_WINSEL1

// *** DACCLECTL ***
#define FB_DACCLECTL_LVLMODE
#define FM_DACCLECTL_LVLMODE

#define FB_DACCLECTL_WINSEL
#define FM_DACCLECTL_WINSEL

#define FB_DACCLECTL_EXPEN
#define FM_DACCLECTL_EXPEN
#define FV_EXPEN_ENABLE
#define FV_EXPEN_DISABLE

#define FB_DACCLECTL_LIMEN
#define FM_DACCLECTL_LIMEN
#define FV_LIMEN_ENABLE
#define FV_LIMEN_DISABLE

#define FB_DACCLECTL_COMPEN
#define FM_DACCLECTL_COMPEN
#define FV_COMPEN_ENABLE
#define FV_COMPEN_DISABLE

// *** DACCLEMUG ***
#define FB_DACCLEMUG_MUGAIN
#define FM_DACCLEMUG_MUGAIN

// *** DACCOMPTHR ***
#define FB_DACCOMPTHR_THRESH
#define FM_DACCOMPTHR_THRESH

// *** DACCOMPRAT ***
#define FB_DACCOMPRAT_RATIO
#define FM_DACCOMPRAT_RATIO

// *** DACCOMPATKL ***
#define FB_DACCOMPATKL_TCATKL
#define FM_DACCOMPATKL_TCATKL

// *** DACCOMPATKH ***
#define FB_DACCOMPATKH_TCATKH
#define FM_DACCOMPATKH_TCATKH

// *** DACCOMPRELL ***
#define FB_DACCOMPRELL_TCRELL
#define FM_DACCOMPRELL_TCRELL

// *** DACCOMPRELH ***
#define FB_DACCOMPRELH_TCRELH
#define FM_DACCOMPRELH_TCRELH

// *** DACLIMTHR ***
#define FB_DACLIMTHR_THRESH
#define FM_DACLIMTHR_THRESH

// *** DACLIMTGT ***
#define FB_DACLIMTGT_TARGET
#define FM_DACLIMTGT_TARGET

// *** DACLIMATKL ***
#define FB_DACLIMATKL_TCATKL
#define FM_DACLIMATKL_TCATKL

// *** DACLIMATKH ***
#define FB_DACLIMATKH_TCATKH
#define FM_DACLIMATKH_TCATKH

// *** DACLIMRELL ***
#define FB_DACLIMRELL_TCRELL
#define FM_DACLIMRELL_TCRELL

// *** DACLIMRELH ***
#define FB_DACLIMRELH_TCRELH
#define FM_DACLIMRELH_TCRELH

// *** DACEXPTHR ***
#define FB_DACEXPTHR_THRESH
#define FM_DACEXPTHR_THRESH

// *** DACEXPRAT ***
#define FB_DACEXPRAT_RATIO
#define FM_DACEXPRAT_RATIO

// *** DACEXPATKL ***
#define FB_DACEXPATKL_TCATKL
#define FM_DACEXPATKL_TCATKL

// *** DACEXPATKH ***
#define FB_DACEXPATKH_TCATKH
#define FM_DACEXPATKH_TCATKH

// *** DACEXPRELL ***
#define FB_DACEXPRELL_TCRELL
#define FM_DACEXPRELL_TCRELL

// *** DACEXPRELH ***
#define FB_DACEXPRELH_TCRELH
#define FM_DACEXPRELH_TCRELH

// *** DACFXCTL ***
#define FB_DACFXCTL_3DEN
#define FM_DACFXCTL_3DEN

#define FB_DACFXCTL_TEEN
#define FM_DACFXCTL_TEEN

#define FB_DACFXCTL_TNLFBYP
#define FM_DACFXCTL_TNLFBYP

#define FB_DACFXCTL_BEEN
#define FM_DACFXCTL_BEEN

#define FB_DACFXCTL_BNLFBYP
#define FM_DACFXCTL_BNLFBYP

// *** SUBEQFILT ***
#define FB_SUBEQFILT_EQ2EN
#define FM_SUBEQFILT_EQ2EN
#define FV_EQ2EN_ENABLE
#define FV_EQ2EN_DISABLE

#define FB_SUBEQFILT_EQ2BE
#define FM_SUBEQFILT_EQ2BE

#define FB_SUBEQFILT_EQ1EN
#define FM_SUBEQFILT_EQ1EN
#define FV_EQ1EN_ENABLE
#define FV_EQ1EN_DISABLE

#define FB_SUBEQFILT_EQ1BE
#define FM_SUBEQFILT_EQ1BE

#define SUBEQFILT_EQEN_ENABLE
#define SUBEQFILT_EQEN_DISABLE

// *** SUBCRWDL ***
#define FB_SUBCRWDL_WDATA_L
#define FM_SUBCRWDL_WDATA_L

// *** SUBCRWDM ***
#define FB_SUBCRWDM_WDATA_M
#define FM_SUBCRWDM_WDATA_M

// *** SUBCRWDH ***
#define FB_SUBCRWDH_WDATA_H
#define FM_SUBCRWDH_WDATA_H

// *** SUBCRRDL ***
#define FB_SUBCRRDL_RDATA_L
#define FM_SUBCRRDL_RDATA_L

// *** SUBCRRDM ***
#define FB_SUBCRRDM_RDATA_M
#define FM_SUBCRRDM_RDATA_M

// *** SUBCRRDH ***
#define FB_SUBCRRDH_RDATA_H
#define FM_SUBCRRDH_RDATA_H

// *** SUBCRADD ***
#define FB_SUBCRADD_ADDRESS
#define FM_SUBCRADD_ADDRESS

// *** SUBCRS ***
#define FB_SUBCRS_ACCSTAT
#define FM_SUBCRS_ACCSTAT

// *** SUBMBCEN ***
#define FB_SUBMBCEN_MBCEN3
#define FM_SUBMBCEN_MBCEN3
#define FV_MBCEN3_ENABLE
#define FV_MBCEN3_DISABLE

#define FB_SUBMBCEN_MBCEN2
#define FM_SUBMBCEN_MBCEN2
#define FV_MBCEN2_ENABLE
#define FV_MBCEN2_DISABLE

#define FB_SUBMBCEN_MBCEN1
#define FM_SUBMBCEN_MBCEN1
#define FV_MBCEN1_ENABLE
#define FV_MBCEN1_DISABLE

#define SUBMBCEN_MBCEN_ENABLE
#define SUBMBCEN_MBCEN_DISABLE

// *** SUBMBCCTL ***
#define FB_SUBMBCCTL_LVLMODE3
#define FM_SUBMBCCTL_LVLMODE3

#define FB_SUBMBCCTL_WINSEL3
#define FM_SUBMBCCTL_WINSEL3

#define FB_SUBMBCCTL_LVLMODE2
#define FM_SUBMBCCTL_LVLMODE2

#define FB_SUBMBCCTL_WINSEL2
#define FM_SUBMBCCTL_WINSEL2

#define FB_SUBMBCCTL_LVLMODE1
#define FM_SUBMBCCTL_LVLMODE1

#define FB_SUBMBCCTL_WINSEL1
#define FM_SUBMBCCTL_WINSEL1

// *** SUBCLECTL ***
#define FB_SUBCLECTL_LVLMODE
#define FM_SUBCLECTL_LVLMODE

#define FB_SUBCLECTL_WINSEL
#define FM_SUBCLECTL_WINSEL

#define FB_SUBCLECTL_EXPEN
#define FM_SUBCLECTL_EXPEN
#define FV_EXPEN_ENABLE
#define FV_EXPEN_DISABLE

#define FB_SUBCLECTL_LIMEN
#define FM_SUBCLECTL_LIMEN
#define FV_LIMEN_ENABLE
#define FV_LIMEN_DISABLE

#define FB_SUBCLECTL_COMPEN
#define FM_SUBCLECTL_COMPEN
#define FV_COMPEN_ENABLE
#define FV_COMPEN_DISABLE

// *** SUBCLEMUG ***
#define FB_SUBCLEMUG_MUGAIN
#define FM_SUBCLEMUG_MUGAIN

// *** SUBCOMPTHR ***
#define FB_SUBCOMPTHR_THRESH
#define FM_SUBCOMPTHR_THRESH

// *** SUBCOMPRAT ***
#define FB_SUBCOMPRAT_RATIO
#define FM_SUBCOMPRAT_RATIO

// *** SUBCOMPATKL ***
#define FB_SUBCOMPATKL_TCATKL
#define FM_SUBCOMPATKL_TCATKL

// *** SUBCOMPATKH ***
#define FB_SUBCOMPATKH_TCATKH
#define FM_SUBCOMPATKH_TCATKH

// *** SUBCOMPRELL ***
#define FB_SUBCOMPRELL_TCRELL
#define FM_SUBCOMPRELL_TCRELL

// *** SUBCOMPRELH ***
#define FB_SUBCOMPRELH_TCRELH
#define FM_SUBCOMPRELH_TCRELH

// *** SUBLIMTHR ***
#define FB_SUBLIMTHR_THRESH
#define FM_SUBLIMTHR_THRESH

// *** SUBLIMTGT ***
#define FB_SUBLIMTGT_TARGET
#define FM_SUBLIMTGT_TARGET

// *** SUBLIMATKL ***
#define FB_SUBLIMATKL_TCATKL
#define FM_SUBLIMATKL_TCATKL

// *** SUBLIMATKH ***
#define FB_SUBLIMATKH_TCATKH
#define FM_SUBLIMATKH_TCATKH

// *** SUBLIMRELL ***
#define FB_SUBLIMRELL_TCRELL
#define FM_SUBLIMRELL_TCRELL

// *** SUBLIMRELH ***
#define FB_SUBLIMRELH_TCRELH
#define FM_SUBLIMRELH_TCRELH

// *** SUBEXPTHR ***
#define FB_SUBEXPTHR_THRESH
#define FM_SUBEXPTHR_THRESH

// *** SUBEXPRAT ***
#define FB_SUBEXPRAT_RATIO
#define FM_SUBEXPRAT_RATIO

// *** SUBEXPATKL ***
#define FB_SUBEXPATKL_TCATKL
#define FM_SUBEXPATKL_TCATKL

// *** SUBEXPATKH ***
#define FB_SUBEXPATKH_TCATKH
#define FM_SUBEXPATKH_TCATKH

// *** SUBEXPRELL ***
#define FB_SUBEXPRELL_TCRELL
#define FM_SUBEXPRELL_TCRELL

// *** SUBEXPRELH ***
#define FB_SUBEXPRELH_TCRELH
#define FM_SUBEXPRELH_TCRELH

// *** SUBFXCTL ***
#define FB_SUBFXCTL_TEEN
#define FM_SUBFXCTL_TEEN

#define FB_SUBFXCTL_TNLFBYP
#define FM_SUBFXCTL_TNLFBYP

#define FB_SUBFXCTL_BEEN
#define FM_SUBFXCTL_BEEN

#define FB_SUBFXCTL_BNLFBYP
#define FM_SUBFXCTL_BNLFBYP

#endif /* __REDWOODPUBLIC_H__ */