894 lines
60 KiB
C
894 lines
60 KiB
C
|
/***************************************************************************
|
||
|
* __________ __ ___.
|
||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||
|
* \/ \/ \/ \/ \/
|
||
|
* This file was automatically generated by headergen, DO NOT EDIT it.
|
||
|
* headergen version: 3.0.0
|
||
|
* stmp3600 version: 2.4.0
|
||
|
* stmp3600 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_STMP3600_AUDIOOUT_H__
|
||
|
#define __HEADERGEN_STMP3600_AUDIOOUT_H__
|
||
|
|
||
|
#define HW_AUDIOOUT_CTRL HW(AUDIOOUT_CTRL)
|
||
|
#define HWA_AUDIOOUT_CTRL (0x80048000 + 0x0)
|
||
|
#define HWT_AUDIOOUT_CTRL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_CTRL AUDIOOUT_CTRL
|
||
|
#define HWI_AUDIOOUT_CTRL
|
||
|
#define HW_AUDIOOUT_CTRL_SET HW(AUDIOOUT_CTRL_SET)
|
||
|
#define HWA_AUDIOOUT_CTRL_SET (HWA_AUDIOOUT_CTRL + 0x4)
|
||
|
#define HWT_AUDIOOUT_CTRL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_CTRL_SET AUDIOOUT_CTRL
|
||
|
#define HWI_AUDIOOUT_CTRL_SET
|
||
|
#define HW_AUDIOOUT_CTRL_CLR HW(AUDIOOUT_CTRL_CLR)
|
||
|
#define HWA_AUDIOOUT_CTRL_CLR (HWA_AUDIOOUT_CTRL + 0x8)
|
||
|
#define HWT_AUDIOOUT_CTRL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_CTRL_CLR AUDIOOUT_CTRL
|
||
|
#define HWI_AUDIOOUT_CTRL_CLR
|
||
|
#define HW_AUDIOOUT_CTRL_TOG HW(AUDIOOUT_CTRL_TOG)
|
||
|
#define HWA_AUDIOOUT_CTRL_TOG (HWA_AUDIOOUT_CTRL + 0xc)
|
||
|
#define HWT_AUDIOOUT_CTRL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_CTRL_TOG AUDIOOUT_CTRL
|
||
|
#define HWI_AUDIOOUT_CTRL_TOG
|
||
|
#define BP_AUDIOOUT_CTRL_SFTRST 31
|
||
|
#define BM_AUDIOOUT_CTRL_SFTRST 0x80000000
|
||
|
#define BF_AUDIOOUT_CTRL_SFTRST(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_AUDIOOUT_CTRL_SFTRST(v) BM_AUDIOOUT_CTRL_SFTRST
|
||
|
#define BF_AUDIOOUT_CTRL_SFTRST_V(e) BF_AUDIOOUT_CTRL_SFTRST(BV_AUDIOOUT_CTRL_SFTRST__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_SFTRST_V(v) BM_AUDIOOUT_CTRL_SFTRST
|
||
|
#define BP_AUDIOOUT_CTRL_CLKGATE 30
|
||
|
#define BM_AUDIOOUT_CTRL_CLKGATE 0x40000000
|
||
|
#define BF_AUDIOOUT_CTRL_CLKGATE(v) (((v) & 0x1) << 30)
|
||
|
#define BFM_AUDIOOUT_CTRL_CLKGATE(v) BM_AUDIOOUT_CTRL_CLKGATE
|
||
|
#define BF_AUDIOOUT_CTRL_CLKGATE_V(e) BF_AUDIOOUT_CTRL_CLKGATE(BV_AUDIOOUT_CTRL_CLKGATE__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_CLKGATE_V(v) BM_AUDIOOUT_CTRL_CLKGATE
|
||
|
#define BP_AUDIOOUT_CTRL_DMAWAIT_COUNT 16
|
||
|
#define BM_AUDIOOUT_CTRL_DMAWAIT_COUNT 0x1f0000
|
||
|
#define BF_AUDIOOUT_CTRL_DMAWAIT_COUNT(v) (((v) & 0x1f) << 16)
|
||
|
#define BFM_AUDIOOUT_CTRL_DMAWAIT_COUNT(v) BM_AUDIOOUT_CTRL_DMAWAIT_COUNT
|
||
|
#define BF_AUDIOOUT_CTRL_DMAWAIT_COUNT_V(e) BF_AUDIOOUT_CTRL_DMAWAIT_COUNT(BV_AUDIOOUT_CTRL_DMAWAIT_COUNT__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_DMAWAIT_COUNT_V(v) BM_AUDIOOUT_CTRL_DMAWAIT_COUNT
|
||
|
#define BP_AUDIOOUT_CTRL_LR_SWAP 14
|
||
|
#define BM_AUDIOOUT_CTRL_LR_SWAP 0x4000
|
||
|
#define BF_AUDIOOUT_CTRL_LR_SWAP(v) (((v) & 0x1) << 14)
|
||
|
#define BFM_AUDIOOUT_CTRL_LR_SWAP(v) BM_AUDIOOUT_CTRL_LR_SWAP
|
||
|
#define BF_AUDIOOUT_CTRL_LR_SWAP_V(e) BF_AUDIOOUT_CTRL_LR_SWAP(BV_AUDIOOUT_CTRL_LR_SWAP__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_LR_SWAP_V(v) BM_AUDIOOUT_CTRL_LR_SWAP
|
||
|
#define BP_AUDIOOUT_CTRL_EDGE_SYNC 13
|
||
|
#define BM_AUDIOOUT_CTRL_EDGE_SYNC 0x2000
|
||
|
#define BF_AUDIOOUT_CTRL_EDGE_SYNC(v) (((v) & 0x1) << 13)
|
||
|
#define BFM_AUDIOOUT_CTRL_EDGE_SYNC(v) BM_AUDIOOUT_CTRL_EDGE_SYNC
|
||
|
#define BF_AUDIOOUT_CTRL_EDGE_SYNC_V(e) BF_AUDIOOUT_CTRL_EDGE_SYNC(BV_AUDIOOUT_CTRL_EDGE_SYNC__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_EDGE_SYNC_V(v) BM_AUDIOOUT_CTRL_EDGE_SYNC
|
||
|
#define BP_AUDIOOUT_CTRL_INVERT_1BIT 12
|
||
|
#define BM_AUDIOOUT_CTRL_INVERT_1BIT 0x1000
|
||
|
#define BF_AUDIOOUT_CTRL_INVERT_1BIT(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_AUDIOOUT_CTRL_INVERT_1BIT(v) BM_AUDIOOUT_CTRL_INVERT_1BIT
|
||
|
#define BF_AUDIOOUT_CTRL_INVERT_1BIT_V(e) BF_AUDIOOUT_CTRL_INVERT_1BIT(BV_AUDIOOUT_CTRL_INVERT_1BIT__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_INVERT_1BIT_V(v) BM_AUDIOOUT_CTRL_INVERT_1BIT
|
||
|
#define BP_AUDIOOUT_CTRL_SS3D_EFFECT 8
|
||
|
#define BM_AUDIOOUT_CTRL_SS3D_EFFECT 0x300
|
||
|
#define BF_AUDIOOUT_CTRL_SS3D_EFFECT(v) (((v) & 0x3) << 8)
|
||
|
#define BFM_AUDIOOUT_CTRL_SS3D_EFFECT(v) BM_AUDIOOUT_CTRL_SS3D_EFFECT
|
||
|
#define BF_AUDIOOUT_CTRL_SS3D_EFFECT_V(e) BF_AUDIOOUT_CTRL_SS3D_EFFECT(BV_AUDIOOUT_CTRL_SS3D_EFFECT__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_SS3D_EFFECT_V(v) BM_AUDIOOUT_CTRL_SS3D_EFFECT
|
||
|
#define BP_AUDIOOUT_CTRL_WORD_LENGTH 6
|
||
|
#define BM_AUDIOOUT_CTRL_WORD_LENGTH 0x40
|
||
|
#define BF_AUDIOOUT_CTRL_WORD_LENGTH(v) (((v) & 0x1) << 6)
|
||
|
#define BFM_AUDIOOUT_CTRL_WORD_LENGTH(v) BM_AUDIOOUT_CTRL_WORD_LENGTH
|
||
|
#define BF_AUDIOOUT_CTRL_WORD_LENGTH_V(e) BF_AUDIOOUT_CTRL_WORD_LENGTH(BV_AUDIOOUT_CTRL_WORD_LENGTH__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_WORD_LENGTH_V(v) BM_AUDIOOUT_CTRL_WORD_LENGTH
|
||
|
#define BP_AUDIOOUT_CTRL_DAC_ZERO_ENABLE 5
|
||
|
#define BM_AUDIOOUT_CTRL_DAC_ZERO_ENABLE 0x20
|
||
|
#define BF_AUDIOOUT_CTRL_DAC_ZERO_ENABLE(v) (((v) & 0x1) << 5)
|
||
|
#define BFM_AUDIOOUT_CTRL_DAC_ZERO_ENABLE(v) BM_AUDIOOUT_CTRL_DAC_ZERO_ENABLE
|
||
|
#define BF_AUDIOOUT_CTRL_DAC_ZERO_ENABLE_V(e) BF_AUDIOOUT_CTRL_DAC_ZERO_ENABLE(BV_AUDIOOUT_CTRL_DAC_ZERO_ENABLE__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_DAC_ZERO_ENABLE_V(v) BM_AUDIOOUT_CTRL_DAC_ZERO_ENABLE
|
||
|
#define BP_AUDIOOUT_CTRL_LOOPBACK 4
|
||
|
#define BM_AUDIOOUT_CTRL_LOOPBACK 0x10
|
||
|
#define BF_AUDIOOUT_CTRL_LOOPBACK(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_AUDIOOUT_CTRL_LOOPBACK(v) BM_AUDIOOUT_CTRL_LOOPBACK
|
||
|
#define BF_AUDIOOUT_CTRL_LOOPBACK_V(e) BF_AUDIOOUT_CTRL_LOOPBACK(BV_AUDIOOUT_CTRL_LOOPBACK__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_LOOPBACK_V(v) BM_AUDIOOUT_CTRL_LOOPBACK
|
||
|
#define BP_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ 3
|
||
|
#define BM_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ 0x8
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ(v) (((v) & 0x1) << 3)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ(v) BM_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ_V(e) BF_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ(BV_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ_V(v) BM_AUDIOOUT_CTRL_FIFO_UNDERFLOW_IRQ
|
||
|
#define BP_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ 2
|
||
|
#define BM_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ 0x4
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ(v) BM_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ_V(e) BF_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ(BV_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ_V(v) BM_AUDIOOUT_CTRL_FIFO_OVERFLOW_IRQ
|
||
|
#define BP_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN 1
|
||
|
#define BM_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN 0x2
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN(v) BM_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN
|
||
|
#define BF_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN_V(e) BF_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN(BV_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN_V(v) BM_AUDIOOUT_CTRL_FIFO_ERROR_IRQ_EN
|
||
|
#define BP_AUDIOOUT_CTRL_RUN 0
|
||
|
#define BM_AUDIOOUT_CTRL_RUN 0x1
|
||
|
#define BF_AUDIOOUT_CTRL_RUN(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_CTRL_RUN(v) BM_AUDIOOUT_CTRL_RUN
|
||
|
#define BF_AUDIOOUT_CTRL_RUN_V(e) BF_AUDIOOUT_CTRL_RUN(BV_AUDIOOUT_CTRL_RUN__##e)
|
||
|
#define BFM_AUDIOOUT_CTRL_RUN_V(v) BM_AUDIOOUT_CTRL_RUN
|
||
|
|
||
|
#define HW_AUDIOOUT_STAT HW(AUDIOOUT_STAT)
|
||
|
#define HWA_AUDIOOUT_STAT (0x80048000 + 0x10)
|
||
|
#define HWT_AUDIOOUT_STAT HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_STAT AUDIOOUT_STAT
|
||
|
#define HWI_AUDIOOUT_STAT
|
||
|
#define BP_AUDIOOUT_STAT_DAC_PRESENT 31
|
||
|
#define BM_AUDIOOUT_STAT_DAC_PRESENT 0x80000000
|
||
|
#define BF_AUDIOOUT_STAT_DAC_PRESENT(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_AUDIOOUT_STAT_DAC_PRESENT(v) BM_AUDIOOUT_STAT_DAC_PRESENT
|
||
|
#define BF_AUDIOOUT_STAT_DAC_PRESENT_V(e) BF_AUDIOOUT_STAT_DAC_PRESENT(BV_AUDIOOUT_STAT_DAC_PRESENT__##e)
|
||
|
#define BFM_AUDIOOUT_STAT_DAC_PRESENT_V(v) BM_AUDIOOUT_STAT_DAC_PRESENT
|
||
|
|
||
|
#define HW_AUDIOOUT_DACSRR HW(AUDIOOUT_DACSRR)
|
||
|
#define HWA_AUDIOOUT_DACSRR (0x80048000 + 0x20)
|
||
|
#define HWT_AUDIOOUT_DACSRR HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_DACSRR AUDIOOUT_DACSRR
|
||
|
#define HWI_AUDIOOUT_DACSRR
|
||
|
#define HW_AUDIOOUT_DACSRR_SET HW(AUDIOOUT_DACSRR_SET)
|
||
|
#define HWA_AUDIOOUT_DACSRR_SET (HWA_AUDIOOUT_DACSRR + 0x4)
|
||
|
#define HWT_AUDIOOUT_DACSRR_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACSRR_SET AUDIOOUT_DACSRR
|
||
|
#define HWI_AUDIOOUT_DACSRR_SET
|
||
|
#define HW_AUDIOOUT_DACSRR_CLR HW(AUDIOOUT_DACSRR_CLR)
|
||
|
#define HWA_AUDIOOUT_DACSRR_CLR (HWA_AUDIOOUT_DACSRR + 0x8)
|
||
|
#define HWT_AUDIOOUT_DACSRR_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACSRR_CLR AUDIOOUT_DACSRR
|
||
|
#define HWI_AUDIOOUT_DACSRR_CLR
|
||
|
#define HW_AUDIOOUT_DACSRR_TOG HW(AUDIOOUT_DACSRR_TOG)
|
||
|
#define HWA_AUDIOOUT_DACSRR_TOG (HWA_AUDIOOUT_DACSRR + 0xc)
|
||
|
#define HWT_AUDIOOUT_DACSRR_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACSRR_TOG AUDIOOUT_DACSRR
|
||
|
#define HWI_AUDIOOUT_DACSRR_TOG
|
||
|
#define BP_AUDIOOUT_DACSRR_OSR 31
|
||
|
#define BM_AUDIOOUT_DACSRR_OSR 0x80000000
|
||
|
#define BV_AUDIOOUT_DACSRR_OSR__OSR6 0x0
|
||
|
#define BV_AUDIOOUT_DACSRR_OSR__OSR12 0x1
|
||
|
#define BF_AUDIOOUT_DACSRR_OSR(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_AUDIOOUT_DACSRR_OSR(v) BM_AUDIOOUT_DACSRR_OSR
|
||
|
#define BF_AUDIOOUT_DACSRR_OSR_V(e) BF_AUDIOOUT_DACSRR_OSR(BV_AUDIOOUT_DACSRR_OSR__##e)
|
||
|
#define BFM_AUDIOOUT_DACSRR_OSR_V(v) BM_AUDIOOUT_DACSRR_OSR
|
||
|
#define BP_AUDIOOUT_DACSRR_BASEMULT 28
|
||
|
#define BM_AUDIOOUT_DACSRR_BASEMULT 0x70000000
|
||
|
#define BV_AUDIOOUT_DACSRR_BASEMULT__SINGLE_RATE 0x1
|
||
|
#define BV_AUDIOOUT_DACSRR_BASEMULT__DOUBLE_RATE 0x2
|
||
|
#define BV_AUDIOOUT_DACSRR_BASEMULT__QUAD_RATE 0x4
|
||
|
#define BF_AUDIOOUT_DACSRR_BASEMULT(v) (((v) & 0x7) << 28)
|
||
|
#define BFM_AUDIOOUT_DACSRR_BASEMULT(v) BM_AUDIOOUT_DACSRR_BASEMULT
|
||
|
#define BF_AUDIOOUT_DACSRR_BASEMULT_V(e) BF_AUDIOOUT_DACSRR_BASEMULT(BV_AUDIOOUT_DACSRR_BASEMULT__##e)
|
||
|
#define BFM_AUDIOOUT_DACSRR_BASEMULT_V(v) BM_AUDIOOUT_DACSRR_BASEMULT
|
||
|
#define BP_AUDIOOUT_DACSRR_SRC_HOLD 24
|
||
|
#define BM_AUDIOOUT_DACSRR_SRC_HOLD 0x7000000
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_HOLD(v) (((v) & 0x7) << 24)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_HOLD(v) BM_AUDIOOUT_DACSRR_SRC_HOLD
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_HOLD_V(e) BF_AUDIOOUT_DACSRR_SRC_HOLD(BV_AUDIOOUT_DACSRR_SRC_HOLD__##e)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_HOLD_V(v) BM_AUDIOOUT_DACSRR_SRC_HOLD
|
||
|
#define BP_AUDIOOUT_DACSRR_SRC_INT 16
|
||
|
#define BM_AUDIOOUT_DACSRR_SRC_INT 0x1f0000
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_INT(v) (((v) & 0x1f) << 16)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_INT(v) BM_AUDIOOUT_DACSRR_SRC_INT
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_INT_V(e) BF_AUDIOOUT_DACSRR_SRC_INT(BV_AUDIOOUT_DACSRR_SRC_INT__##e)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_INT_V(v) BM_AUDIOOUT_DACSRR_SRC_INT
|
||
|
#define BP_AUDIOOUT_DACSRR_SRC_FRAC 0
|
||
|
#define BM_AUDIOOUT_DACSRR_SRC_FRAC 0x1fff
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_FRAC(v) (((v) & 0x1fff) << 0)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_FRAC(v) BM_AUDIOOUT_DACSRR_SRC_FRAC
|
||
|
#define BF_AUDIOOUT_DACSRR_SRC_FRAC_V(e) BF_AUDIOOUT_DACSRR_SRC_FRAC(BV_AUDIOOUT_DACSRR_SRC_FRAC__##e)
|
||
|
#define BFM_AUDIOOUT_DACSRR_SRC_FRAC_V(v) BM_AUDIOOUT_DACSRR_SRC_FRAC
|
||
|
|
||
|
#define HW_AUDIOOUT_DACVOLUME HW(AUDIOOUT_DACVOLUME)
|
||
|
#define HWA_AUDIOOUT_DACVOLUME (0x80048000 + 0x30)
|
||
|
#define HWT_AUDIOOUT_DACVOLUME HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_DACVOLUME AUDIOOUT_DACVOLUME
|
||
|
#define HWI_AUDIOOUT_DACVOLUME
|
||
|
#define HW_AUDIOOUT_DACVOLUME_SET HW(AUDIOOUT_DACVOLUME_SET)
|
||
|
#define HWA_AUDIOOUT_DACVOLUME_SET (HWA_AUDIOOUT_DACVOLUME + 0x4)
|
||
|
#define HWT_AUDIOOUT_DACVOLUME_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACVOLUME_SET AUDIOOUT_DACVOLUME
|
||
|
#define HWI_AUDIOOUT_DACVOLUME_SET
|
||
|
#define HW_AUDIOOUT_DACVOLUME_CLR HW(AUDIOOUT_DACVOLUME_CLR)
|
||
|
#define HWA_AUDIOOUT_DACVOLUME_CLR (HWA_AUDIOOUT_DACVOLUME + 0x8)
|
||
|
#define HWT_AUDIOOUT_DACVOLUME_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACVOLUME_CLR AUDIOOUT_DACVOLUME
|
||
|
#define HWI_AUDIOOUT_DACVOLUME_CLR
|
||
|
#define HW_AUDIOOUT_DACVOLUME_TOG HW(AUDIOOUT_DACVOLUME_TOG)
|
||
|
#define HWA_AUDIOOUT_DACVOLUME_TOG (HWA_AUDIOOUT_DACVOLUME + 0xc)
|
||
|
#define HWT_AUDIOOUT_DACVOLUME_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACVOLUME_TOG AUDIOOUT_DACVOLUME
|
||
|
#define HWI_AUDIOOUT_DACVOLUME_TOG
|
||
|
#define BP_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT 28
|
||
|
#define BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT 0x10000000
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT(v) (((v) & 0x1) << 28)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT(v) BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT_V(e) BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT(BV_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT_V(v) BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_LEFT
|
||
|
#define BP_AUDIOOUT_DACVOLUME_EN_ZCD 25
|
||
|
#define BM_AUDIOOUT_DACVOLUME_EN_ZCD 0x2000000
|
||
|
#define BF_AUDIOOUT_DACVOLUME_EN_ZCD(v) (((v) & 0x1) << 25)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_EN_ZCD(v) BM_AUDIOOUT_DACVOLUME_EN_ZCD
|
||
|
#define BF_AUDIOOUT_DACVOLUME_EN_ZCD_V(e) BF_AUDIOOUT_DACVOLUME_EN_ZCD(BV_AUDIOOUT_DACVOLUME_EN_ZCD__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_EN_ZCD_V(v) BM_AUDIOOUT_DACVOLUME_EN_ZCD
|
||
|
#define BP_AUDIOOUT_DACVOLUME_MUTE_LEFT 24
|
||
|
#define BM_AUDIOOUT_DACVOLUME_MUTE_LEFT 0x1000000
|
||
|
#define BF_AUDIOOUT_DACVOLUME_MUTE_LEFT(v) (((v) & 0x1) << 24)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_MUTE_LEFT(v) BM_AUDIOOUT_DACVOLUME_MUTE_LEFT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_MUTE_LEFT_V(e) BF_AUDIOOUT_DACVOLUME_MUTE_LEFT(BV_AUDIOOUT_DACVOLUME_MUTE_LEFT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_MUTE_LEFT_V(v) BM_AUDIOOUT_DACVOLUME_MUTE_LEFT
|
||
|
#define BP_AUDIOOUT_DACVOLUME_VOLUME_LEFT 16
|
||
|
#define BM_AUDIOOUT_DACVOLUME_VOLUME_LEFT 0xff0000
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_LEFT(v) (((v) & 0xff) << 16)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_LEFT(v) BM_AUDIOOUT_DACVOLUME_VOLUME_LEFT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_LEFT_V(e) BF_AUDIOOUT_DACVOLUME_VOLUME_LEFT(BV_AUDIOOUT_DACVOLUME_VOLUME_LEFT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_LEFT_V(v) BM_AUDIOOUT_DACVOLUME_VOLUME_LEFT
|
||
|
#define BP_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT 12
|
||
|
#define BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT 0x1000
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT(v) BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT_V(e) BF_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT(BV_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT_V(v) BM_AUDIOOUT_DACVOLUME_VOLUME_UPDATE_RIGHT
|
||
|
#define BP_AUDIOOUT_DACVOLUME_MUTE_RIGHT 8
|
||
|
#define BM_AUDIOOUT_DACVOLUME_MUTE_RIGHT 0x100
|
||
|
#define BF_AUDIOOUT_DACVOLUME_MUTE_RIGHT(v) (((v) & 0x1) << 8)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_MUTE_RIGHT(v) BM_AUDIOOUT_DACVOLUME_MUTE_RIGHT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_MUTE_RIGHT_V(e) BF_AUDIOOUT_DACVOLUME_MUTE_RIGHT(BV_AUDIOOUT_DACVOLUME_MUTE_RIGHT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_MUTE_RIGHT_V(v) BM_AUDIOOUT_DACVOLUME_MUTE_RIGHT
|
||
|
#define BP_AUDIOOUT_DACVOLUME_VOLUME_RIGHT 0
|
||
|
#define BM_AUDIOOUT_DACVOLUME_VOLUME_RIGHT 0xff
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_RIGHT(v) (((v) & 0xff) << 0)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_RIGHT(v) BM_AUDIOOUT_DACVOLUME_VOLUME_RIGHT
|
||
|
#define BF_AUDIOOUT_DACVOLUME_VOLUME_RIGHT_V(e) BF_AUDIOOUT_DACVOLUME_VOLUME_RIGHT(BV_AUDIOOUT_DACVOLUME_VOLUME_RIGHT__##e)
|
||
|
#define BFM_AUDIOOUT_DACVOLUME_VOLUME_RIGHT_V(v) BM_AUDIOOUT_DACVOLUME_VOLUME_RIGHT
|
||
|
|
||
|
#define HW_AUDIOOUT_DACDEBUG HW(AUDIOOUT_DACDEBUG)
|
||
|
#define HWA_AUDIOOUT_DACDEBUG (0x80048000 + 0x40)
|
||
|
#define HWT_AUDIOOUT_DACDEBUG HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_DACDEBUG AUDIOOUT_DACDEBUG
|
||
|
#define HWI_AUDIOOUT_DACDEBUG
|
||
|
#define HW_AUDIOOUT_DACDEBUG_SET HW(AUDIOOUT_DACDEBUG_SET)
|
||
|
#define HWA_AUDIOOUT_DACDEBUG_SET (HWA_AUDIOOUT_DACDEBUG + 0x4)
|
||
|
#define HWT_AUDIOOUT_DACDEBUG_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACDEBUG_SET AUDIOOUT_DACDEBUG
|
||
|
#define HWI_AUDIOOUT_DACDEBUG_SET
|
||
|
#define HW_AUDIOOUT_DACDEBUG_CLR HW(AUDIOOUT_DACDEBUG_CLR)
|
||
|
#define HWA_AUDIOOUT_DACDEBUG_CLR (HWA_AUDIOOUT_DACDEBUG + 0x8)
|
||
|
#define HWT_AUDIOOUT_DACDEBUG_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACDEBUG_CLR AUDIOOUT_DACDEBUG
|
||
|
#define HWI_AUDIOOUT_DACDEBUG_CLR
|
||
|
#define HW_AUDIOOUT_DACDEBUG_TOG HW(AUDIOOUT_DACDEBUG_TOG)
|
||
|
#define HWA_AUDIOOUT_DACDEBUG_TOG (HWA_AUDIOOUT_DACDEBUG + 0xc)
|
||
|
#define HWT_AUDIOOUT_DACDEBUG_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DACDEBUG_TOG AUDIOOUT_DACDEBUG
|
||
|
#define HWI_AUDIOOUT_DACDEBUG_TOG
|
||
|
#define BP_AUDIOOUT_DACDEBUG_ENABLE_DACDMA 31
|
||
|
#define BM_AUDIOOUT_DACDEBUG_ENABLE_DACDMA 0x80000000
|
||
|
#define BF_AUDIOOUT_DACDEBUG_ENABLE_DACDMA(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_ENABLE_DACDMA(v) BM_AUDIOOUT_DACDEBUG_ENABLE_DACDMA
|
||
|
#define BF_AUDIOOUT_DACDEBUG_ENABLE_DACDMA_V(e) BF_AUDIOOUT_DACDEBUG_ENABLE_DACDMA(BV_AUDIOOUT_DACDEBUG_ENABLE_DACDMA__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_ENABLE_DACDMA_V(v) BM_AUDIOOUT_DACDEBUG_ENABLE_DACDMA
|
||
|
#define BP_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS 5
|
||
|
#define BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS 0x20
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS(v) (((v) & 0x1) << 5)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS_V(e) BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS(BV_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS_V(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_CLK_CROSS
|
||
|
#define BP_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS 4
|
||
|
#define BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS 0x10
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS_V(e) BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS(BV_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS_V(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_CLK_CROSS
|
||
|
#define BP_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE 3
|
||
|
#define BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE 0x8
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE(v) (((v) & 0x1) << 3)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE_V(e) BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE(BV_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE_V(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT1_HAND_SHAKE
|
||
|
#define BP_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE 2
|
||
|
#define BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE 0x4
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE
|
||
|
#define BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE_V(e) BF_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE(BV_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE_V(v) BM_AUDIOOUT_DACDEBUG_SET_INTERRUPT0_HAND_SHAKE
|
||
|
#define BP_AUDIOOUT_DACDEBUG_DMA_PREQ 1
|
||
|
#define BM_AUDIOOUT_DACDEBUG_DMA_PREQ 0x2
|
||
|
#define BF_AUDIOOUT_DACDEBUG_DMA_PREQ(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_DMA_PREQ(v) BM_AUDIOOUT_DACDEBUG_DMA_PREQ
|
||
|
#define BF_AUDIOOUT_DACDEBUG_DMA_PREQ_V(e) BF_AUDIOOUT_DACDEBUG_DMA_PREQ(BV_AUDIOOUT_DACDEBUG_DMA_PREQ__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_DMA_PREQ_V(v) BM_AUDIOOUT_DACDEBUG_DMA_PREQ
|
||
|
#define BP_AUDIOOUT_DACDEBUG_FIFO_STATUS 0
|
||
|
#define BM_AUDIOOUT_DACDEBUG_FIFO_STATUS 0x1
|
||
|
#define BF_AUDIOOUT_DACDEBUG_FIFO_STATUS(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_FIFO_STATUS(v) BM_AUDIOOUT_DACDEBUG_FIFO_STATUS
|
||
|
#define BF_AUDIOOUT_DACDEBUG_FIFO_STATUS_V(e) BF_AUDIOOUT_DACDEBUG_FIFO_STATUS(BV_AUDIOOUT_DACDEBUG_FIFO_STATUS__##e)
|
||
|
#define BFM_AUDIOOUT_DACDEBUG_FIFO_STATUS_V(v) BM_AUDIOOUT_DACDEBUG_FIFO_STATUS
|
||
|
|
||
|
#define HW_AUDIOOUT_HPVOL HW(AUDIOOUT_HPVOL)
|
||
|
#define HWA_AUDIOOUT_HPVOL (0x80048000 + 0x50)
|
||
|
#define HWT_AUDIOOUT_HPVOL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_HPVOL AUDIOOUT_HPVOL
|
||
|
#define HWI_AUDIOOUT_HPVOL
|
||
|
#define HW_AUDIOOUT_HPVOL_SET HW(AUDIOOUT_HPVOL_SET)
|
||
|
#define HWA_AUDIOOUT_HPVOL_SET (HWA_AUDIOOUT_HPVOL + 0x4)
|
||
|
#define HWT_AUDIOOUT_HPVOL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_HPVOL_SET AUDIOOUT_HPVOL
|
||
|
#define HWI_AUDIOOUT_HPVOL_SET
|
||
|
#define HW_AUDIOOUT_HPVOL_CLR HW(AUDIOOUT_HPVOL_CLR)
|
||
|
#define HWA_AUDIOOUT_HPVOL_CLR (HWA_AUDIOOUT_HPVOL + 0x8)
|
||
|
#define HWT_AUDIOOUT_HPVOL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_HPVOL_CLR AUDIOOUT_HPVOL
|
||
|
#define HWI_AUDIOOUT_HPVOL_CLR
|
||
|
#define HW_AUDIOOUT_HPVOL_TOG HW(AUDIOOUT_HPVOL_TOG)
|
||
|
#define HWA_AUDIOOUT_HPVOL_TOG (HWA_AUDIOOUT_HPVOL + 0xc)
|
||
|
#define HWT_AUDIOOUT_HPVOL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_HPVOL_TOG AUDIOOUT_HPVOL
|
||
|
#define HWI_AUDIOOUT_HPVOL_TOG
|
||
|
#define BP_AUDIOOUT_HPVOL_SELECT 24
|
||
|
#define BM_AUDIOOUT_HPVOL_SELECT 0x3000000
|
||
|
#define BF_AUDIOOUT_HPVOL_SELECT(v) (((v) & 0x3) << 24)
|
||
|
#define BFM_AUDIOOUT_HPVOL_SELECT(v) BM_AUDIOOUT_HPVOL_SELECT
|
||
|
#define BF_AUDIOOUT_HPVOL_SELECT_V(e) BF_AUDIOOUT_HPVOL_SELECT(BV_AUDIOOUT_HPVOL_SELECT__##e)
|
||
|
#define BFM_AUDIOOUT_HPVOL_SELECT_V(v) BM_AUDIOOUT_HPVOL_SELECT
|
||
|
#define BP_AUDIOOUT_HPVOL_MUTE 16
|
||
|
#define BM_AUDIOOUT_HPVOL_MUTE 0x10000
|
||
|
#define BF_AUDIOOUT_HPVOL_MUTE(v) (((v) & 0x1) << 16)
|
||
|
#define BFM_AUDIOOUT_HPVOL_MUTE(v) BM_AUDIOOUT_HPVOL_MUTE
|
||
|
#define BF_AUDIOOUT_HPVOL_MUTE_V(e) BF_AUDIOOUT_HPVOL_MUTE(BV_AUDIOOUT_HPVOL_MUTE__##e)
|
||
|
#define BFM_AUDIOOUT_HPVOL_MUTE_V(v) BM_AUDIOOUT_HPVOL_MUTE
|
||
|
#define BP_AUDIOOUT_HPVOL_VOL_LEFT 8
|
||
|
#define BM_AUDIOOUT_HPVOL_VOL_LEFT 0x1f00
|
||
|
#define BF_AUDIOOUT_HPVOL_VOL_LEFT(v) (((v) & 0x1f) << 8)
|
||
|
#define BFM_AUDIOOUT_HPVOL_VOL_LEFT(v) BM_AUDIOOUT_HPVOL_VOL_LEFT
|
||
|
#define BF_AUDIOOUT_HPVOL_VOL_LEFT_V(e) BF_AUDIOOUT_HPVOL_VOL_LEFT(BV_AUDIOOUT_HPVOL_VOL_LEFT__##e)
|
||
|
#define BFM_AUDIOOUT_HPVOL_VOL_LEFT_V(v) BM_AUDIOOUT_HPVOL_VOL_LEFT
|
||
|
#define BP_AUDIOOUT_HPVOL_VOL_RIGHT 0
|
||
|
#define BM_AUDIOOUT_HPVOL_VOL_RIGHT 0x1f
|
||
|
#define BF_AUDIOOUT_HPVOL_VOL_RIGHT(v) (((v) & 0x1f) << 0)
|
||
|
#define BFM_AUDIOOUT_HPVOL_VOL_RIGHT(v) BM_AUDIOOUT_HPVOL_VOL_RIGHT
|
||
|
#define BF_AUDIOOUT_HPVOL_VOL_RIGHT_V(e) BF_AUDIOOUT_HPVOL_VOL_RIGHT(BV_AUDIOOUT_HPVOL_VOL_RIGHT__##e)
|
||
|
#define BFM_AUDIOOUT_HPVOL_VOL_RIGHT_V(v) BM_AUDIOOUT_HPVOL_VOL_RIGHT
|
||
|
|
||
|
#define HW_AUDIOOUT_SPKRVOL HW(AUDIOOUT_SPKRVOL)
|
||
|
#define HWA_AUDIOOUT_SPKRVOL (0x80048000 + 0x60)
|
||
|
#define HWT_AUDIOOUT_SPKRVOL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_SPKRVOL AUDIOOUT_SPKRVOL
|
||
|
#define HWI_AUDIOOUT_SPKRVOL
|
||
|
#define HW_AUDIOOUT_SPKRVOL_SET HW(AUDIOOUT_SPKRVOL_SET)
|
||
|
#define HWA_AUDIOOUT_SPKRVOL_SET (HWA_AUDIOOUT_SPKRVOL + 0x4)
|
||
|
#define HWT_AUDIOOUT_SPKRVOL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_SPKRVOL_SET AUDIOOUT_SPKRVOL
|
||
|
#define HWI_AUDIOOUT_SPKRVOL_SET
|
||
|
#define HW_AUDIOOUT_SPKRVOL_CLR HW(AUDIOOUT_SPKRVOL_CLR)
|
||
|
#define HWA_AUDIOOUT_SPKRVOL_CLR (HWA_AUDIOOUT_SPKRVOL + 0x8)
|
||
|
#define HWT_AUDIOOUT_SPKRVOL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_SPKRVOL_CLR AUDIOOUT_SPKRVOL
|
||
|
#define HWI_AUDIOOUT_SPKRVOL_CLR
|
||
|
#define HW_AUDIOOUT_SPKRVOL_TOG HW(AUDIOOUT_SPKRVOL_TOG)
|
||
|
#define HWA_AUDIOOUT_SPKRVOL_TOG (HWA_AUDIOOUT_SPKRVOL + 0xc)
|
||
|
#define HWT_AUDIOOUT_SPKRVOL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_SPKRVOL_TOG AUDIOOUT_SPKRVOL
|
||
|
#define HWI_AUDIOOUT_SPKRVOL_TOG
|
||
|
#define BP_AUDIOOUT_SPKRVOL_MUTE 16
|
||
|
#define BM_AUDIOOUT_SPKRVOL_MUTE 0x10000
|
||
|
#define BF_AUDIOOUT_SPKRVOL_MUTE(v) (((v) & 0x1) << 16)
|
||
|
#define BFM_AUDIOOUT_SPKRVOL_MUTE(v) BM_AUDIOOUT_SPKRVOL_MUTE
|
||
|
#define BF_AUDIOOUT_SPKRVOL_MUTE_V(e) BF_AUDIOOUT_SPKRVOL_MUTE(BV_AUDIOOUT_SPKRVOL_MUTE__##e)
|
||
|
#define BFM_AUDIOOUT_SPKRVOL_MUTE_V(v) BM_AUDIOOUT_SPKRVOL_MUTE
|
||
|
#define BP_AUDIOOUT_SPKRVOL_VOL 0
|
||
|
#define BM_AUDIOOUT_SPKRVOL_VOL 0xf
|
||
|
#define BF_AUDIOOUT_SPKRVOL_VOL(v) (((v) & 0xf) << 0)
|
||
|
#define BFM_AUDIOOUT_SPKRVOL_VOL(v) BM_AUDIOOUT_SPKRVOL_VOL
|
||
|
#define BF_AUDIOOUT_SPKRVOL_VOL_V(e) BF_AUDIOOUT_SPKRVOL_VOL(BV_AUDIOOUT_SPKRVOL_VOL__##e)
|
||
|
#define BFM_AUDIOOUT_SPKRVOL_VOL_V(v) BM_AUDIOOUT_SPKRVOL_VOL
|
||
|
|
||
|
#define HW_AUDIOOUT_PWRDN HW(AUDIOOUT_PWRDN)
|
||
|
#define HWA_AUDIOOUT_PWRDN (0x80048000 + 0x70)
|
||
|
#define HWT_AUDIOOUT_PWRDN HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_PWRDN AUDIOOUT_PWRDN
|
||
|
#define HWI_AUDIOOUT_PWRDN
|
||
|
#define HW_AUDIOOUT_PWRDN_SET HW(AUDIOOUT_PWRDN_SET)
|
||
|
#define HWA_AUDIOOUT_PWRDN_SET (HWA_AUDIOOUT_PWRDN + 0x4)
|
||
|
#define HWT_AUDIOOUT_PWRDN_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_PWRDN_SET AUDIOOUT_PWRDN
|
||
|
#define HWI_AUDIOOUT_PWRDN_SET
|
||
|
#define HW_AUDIOOUT_PWRDN_CLR HW(AUDIOOUT_PWRDN_CLR)
|
||
|
#define HWA_AUDIOOUT_PWRDN_CLR (HWA_AUDIOOUT_PWRDN + 0x8)
|
||
|
#define HWT_AUDIOOUT_PWRDN_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_PWRDN_CLR AUDIOOUT_PWRDN
|
||
|
#define HWI_AUDIOOUT_PWRDN_CLR
|
||
|
#define HW_AUDIOOUT_PWRDN_TOG HW(AUDIOOUT_PWRDN_TOG)
|
||
|
#define HWA_AUDIOOUT_PWRDN_TOG (HWA_AUDIOOUT_PWRDN + 0xc)
|
||
|
#define HWT_AUDIOOUT_PWRDN_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_PWRDN_TOG AUDIOOUT_PWRDN
|
||
|
#define HWI_AUDIOOUT_PWRDN_TOG
|
||
|
#define BP_AUDIOOUT_PWRDN_SPEAKER 24
|
||
|
#define BM_AUDIOOUT_PWRDN_SPEAKER 0x1000000
|
||
|
#define BF_AUDIOOUT_PWRDN_SPEAKER(v) (((v) & 0x1) << 24)
|
||
|
#define BFM_AUDIOOUT_PWRDN_SPEAKER(v) BM_AUDIOOUT_PWRDN_SPEAKER
|
||
|
#define BF_AUDIOOUT_PWRDN_SPEAKER_V(e) BF_AUDIOOUT_PWRDN_SPEAKER(BV_AUDIOOUT_PWRDN_SPEAKER__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_SPEAKER_V(v) BM_AUDIOOUT_PWRDN_SPEAKER
|
||
|
#define BP_AUDIOOUT_PWRDN_SELFBIAS 20
|
||
|
#define BM_AUDIOOUT_PWRDN_SELFBIAS 0x100000
|
||
|
#define BF_AUDIOOUT_PWRDN_SELFBIAS(v) (((v) & 0x1) << 20)
|
||
|
#define BFM_AUDIOOUT_PWRDN_SELFBIAS(v) BM_AUDIOOUT_PWRDN_SELFBIAS
|
||
|
#define BF_AUDIOOUT_PWRDN_SELFBIAS_V(e) BF_AUDIOOUT_PWRDN_SELFBIAS(BV_AUDIOOUT_PWRDN_SELFBIAS__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_SELFBIAS_V(v) BM_AUDIOOUT_PWRDN_SELFBIAS
|
||
|
#define BP_AUDIOOUT_PWRDN_RIGHT_ADC 16
|
||
|
#define BM_AUDIOOUT_PWRDN_RIGHT_ADC 0x10000
|
||
|
#define BF_AUDIOOUT_PWRDN_RIGHT_ADC(v) (((v) & 0x1) << 16)
|
||
|
#define BFM_AUDIOOUT_PWRDN_RIGHT_ADC(v) BM_AUDIOOUT_PWRDN_RIGHT_ADC
|
||
|
#define BF_AUDIOOUT_PWRDN_RIGHT_ADC_V(e) BF_AUDIOOUT_PWRDN_RIGHT_ADC(BV_AUDIOOUT_PWRDN_RIGHT_ADC__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_RIGHT_ADC_V(v) BM_AUDIOOUT_PWRDN_RIGHT_ADC
|
||
|
#define BP_AUDIOOUT_PWRDN_DAC 12
|
||
|
#define BM_AUDIOOUT_PWRDN_DAC 0x1000
|
||
|
#define BF_AUDIOOUT_PWRDN_DAC(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_AUDIOOUT_PWRDN_DAC(v) BM_AUDIOOUT_PWRDN_DAC
|
||
|
#define BF_AUDIOOUT_PWRDN_DAC_V(e) BF_AUDIOOUT_PWRDN_DAC(BV_AUDIOOUT_PWRDN_DAC__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_DAC_V(v) BM_AUDIOOUT_PWRDN_DAC
|
||
|
#define BP_AUDIOOUT_PWRDN_ADC 8
|
||
|
#define BM_AUDIOOUT_PWRDN_ADC 0x100
|
||
|
#define BF_AUDIOOUT_PWRDN_ADC(v) (((v) & 0x1) << 8)
|
||
|
#define BFM_AUDIOOUT_PWRDN_ADC(v) BM_AUDIOOUT_PWRDN_ADC
|
||
|
#define BF_AUDIOOUT_PWRDN_ADC_V(e) BF_AUDIOOUT_PWRDN_ADC(BV_AUDIOOUT_PWRDN_ADC__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_ADC_V(v) BM_AUDIOOUT_PWRDN_ADC
|
||
|
#define BP_AUDIOOUT_PWRDN_CAPLESS 4
|
||
|
#define BM_AUDIOOUT_PWRDN_CAPLESS 0x10
|
||
|
#define BF_AUDIOOUT_PWRDN_CAPLESS(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_AUDIOOUT_PWRDN_CAPLESS(v) BM_AUDIOOUT_PWRDN_CAPLESS
|
||
|
#define BF_AUDIOOUT_PWRDN_CAPLESS_V(e) BF_AUDIOOUT_PWRDN_CAPLESS(BV_AUDIOOUT_PWRDN_CAPLESS__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_CAPLESS_V(v) BM_AUDIOOUT_PWRDN_CAPLESS
|
||
|
#define BP_AUDIOOUT_PWRDN_HEADPHONE 0
|
||
|
#define BM_AUDIOOUT_PWRDN_HEADPHONE 0x1
|
||
|
#define BF_AUDIOOUT_PWRDN_HEADPHONE(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_PWRDN_HEADPHONE(v) BM_AUDIOOUT_PWRDN_HEADPHONE
|
||
|
#define BF_AUDIOOUT_PWRDN_HEADPHONE_V(e) BF_AUDIOOUT_PWRDN_HEADPHONE(BV_AUDIOOUT_PWRDN_HEADPHONE__##e)
|
||
|
#define BFM_AUDIOOUT_PWRDN_HEADPHONE_V(v) BM_AUDIOOUT_PWRDN_HEADPHONE
|
||
|
|
||
|
#define HW_AUDIOOUT_REFCTRL HW(AUDIOOUT_REFCTRL)
|
||
|
#define HWA_AUDIOOUT_REFCTRL (0x80048000 + 0x80)
|
||
|
#define HWT_AUDIOOUT_REFCTRL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_REFCTRL AUDIOOUT_REFCTRL
|
||
|
#define HWI_AUDIOOUT_REFCTRL
|
||
|
#define HW_AUDIOOUT_REFCTRL_SET HW(AUDIOOUT_REFCTRL_SET)
|
||
|
#define HWA_AUDIOOUT_REFCTRL_SET (HWA_AUDIOOUT_REFCTRL + 0x4)
|
||
|
#define HWT_AUDIOOUT_REFCTRL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_REFCTRL_SET AUDIOOUT_REFCTRL
|
||
|
#define HWI_AUDIOOUT_REFCTRL_SET
|
||
|
#define HW_AUDIOOUT_REFCTRL_CLR HW(AUDIOOUT_REFCTRL_CLR)
|
||
|
#define HWA_AUDIOOUT_REFCTRL_CLR (HWA_AUDIOOUT_REFCTRL + 0x8)
|
||
|
#define HWT_AUDIOOUT_REFCTRL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_REFCTRL_CLR AUDIOOUT_REFCTRL
|
||
|
#define HWI_AUDIOOUT_REFCTRL_CLR
|
||
|
#define HW_AUDIOOUT_REFCTRL_TOG HW(AUDIOOUT_REFCTRL_TOG)
|
||
|
#define HWA_AUDIOOUT_REFCTRL_TOG (HWA_AUDIOOUT_REFCTRL + 0xc)
|
||
|
#define HWT_AUDIOOUT_REFCTRL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_REFCTRL_TOG AUDIOOUT_REFCTRL
|
||
|
#define HWI_AUDIOOUT_REFCTRL_TOG
|
||
|
#define BP_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS 24
|
||
|
#define BM_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS 0x1000000
|
||
|
#define BF_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS(v) (((v) & 0x1) << 24)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS(v) BM_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS
|
||
|
#define BF_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS_V(e) BF_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS(BV_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS_V(v) BM_AUDIOOUT_REFCTRL_XTAL_BGR_BIAS
|
||
|
#define BP_AUDIOOUT_REFCTRL_VBG_ADJ 20
|
||
|
#define BM_AUDIOOUT_REFCTRL_VBG_ADJ 0x700000
|
||
|
#define BF_AUDIOOUT_REFCTRL_VBG_ADJ(v) (((v) & 0x7) << 20)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_VBG_ADJ(v) BM_AUDIOOUT_REFCTRL_VBG_ADJ
|
||
|
#define BF_AUDIOOUT_REFCTRL_VBG_ADJ_V(e) BF_AUDIOOUT_REFCTRL_VBG_ADJ(BV_AUDIOOUT_REFCTRL_VBG_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_VBG_ADJ_V(v) BM_AUDIOOUT_REFCTRL_VBG_ADJ
|
||
|
#define BP_AUDIOOUT_REFCTRL_LOW_PWR 19
|
||
|
#define BM_AUDIOOUT_REFCTRL_LOW_PWR 0x80000
|
||
|
#define BF_AUDIOOUT_REFCTRL_LOW_PWR(v) (((v) & 0x1) << 19)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_LOW_PWR(v) BM_AUDIOOUT_REFCTRL_LOW_PWR
|
||
|
#define BF_AUDIOOUT_REFCTRL_LOW_PWR_V(e) BF_AUDIOOUT_REFCTRL_LOW_PWR(BV_AUDIOOUT_REFCTRL_LOW_PWR__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_LOW_PWR_V(v) BM_AUDIOOUT_REFCTRL_LOW_PWR
|
||
|
#define BP_AUDIOOUT_REFCTRL_LW_REF 18
|
||
|
#define BM_AUDIOOUT_REFCTRL_LW_REF 0x40000
|
||
|
#define BF_AUDIOOUT_REFCTRL_LW_REF(v) (((v) & 0x1) << 18)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_LW_REF(v) BM_AUDIOOUT_REFCTRL_LW_REF
|
||
|
#define BF_AUDIOOUT_REFCTRL_LW_REF_V(e) BF_AUDIOOUT_REFCTRL_LW_REF(BV_AUDIOOUT_REFCTRL_LW_REF__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_LW_REF_V(v) BM_AUDIOOUT_REFCTRL_LW_REF
|
||
|
#define BP_AUDIOOUT_REFCTRL_BIAS_CTRL 16
|
||
|
#define BM_AUDIOOUT_REFCTRL_BIAS_CTRL 0x30000
|
||
|
#define BF_AUDIOOUT_REFCTRL_BIAS_CTRL(v) (((v) & 0x3) << 16)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_BIAS_CTRL(v) BM_AUDIOOUT_REFCTRL_BIAS_CTRL
|
||
|
#define BF_AUDIOOUT_REFCTRL_BIAS_CTRL_V(e) BF_AUDIOOUT_REFCTRL_BIAS_CTRL(BV_AUDIOOUT_REFCTRL_BIAS_CTRL__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_BIAS_CTRL_V(v) BM_AUDIOOUT_REFCTRL_BIAS_CTRL
|
||
|
#define BP_AUDIOOUT_REFCTRL_ADJ_ADC 13
|
||
|
#define BM_AUDIOOUT_REFCTRL_ADJ_ADC 0x2000
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADJ_ADC(v) (((v) & 0x1) << 13)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADJ_ADC(v) BM_AUDIOOUT_REFCTRL_ADJ_ADC
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADJ_ADC_V(e) BF_AUDIOOUT_REFCTRL_ADJ_ADC(BV_AUDIOOUT_REFCTRL_ADJ_ADC__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADJ_ADC_V(v) BM_AUDIOOUT_REFCTRL_ADJ_ADC
|
||
|
#define BP_AUDIOOUT_REFCTRL_ADJ_VAG 12
|
||
|
#define BM_AUDIOOUT_REFCTRL_ADJ_VAG 0x1000
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADJ_VAG(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADJ_VAG(v) BM_AUDIOOUT_REFCTRL_ADJ_VAG
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADJ_VAG_V(e) BF_AUDIOOUT_REFCTRL_ADJ_VAG(BV_AUDIOOUT_REFCTRL_ADJ_VAG__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADJ_VAG_V(v) BM_AUDIOOUT_REFCTRL_ADJ_VAG
|
||
|
#define BP_AUDIOOUT_REFCTRL_ADC_REFVAL 8
|
||
|
#define BM_AUDIOOUT_REFCTRL_ADC_REFVAL 0xf00
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADC_REFVAL(v) (((v) & 0xf) << 8)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADC_REFVAL(v) BM_AUDIOOUT_REFCTRL_ADC_REFVAL
|
||
|
#define BF_AUDIOOUT_REFCTRL_ADC_REFVAL_V(e) BF_AUDIOOUT_REFCTRL_ADC_REFVAL(BV_AUDIOOUT_REFCTRL_ADC_REFVAL__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_ADC_REFVAL_V(v) BM_AUDIOOUT_REFCTRL_ADC_REFVAL
|
||
|
#define BP_AUDIOOUT_REFCTRL_VAG_VAL 4
|
||
|
#define BM_AUDIOOUT_REFCTRL_VAG_VAL 0xf0
|
||
|
#define BF_AUDIOOUT_REFCTRL_VAG_VAL(v) (((v) & 0xf) << 4)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_VAG_VAL(v) BM_AUDIOOUT_REFCTRL_VAG_VAL
|
||
|
#define BF_AUDIOOUT_REFCTRL_VAG_VAL_V(e) BF_AUDIOOUT_REFCTRL_VAG_VAL(BV_AUDIOOUT_REFCTRL_VAG_VAL__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_VAG_VAL_V(v) BM_AUDIOOUT_REFCTRL_VAG_VAL
|
||
|
#define BP_AUDIOOUT_REFCTRL_DAC_ADJ 0
|
||
|
#define BM_AUDIOOUT_REFCTRL_DAC_ADJ 0x7
|
||
|
#define BF_AUDIOOUT_REFCTRL_DAC_ADJ(v) (((v) & 0x7) << 0)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_DAC_ADJ(v) BM_AUDIOOUT_REFCTRL_DAC_ADJ
|
||
|
#define BF_AUDIOOUT_REFCTRL_DAC_ADJ_V(e) BF_AUDIOOUT_REFCTRL_DAC_ADJ(BV_AUDIOOUT_REFCTRL_DAC_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_REFCTRL_DAC_ADJ_V(v) BM_AUDIOOUT_REFCTRL_DAC_ADJ
|
||
|
|
||
|
#define HW_AUDIOOUT_ANACTRL HW(AUDIOOUT_ANACTRL)
|
||
|
#define HWA_AUDIOOUT_ANACTRL (0x80048000 + 0x90)
|
||
|
#define HWT_AUDIOOUT_ANACTRL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_ANACTRL AUDIOOUT_ANACTRL
|
||
|
#define HWI_AUDIOOUT_ANACTRL
|
||
|
#define HW_AUDIOOUT_ANACTRL_SET HW(AUDIOOUT_ANACTRL_SET)
|
||
|
#define HWA_AUDIOOUT_ANACTRL_SET (HWA_AUDIOOUT_ANACTRL + 0x4)
|
||
|
#define HWT_AUDIOOUT_ANACTRL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACTRL_SET AUDIOOUT_ANACTRL
|
||
|
#define HWI_AUDIOOUT_ANACTRL_SET
|
||
|
#define HW_AUDIOOUT_ANACTRL_CLR HW(AUDIOOUT_ANACTRL_CLR)
|
||
|
#define HWA_AUDIOOUT_ANACTRL_CLR (HWA_AUDIOOUT_ANACTRL + 0x8)
|
||
|
#define HWT_AUDIOOUT_ANACTRL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACTRL_CLR AUDIOOUT_ANACTRL
|
||
|
#define HWI_AUDIOOUT_ANACTRL_CLR
|
||
|
#define HW_AUDIOOUT_ANACTRL_TOG HW(AUDIOOUT_ANACTRL_TOG)
|
||
|
#define HWA_AUDIOOUT_ANACTRL_TOG (HWA_AUDIOOUT_ANACTRL + 0xc)
|
||
|
#define HWT_AUDIOOUT_ANACTRL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACTRL_TOG AUDIOOUT_ANACTRL
|
||
|
#define HWI_AUDIOOUT_ANACTRL_TOG
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORT_CM_STS 28
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORT_CM_STS 0x10000000
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_CM_STS(v) (((v) & 0x1) << 28)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_CM_STS(v) BM_AUDIOOUT_ANACTRL_SHORT_CM_STS
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_CM_STS_V(e) BF_AUDIOOUT_ANACTRL_SHORT_CM_STS(BV_AUDIOOUT_ANACTRL_SHORT_CM_STS__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_CM_STS_V(v) BM_AUDIOOUT_ANACTRL_SHORT_CM_STS
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORT_LR_STS 24
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORT_LR_STS 0x1000000
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LR_STS(v) (((v) & 0x1) << 24)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LR_STS(v) BM_AUDIOOUT_ANACTRL_SHORT_LR_STS
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LR_STS_V(e) BF_AUDIOOUT_ANACTRL_SHORT_LR_STS(BV_AUDIOOUT_ANACTRL_SHORT_LR_STS__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LR_STS_V(v) BM_AUDIOOUT_ANACTRL_SHORT_LR_STS
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORTMODE_CM 20
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORTMODE_CM 0x300000
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORTMODE_CM(v) (((v) & 0x3) << 20)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORTMODE_CM(v) BM_AUDIOOUT_ANACTRL_SHORTMODE_CM
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORTMODE_CM_V(e) BF_AUDIOOUT_ANACTRL_SHORTMODE_CM(BV_AUDIOOUT_ANACTRL_SHORTMODE_CM__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORTMODE_CM_V(v) BM_AUDIOOUT_ANACTRL_SHORTMODE_CM
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORTMODE_LR 17
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORTMODE_LR 0x60000
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORTMODE_LR(v) (((v) & 0x3) << 17)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORTMODE_LR(v) BM_AUDIOOUT_ANACTRL_SHORTMODE_LR
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORTMODE_LR_V(e) BF_AUDIOOUT_ANACTRL_SHORTMODE_LR(BV_AUDIOOUT_ANACTRL_SHORTMODE_LR__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORTMODE_LR_V(v) BM_AUDIOOUT_ANACTRL_SHORTMODE_LR
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORT_LVLADJL 12
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORT_LVLADJL 0x7000
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LVLADJL(v) (((v) & 0x7) << 12)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LVLADJL(v) BM_AUDIOOUT_ANACTRL_SHORT_LVLADJL
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LVLADJL_V(e) BF_AUDIOOUT_ANACTRL_SHORT_LVLADJL(BV_AUDIOOUT_ANACTRL_SHORT_LVLADJL__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LVLADJL_V(v) BM_AUDIOOUT_ANACTRL_SHORT_LVLADJL
|
||
|
#define BP_AUDIOOUT_ANACTRL_SHORT_LVLADJR 8
|
||
|
#define BM_AUDIOOUT_ANACTRL_SHORT_LVLADJR 0x700
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LVLADJR(v) (((v) & 0x7) << 8)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LVLADJR(v) BM_AUDIOOUT_ANACTRL_SHORT_LVLADJR
|
||
|
#define BF_AUDIOOUT_ANACTRL_SHORT_LVLADJR_V(e) BF_AUDIOOUT_ANACTRL_SHORT_LVLADJR(BV_AUDIOOUT_ANACTRL_SHORT_LVLADJR__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_SHORT_LVLADJR_V(v) BM_AUDIOOUT_ANACTRL_SHORT_LVLADJR
|
||
|
#define BP_AUDIOOUT_ANACTRL_HP_HOLD_GND 5
|
||
|
#define BM_AUDIOOUT_ANACTRL_HP_HOLD_GND 0x20
|
||
|
#define BF_AUDIOOUT_ANACTRL_HP_HOLD_GND(v) (((v) & 0x1) << 5)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_HP_HOLD_GND(v) BM_AUDIOOUT_ANACTRL_HP_HOLD_GND
|
||
|
#define BF_AUDIOOUT_ANACTRL_HP_HOLD_GND_V(e) BF_AUDIOOUT_ANACTRL_HP_HOLD_GND(BV_AUDIOOUT_ANACTRL_HP_HOLD_GND__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_HP_HOLD_GND_V(v) BM_AUDIOOUT_ANACTRL_HP_HOLD_GND
|
||
|
#define BP_AUDIOOUT_ANACTRL_HP_CLASSAB 4
|
||
|
#define BM_AUDIOOUT_ANACTRL_HP_CLASSAB 0x10
|
||
|
#define BF_AUDIOOUT_ANACTRL_HP_CLASSAB(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_HP_CLASSAB(v) BM_AUDIOOUT_ANACTRL_HP_CLASSAB
|
||
|
#define BF_AUDIOOUT_ANACTRL_HP_CLASSAB_V(e) BF_AUDIOOUT_ANACTRL_HP_CLASSAB(BV_AUDIOOUT_ANACTRL_HP_CLASSAB__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_HP_CLASSAB_V(v) BM_AUDIOOUT_ANACTRL_HP_CLASSAB
|
||
|
#define BP_AUDIOOUT_ANACTRL_EN_SPKR_ZCD 2
|
||
|
#define BM_AUDIOOUT_ANACTRL_EN_SPKR_ZCD 0x4
|
||
|
#define BF_AUDIOOUT_ANACTRL_EN_SPKR_ZCD(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_EN_SPKR_ZCD(v) BM_AUDIOOUT_ANACTRL_EN_SPKR_ZCD
|
||
|
#define BF_AUDIOOUT_ANACTRL_EN_SPKR_ZCD_V(e) BF_AUDIOOUT_ANACTRL_EN_SPKR_ZCD(BV_AUDIOOUT_ANACTRL_EN_SPKR_ZCD__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_EN_SPKR_ZCD_V(v) BM_AUDIOOUT_ANACTRL_EN_SPKR_ZCD
|
||
|
#define BP_AUDIOOUT_ANACTRL_ZCD_SELECTADC 1
|
||
|
#define BM_AUDIOOUT_ANACTRL_ZCD_SELECTADC 0x2
|
||
|
#define BF_AUDIOOUT_ANACTRL_ZCD_SELECTADC(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_ZCD_SELECTADC(v) BM_AUDIOOUT_ANACTRL_ZCD_SELECTADC
|
||
|
#define BF_AUDIOOUT_ANACTRL_ZCD_SELECTADC_V(e) BF_AUDIOOUT_ANACTRL_ZCD_SELECTADC(BV_AUDIOOUT_ANACTRL_ZCD_SELECTADC__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_ZCD_SELECTADC_V(v) BM_AUDIOOUT_ANACTRL_ZCD_SELECTADC
|
||
|
#define BP_AUDIOOUT_ANACTRL_EN_ZCD 0
|
||
|
#define BM_AUDIOOUT_ANACTRL_EN_ZCD 0x1
|
||
|
#define BF_AUDIOOUT_ANACTRL_EN_ZCD(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_EN_ZCD(v) BM_AUDIOOUT_ANACTRL_EN_ZCD
|
||
|
#define BF_AUDIOOUT_ANACTRL_EN_ZCD_V(e) BF_AUDIOOUT_ANACTRL_EN_ZCD(BV_AUDIOOUT_ANACTRL_EN_ZCD__##e)
|
||
|
#define BFM_AUDIOOUT_ANACTRL_EN_ZCD_V(v) BM_AUDIOOUT_ANACTRL_EN_ZCD
|
||
|
|
||
|
#define HW_AUDIOOUT_TEST HW(AUDIOOUT_TEST)
|
||
|
#define HWA_AUDIOOUT_TEST (0x80048000 + 0xa0)
|
||
|
#define HWT_AUDIOOUT_TEST HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_TEST AUDIOOUT_TEST
|
||
|
#define HWI_AUDIOOUT_TEST
|
||
|
#define HW_AUDIOOUT_TEST_SET HW(AUDIOOUT_TEST_SET)
|
||
|
#define HWA_AUDIOOUT_TEST_SET (HWA_AUDIOOUT_TEST + 0x4)
|
||
|
#define HWT_AUDIOOUT_TEST_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_TEST_SET AUDIOOUT_TEST
|
||
|
#define HWI_AUDIOOUT_TEST_SET
|
||
|
#define HW_AUDIOOUT_TEST_CLR HW(AUDIOOUT_TEST_CLR)
|
||
|
#define HWA_AUDIOOUT_TEST_CLR (HWA_AUDIOOUT_TEST + 0x8)
|
||
|
#define HWT_AUDIOOUT_TEST_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_TEST_CLR AUDIOOUT_TEST
|
||
|
#define HWI_AUDIOOUT_TEST_CLR
|
||
|
#define HW_AUDIOOUT_TEST_TOG HW(AUDIOOUT_TEST_TOG)
|
||
|
#define HWA_AUDIOOUT_TEST_TOG (HWA_AUDIOOUT_TEST + 0xc)
|
||
|
#define HWT_AUDIOOUT_TEST_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_TEST_TOG AUDIOOUT_TEST
|
||
|
#define HWI_AUDIOOUT_TEST_TOG
|
||
|
#define BP_AUDIOOUT_TEST_HP_ANTIPOP 28
|
||
|
#define BM_AUDIOOUT_TEST_HP_ANTIPOP 0x70000000
|
||
|
#define BF_AUDIOOUT_TEST_HP_ANTIPOP(v) (((v) & 0x7) << 28)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_ANTIPOP(v) BM_AUDIOOUT_TEST_HP_ANTIPOP
|
||
|
#define BF_AUDIOOUT_TEST_HP_ANTIPOP_V(e) BF_AUDIOOUT_TEST_HP_ANTIPOP(BV_AUDIOOUT_TEST_HP_ANTIPOP__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_ANTIPOP_V(v) BM_AUDIOOUT_TEST_HP_ANTIPOP
|
||
|
#define BP_AUDIOOUT_TEST_TM_ADCIN_TOHP 26
|
||
|
#define BM_AUDIOOUT_TEST_TM_ADCIN_TOHP 0x4000000
|
||
|
#define BF_AUDIOOUT_TEST_TM_ADCIN_TOHP(v) (((v) & 0x1) << 26)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_ADCIN_TOHP(v) BM_AUDIOOUT_TEST_TM_ADCIN_TOHP
|
||
|
#define BF_AUDIOOUT_TEST_TM_ADCIN_TOHP_V(e) BF_AUDIOOUT_TEST_TM_ADCIN_TOHP(BV_AUDIOOUT_TEST_TM_ADCIN_TOHP__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_ADCIN_TOHP_V(v) BM_AUDIOOUT_TEST_TM_ADCIN_TOHP
|
||
|
#define BP_AUDIOOUT_TEST_TM_SPEAKER 25
|
||
|
#define BM_AUDIOOUT_TEST_TM_SPEAKER 0x2000000
|
||
|
#define BF_AUDIOOUT_TEST_TM_SPEAKER(v) (((v) & 0x1) << 25)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_SPEAKER(v) BM_AUDIOOUT_TEST_TM_SPEAKER
|
||
|
#define BF_AUDIOOUT_TEST_TM_SPEAKER_V(e) BF_AUDIOOUT_TEST_TM_SPEAKER(BV_AUDIOOUT_TEST_TM_SPEAKER__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_SPEAKER_V(v) BM_AUDIOOUT_TEST_TM_SPEAKER
|
||
|
#define BP_AUDIOOUT_TEST_TM_HPCOMMON 24
|
||
|
#define BM_AUDIOOUT_TEST_TM_HPCOMMON 0x1000000
|
||
|
#define BF_AUDIOOUT_TEST_TM_HPCOMMON(v) (((v) & 0x1) << 24)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_HPCOMMON(v) BM_AUDIOOUT_TEST_TM_HPCOMMON
|
||
|
#define BF_AUDIOOUT_TEST_TM_HPCOMMON_V(e) BF_AUDIOOUT_TEST_TM_HPCOMMON(BV_AUDIOOUT_TEST_TM_HPCOMMON__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_TM_HPCOMMON_V(v) BM_AUDIOOUT_TEST_TM_HPCOMMON
|
||
|
#define BP_AUDIOOUT_TEST_HP_I1_ADJ 22
|
||
|
#define BM_AUDIOOUT_TEST_HP_I1_ADJ 0xc00000
|
||
|
#define BF_AUDIOOUT_TEST_HP_I1_ADJ(v) (((v) & 0x3) << 22)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_I1_ADJ(v) BM_AUDIOOUT_TEST_HP_I1_ADJ
|
||
|
#define BF_AUDIOOUT_TEST_HP_I1_ADJ_V(e) BF_AUDIOOUT_TEST_HP_I1_ADJ(BV_AUDIOOUT_TEST_HP_I1_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_I1_ADJ_V(v) BM_AUDIOOUT_TEST_HP_I1_ADJ
|
||
|
#define BP_AUDIOOUT_TEST_HP_IALL_ADJ 20
|
||
|
#define BM_AUDIOOUT_TEST_HP_IALL_ADJ 0x300000
|
||
|
#define BF_AUDIOOUT_TEST_HP_IALL_ADJ(v) (((v) & 0x3) << 20)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_IALL_ADJ(v) BM_AUDIOOUT_TEST_HP_IALL_ADJ
|
||
|
#define BF_AUDIOOUT_TEST_HP_IALL_ADJ_V(e) BF_AUDIOOUT_TEST_HP_IALL_ADJ(BV_AUDIOOUT_TEST_HP_IALL_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_IALL_ADJ_V(v) BM_AUDIOOUT_TEST_HP_IALL_ADJ
|
||
|
#define BP_AUDIOOUT_TEST_SPKR_I1_ADJ 18
|
||
|
#define BM_AUDIOOUT_TEST_SPKR_I1_ADJ 0xc0000
|
||
|
#define BF_AUDIOOUT_TEST_SPKR_I1_ADJ(v) (((v) & 0x3) << 18)
|
||
|
#define BFM_AUDIOOUT_TEST_SPKR_I1_ADJ(v) BM_AUDIOOUT_TEST_SPKR_I1_ADJ
|
||
|
#define BF_AUDIOOUT_TEST_SPKR_I1_ADJ_V(e) BF_AUDIOOUT_TEST_SPKR_I1_ADJ(BV_AUDIOOUT_TEST_SPKR_I1_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_SPKR_I1_ADJ_V(v) BM_AUDIOOUT_TEST_SPKR_I1_ADJ
|
||
|
#define BP_AUDIOOUT_TEST_SPKR_IALL_ADJ 16
|
||
|
#define BM_AUDIOOUT_TEST_SPKR_IALL_ADJ 0x30000
|
||
|
#define BF_AUDIOOUT_TEST_SPKR_IALL_ADJ(v) (((v) & 0x3) << 16)
|
||
|
#define BFM_AUDIOOUT_TEST_SPKR_IALL_ADJ(v) BM_AUDIOOUT_TEST_SPKR_IALL_ADJ
|
||
|
#define BF_AUDIOOUT_TEST_SPKR_IALL_ADJ_V(e) BF_AUDIOOUT_TEST_SPKR_IALL_ADJ(BV_AUDIOOUT_TEST_SPKR_IALL_ADJ__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_SPKR_IALL_ADJ_V(v) BM_AUDIOOUT_TEST_SPKR_IALL_ADJ
|
||
|
#define BP_AUDIOOUT_TEST_VAG_CLASSA 13
|
||
|
#define BM_AUDIOOUT_TEST_VAG_CLASSA 0x2000
|
||
|
#define BF_AUDIOOUT_TEST_VAG_CLASSA(v) (((v) & 0x1) << 13)
|
||
|
#define BFM_AUDIOOUT_TEST_VAG_CLASSA(v) BM_AUDIOOUT_TEST_VAG_CLASSA
|
||
|
#define BF_AUDIOOUT_TEST_VAG_CLASSA_V(e) BF_AUDIOOUT_TEST_VAG_CLASSA(BV_AUDIOOUT_TEST_VAG_CLASSA__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_VAG_CLASSA_V(v) BM_AUDIOOUT_TEST_VAG_CLASSA
|
||
|
#define BP_AUDIOOUT_TEST_VAG_DOUBLE_I 12
|
||
|
#define BM_AUDIOOUT_TEST_VAG_DOUBLE_I 0x1000
|
||
|
#define BF_AUDIOOUT_TEST_VAG_DOUBLE_I(v) (((v) & 0x1) << 12)
|
||
|
#define BFM_AUDIOOUT_TEST_VAG_DOUBLE_I(v) BM_AUDIOOUT_TEST_VAG_DOUBLE_I
|
||
|
#define BF_AUDIOOUT_TEST_VAG_DOUBLE_I_V(e) BF_AUDIOOUT_TEST_VAG_DOUBLE_I(BV_AUDIOOUT_TEST_VAG_DOUBLE_I__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_VAG_DOUBLE_I_V(v) BM_AUDIOOUT_TEST_VAG_DOUBLE_I
|
||
|
#define BP_AUDIOOUT_TEST_HP_CHOPCLK 8
|
||
|
#define BM_AUDIOOUT_TEST_HP_CHOPCLK 0x300
|
||
|
#define BF_AUDIOOUT_TEST_HP_CHOPCLK(v) (((v) & 0x3) << 8)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_CHOPCLK(v) BM_AUDIOOUT_TEST_HP_CHOPCLK
|
||
|
#define BF_AUDIOOUT_TEST_HP_CHOPCLK_V(e) BF_AUDIOOUT_TEST_HP_CHOPCLK(BV_AUDIOOUT_TEST_HP_CHOPCLK__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_HP_CHOPCLK_V(v) BM_AUDIOOUT_TEST_HP_CHOPCLK
|
||
|
#define BP_AUDIOOUT_TEST_DAC_CHOPCLK 4
|
||
|
#define BM_AUDIOOUT_TEST_DAC_CHOPCLK 0x30
|
||
|
#define BF_AUDIOOUT_TEST_DAC_CHOPCLK(v) (((v) & 0x3) << 4)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_CHOPCLK(v) BM_AUDIOOUT_TEST_DAC_CHOPCLK
|
||
|
#define BF_AUDIOOUT_TEST_DAC_CHOPCLK_V(e) BF_AUDIOOUT_TEST_DAC_CHOPCLK(BV_AUDIOOUT_TEST_DAC_CHOPCLK__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_CHOPCLK_V(v) BM_AUDIOOUT_TEST_DAC_CHOPCLK
|
||
|
#define BP_AUDIOOUT_TEST_DAC_CLASSA 2
|
||
|
#define BM_AUDIOOUT_TEST_DAC_CLASSA 0x4
|
||
|
#define BF_AUDIOOUT_TEST_DAC_CLASSA(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_CLASSA(v) BM_AUDIOOUT_TEST_DAC_CLASSA
|
||
|
#define BF_AUDIOOUT_TEST_DAC_CLASSA_V(e) BF_AUDIOOUT_TEST_DAC_CLASSA(BV_AUDIOOUT_TEST_DAC_CLASSA__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_CLASSA_V(v) BM_AUDIOOUT_TEST_DAC_CLASSA
|
||
|
#define BP_AUDIOOUT_TEST_DAC_DOUBLE_I 1
|
||
|
#define BM_AUDIOOUT_TEST_DAC_DOUBLE_I 0x2
|
||
|
#define BF_AUDIOOUT_TEST_DAC_DOUBLE_I(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_DOUBLE_I(v) BM_AUDIOOUT_TEST_DAC_DOUBLE_I
|
||
|
#define BF_AUDIOOUT_TEST_DAC_DOUBLE_I_V(e) BF_AUDIOOUT_TEST_DAC_DOUBLE_I(BV_AUDIOOUT_TEST_DAC_DOUBLE_I__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_DOUBLE_I_V(v) BM_AUDIOOUT_TEST_DAC_DOUBLE_I
|
||
|
#define BP_AUDIOOUT_TEST_DAC_DIS_RTZ 0
|
||
|
#define BM_AUDIOOUT_TEST_DAC_DIS_RTZ 0x1
|
||
|
#define BF_AUDIOOUT_TEST_DAC_DIS_RTZ(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_DIS_RTZ(v) BM_AUDIOOUT_TEST_DAC_DIS_RTZ
|
||
|
#define BF_AUDIOOUT_TEST_DAC_DIS_RTZ_V(e) BF_AUDIOOUT_TEST_DAC_DIS_RTZ(BV_AUDIOOUT_TEST_DAC_DIS_RTZ__##e)
|
||
|
#define BFM_AUDIOOUT_TEST_DAC_DIS_RTZ_V(v) BM_AUDIOOUT_TEST_DAC_DIS_RTZ
|
||
|
|
||
|
#define HW_AUDIOOUT_BISTCTRL HW(AUDIOOUT_BISTCTRL)
|
||
|
#define HWA_AUDIOOUT_BISTCTRL (0x80048000 + 0xb0)
|
||
|
#define HWT_AUDIOOUT_BISTCTRL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_BISTCTRL AUDIOOUT_BISTCTRL
|
||
|
#define HWI_AUDIOOUT_BISTCTRL
|
||
|
#define HW_AUDIOOUT_BISTCTRL_SET HW(AUDIOOUT_BISTCTRL_SET)
|
||
|
#define HWA_AUDIOOUT_BISTCTRL_SET (HWA_AUDIOOUT_BISTCTRL + 0x4)
|
||
|
#define HWT_AUDIOOUT_BISTCTRL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_BISTCTRL_SET AUDIOOUT_BISTCTRL
|
||
|
#define HWI_AUDIOOUT_BISTCTRL_SET
|
||
|
#define HW_AUDIOOUT_BISTCTRL_CLR HW(AUDIOOUT_BISTCTRL_CLR)
|
||
|
#define HWA_AUDIOOUT_BISTCTRL_CLR (HWA_AUDIOOUT_BISTCTRL + 0x8)
|
||
|
#define HWT_AUDIOOUT_BISTCTRL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_BISTCTRL_CLR AUDIOOUT_BISTCTRL
|
||
|
#define HWI_AUDIOOUT_BISTCTRL_CLR
|
||
|
#define HW_AUDIOOUT_BISTCTRL_TOG HW(AUDIOOUT_BISTCTRL_TOG)
|
||
|
#define HWA_AUDIOOUT_BISTCTRL_TOG (HWA_AUDIOOUT_BISTCTRL + 0xc)
|
||
|
#define HWT_AUDIOOUT_BISTCTRL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_BISTCTRL_TOG AUDIOOUT_BISTCTRL
|
||
|
#define HWI_AUDIOOUT_BISTCTRL_TOG
|
||
|
#define BP_AUDIOOUT_BISTCTRL_FAIL 3
|
||
|
#define BM_AUDIOOUT_BISTCTRL_FAIL 0x8
|
||
|
#define BF_AUDIOOUT_BISTCTRL_FAIL(v) (((v) & 0x1) << 3)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_FAIL(v) BM_AUDIOOUT_BISTCTRL_FAIL
|
||
|
#define BF_AUDIOOUT_BISTCTRL_FAIL_V(e) BF_AUDIOOUT_BISTCTRL_FAIL(BV_AUDIOOUT_BISTCTRL_FAIL__##e)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_FAIL_V(v) BM_AUDIOOUT_BISTCTRL_FAIL
|
||
|
#define BP_AUDIOOUT_BISTCTRL_PASS 2
|
||
|
#define BM_AUDIOOUT_BISTCTRL_PASS 0x4
|
||
|
#define BF_AUDIOOUT_BISTCTRL_PASS(v) (((v) & 0x1) << 2)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_PASS(v) BM_AUDIOOUT_BISTCTRL_PASS
|
||
|
#define BF_AUDIOOUT_BISTCTRL_PASS_V(e) BF_AUDIOOUT_BISTCTRL_PASS(BV_AUDIOOUT_BISTCTRL_PASS__##e)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_PASS_V(v) BM_AUDIOOUT_BISTCTRL_PASS
|
||
|
#define BP_AUDIOOUT_BISTCTRL_DONE 1
|
||
|
#define BM_AUDIOOUT_BISTCTRL_DONE 0x2
|
||
|
#define BF_AUDIOOUT_BISTCTRL_DONE(v) (((v) & 0x1) << 1)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_DONE(v) BM_AUDIOOUT_BISTCTRL_DONE
|
||
|
#define BF_AUDIOOUT_BISTCTRL_DONE_V(e) BF_AUDIOOUT_BISTCTRL_DONE(BV_AUDIOOUT_BISTCTRL_DONE__##e)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_DONE_V(v) BM_AUDIOOUT_BISTCTRL_DONE
|
||
|
#define BP_AUDIOOUT_BISTCTRL_START 0
|
||
|
#define BM_AUDIOOUT_BISTCTRL_START 0x1
|
||
|
#define BF_AUDIOOUT_BISTCTRL_START(v) (((v) & 0x1) << 0)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_START(v) BM_AUDIOOUT_BISTCTRL_START
|
||
|
#define BF_AUDIOOUT_BISTCTRL_START_V(e) BF_AUDIOOUT_BISTCTRL_START(BV_AUDIOOUT_BISTCTRL_START__##e)
|
||
|
#define BFM_AUDIOOUT_BISTCTRL_START_V(v) BM_AUDIOOUT_BISTCTRL_START
|
||
|
|
||
|
#define HW_AUDIOOUT_BISTSTAT0 HW(AUDIOOUT_BISTSTAT0)
|
||
|
#define HWA_AUDIOOUT_BISTSTAT0 (0x80048000 + 0xc0)
|
||
|
#define HWT_AUDIOOUT_BISTSTAT0 HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_BISTSTAT0 AUDIOOUT_BISTSTAT0
|
||
|
#define HWI_AUDIOOUT_BISTSTAT0
|
||
|
#define BP_AUDIOOUT_BISTSTAT0_DATA 0
|
||
|
#define BM_AUDIOOUT_BISTSTAT0_DATA 0xffffff
|
||
|
#define BF_AUDIOOUT_BISTSTAT0_DATA(v) (((v) & 0xffffff) << 0)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT0_DATA(v) BM_AUDIOOUT_BISTSTAT0_DATA
|
||
|
#define BF_AUDIOOUT_BISTSTAT0_DATA_V(e) BF_AUDIOOUT_BISTSTAT0_DATA(BV_AUDIOOUT_BISTSTAT0_DATA__##e)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT0_DATA_V(v) BM_AUDIOOUT_BISTSTAT0_DATA
|
||
|
|
||
|
#define HW_AUDIOOUT_BISTSTAT1 HW(AUDIOOUT_BISTSTAT1)
|
||
|
#define HWA_AUDIOOUT_BISTSTAT1 (0x80048000 + 0xd0)
|
||
|
#define HWT_AUDIOOUT_BISTSTAT1 HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_BISTSTAT1 AUDIOOUT_BISTSTAT1
|
||
|
#define HWI_AUDIOOUT_BISTSTAT1
|
||
|
#define BP_AUDIOOUT_BISTSTAT1_STATE 24
|
||
|
#define BM_AUDIOOUT_BISTSTAT1_STATE 0x1f000000
|
||
|
#define BF_AUDIOOUT_BISTSTAT1_STATE(v) (((v) & 0x1f) << 24)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT1_STATE(v) BM_AUDIOOUT_BISTSTAT1_STATE
|
||
|
#define BF_AUDIOOUT_BISTSTAT1_STATE_V(e) BF_AUDIOOUT_BISTSTAT1_STATE(BV_AUDIOOUT_BISTSTAT1_STATE__##e)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT1_STATE_V(v) BM_AUDIOOUT_BISTSTAT1_STATE
|
||
|
#define BP_AUDIOOUT_BISTSTAT1_ADDR 0
|
||
|
#define BM_AUDIOOUT_BISTSTAT1_ADDR 0xff
|
||
|
#define BF_AUDIOOUT_BISTSTAT1_ADDR(v) (((v) & 0xff) << 0)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT1_ADDR(v) BM_AUDIOOUT_BISTSTAT1_ADDR
|
||
|
#define BF_AUDIOOUT_BISTSTAT1_ADDR_V(e) BF_AUDIOOUT_BISTSTAT1_ADDR(BV_AUDIOOUT_BISTSTAT1_ADDR__##e)
|
||
|
#define BFM_AUDIOOUT_BISTSTAT1_ADDR_V(v) BM_AUDIOOUT_BISTSTAT1_ADDR
|
||
|
|
||
|
#define HW_AUDIOOUT_ANACLKCTRL HW(AUDIOOUT_ANACLKCTRL)
|
||
|
#define HWA_AUDIOOUT_ANACLKCTRL (0x80048000 + 0xe0)
|
||
|
#define HWT_AUDIOOUT_ANACLKCTRL HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_ANACLKCTRL AUDIOOUT_ANACLKCTRL
|
||
|
#define HWI_AUDIOOUT_ANACLKCTRL
|
||
|
#define HW_AUDIOOUT_ANACLKCTRL_SET HW(AUDIOOUT_ANACLKCTRL_SET)
|
||
|
#define HWA_AUDIOOUT_ANACLKCTRL_SET (HWA_AUDIOOUT_ANACLKCTRL + 0x4)
|
||
|
#define HWT_AUDIOOUT_ANACLKCTRL_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACLKCTRL_SET AUDIOOUT_ANACLKCTRL
|
||
|
#define HWI_AUDIOOUT_ANACLKCTRL_SET
|
||
|
#define HW_AUDIOOUT_ANACLKCTRL_CLR HW(AUDIOOUT_ANACLKCTRL_CLR)
|
||
|
#define HWA_AUDIOOUT_ANACLKCTRL_CLR (HWA_AUDIOOUT_ANACLKCTRL + 0x8)
|
||
|
#define HWT_AUDIOOUT_ANACLKCTRL_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACLKCTRL_CLR AUDIOOUT_ANACLKCTRL
|
||
|
#define HWI_AUDIOOUT_ANACLKCTRL_CLR
|
||
|
#define HW_AUDIOOUT_ANACLKCTRL_TOG HW(AUDIOOUT_ANACLKCTRL_TOG)
|
||
|
#define HWA_AUDIOOUT_ANACLKCTRL_TOG (HWA_AUDIOOUT_ANACLKCTRL + 0xc)
|
||
|
#define HWT_AUDIOOUT_ANACLKCTRL_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_ANACLKCTRL_TOG AUDIOOUT_ANACLKCTRL
|
||
|
#define HWI_AUDIOOUT_ANACLKCTRL_TOG
|
||
|
#define BP_AUDIOOUT_ANACLKCTRL_CLKGATE 31
|
||
|
#define BM_AUDIOOUT_ANACLKCTRL_CLKGATE 0x80000000
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_CLKGATE(v) (((v) & 0x1) << 31)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_CLKGATE(v) BM_AUDIOOUT_ANACLKCTRL_CLKGATE
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_CLKGATE_V(e) BF_AUDIOOUT_ANACLKCTRL_CLKGATE(BV_AUDIOOUT_ANACLKCTRL_CLKGATE__##e)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_CLKGATE_V(v) BM_AUDIOOUT_ANACLKCTRL_CLKGATE
|
||
|
#define BP_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK 4
|
||
|
#define BM_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK 0x10
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK(v) (((v) & 0x1) << 4)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK(v) BM_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK_V(e) BF_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK(BV_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK__##e)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK_V(v) BM_AUDIOOUT_ANACLKCTRL_INVERT_DACCLK
|
||
|
#define BP_AUDIOOUT_ANACLKCTRL_DACDIV 0
|
||
|
#define BM_AUDIOOUT_ANACLKCTRL_DACDIV 0x7
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_DACDIV(v) (((v) & 0x7) << 0)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_DACDIV(v) BM_AUDIOOUT_ANACLKCTRL_DACDIV
|
||
|
#define BF_AUDIOOUT_ANACLKCTRL_DACDIV_V(e) BF_AUDIOOUT_ANACLKCTRL_DACDIV(BV_AUDIOOUT_ANACLKCTRL_DACDIV__##e)
|
||
|
#define BFM_AUDIOOUT_ANACLKCTRL_DACDIV_V(v) BM_AUDIOOUT_ANACLKCTRL_DACDIV
|
||
|
|
||
|
#define HW_AUDIOOUT_DATA HW(AUDIOOUT_DATA)
|
||
|
#define HWA_AUDIOOUT_DATA (0x80048000 + 0xf0)
|
||
|
#define HWT_AUDIOOUT_DATA HWIO_32_RW
|
||
|
#define HWN_AUDIOOUT_DATA AUDIOOUT_DATA
|
||
|
#define HWI_AUDIOOUT_DATA
|
||
|
#define HW_AUDIOOUT_DATA_SET HW(AUDIOOUT_DATA_SET)
|
||
|
#define HWA_AUDIOOUT_DATA_SET (HWA_AUDIOOUT_DATA + 0x4)
|
||
|
#define HWT_AUDIOOUT_DATA_SET HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DATA_SET AUDIOOUT_DATA
|
||
|
#define HWI_AUDIOOUT_DATA_SET
|
||
|
#define HW_AUDIOOUT_DATA_CLR HW(AUDIOOUT_DATA_CLR)
|
||
|
#define HWA_AUDIOOUT_DATA_CLR (HWA_AUDIOOUT_DATA + 0x8)
|
||
|
#define HWT_AUDIOOUT_DATA_CLR HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DATA_CLR AUDIOOUT_DATA
|
||
|
#define HWI_AUDIOOUT_DATA_CLR
|
||
|
#define HW_AUDIOOUT_DATA_TOG HW(AUDIOOUT_DATA_TOG)
|
||
|
#define HWA_AUDIOOUT_DATA_TOG (HWA_AUDIOOUT_DATA + 0xc)
|
||
|
#define HWT_AUDIOOUT_DATA_TOG HWIO_32_WO
|
||
|
#define HWN_AUDIOOUT_DATA_TOG AUDIOOUT_DATA
|
||
|
#define HWI_AUDIOOUT_DATA_TOG
|
||
|
#define BP_AUDIOOUT_DATA_HIGH 16
|
||
|
#define BM_AUDIOOUT_DATA_HIGH 0xffff0000
|
||
|
#define BF_AUDIOOUT_DATA_HIGH(v) (((v) & 0xffff) << 16)
|
||
|
#define BFM_AUDIOOUT_DATA_HIGH(v) BM_AUDIOOUT_DATA_HIGH
|
||
|
#define BF_AUDIOOUT_DATA_HIGH_V(e) BF_AUDIOOUT_DATA_HIGH(BV_AUDIOOUT_DATA_HIGH__##e)
|
||
|
#define BFM_AUDIOOUT_DATA_HIGH_V(v) BM_AUDIOOUT_DATA_HIGH
|
||
|
#define BP_AUDIOOUT_DATA_LOW 0
|
||
|
#define BM_AUDIOOUT_DATA_LOW 0xffff
|
||
|
#define BF_AUDIOOUT_DATA_LOW(v) (((v) & 0xffff) << 0)
|
||
|
#define BFM_AUDIOOUT_DATA_LOW(v) BM_AUDIOOUT_DATA_LOW
|
||
|
#define BF_AUDIOOUT_DATA_LOW_V(e) BF_AUDIOOUT_DATA_LOW(BV_AUDIOOUT_DATA_LOW__##e)
|
||
|
#define BFM_AUDIOOUT_DATA_LOW_V(v) BM_AUDIOOUT_DATA_LOW
|
||
|
|
||
|
#endif /* __HEADERGEN_STMP3600_AUDIOOUT_H__*/
|