Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
wm8955.h File Reference

Go to the source code of this file.

Macros

#define WM8955_CLK_MCLK   1
 
#define WM8955_LOUT1_VOLUME   0x02
 
#define WM8955_ROUT1_VOLUME   0x03
 
#define WM8955_DAC_CONTROL   0x05
 
#define WM8955_AUDIO_INTERFACE   0x07
 
#define WM8955_SAMPLE_RATE   0x08
 
#define WM8955_LEFT_DAC_VOLUME   0x0A
 
#define WM8955_RIGHT_DAC_VOLUME   0x0B
 
#define WM8955_BASS_CONTROL   0x0C
 
#define WM8955_TREBLE_CONTROL   0x0D
 
#define WM8955_RESET   0x0F
 
#define WM8955_ADDITIONAL_CONTROL_1   0x17
 
#define WM8955_ADDITIONAL_CONTROL_2   0x18
 
#define WM8955_POWER_MANAGEMENT_1   0x19
 
#define WM8955_POWER_MANAGEMENT_2   0x1A
 
#define WM8955_ADDITIONAL_CONTROL_3   0x1B
 
#define WM8955_LEFT_OUT_MIX_1   0x22
 
#define WM8955_LEFT_OUT_MIX_2   0x23
 
#define WM8955_RIGHT_OUT_MIX_1   0x24
 
#define WM8955_RIGHT_OUT_MIX_2   0x25
 
#define WM8955_MONO_OUT_MIX_1   0x26
 
#define WM8955_MONO_OUT_MIX_2   0x27
 
#define WM8955_LOUT2_VOLUME   0x28
 
#define WM8955_ROUT2_VOLUME   0x29
 
#define WM8955_MONOOUT_VOLUME   0x2A
 
#define WM8955_CLOCKING_PLL   0x2B
 
#define WM8955_PLL_CONTROL_1   0x2C
 
#define WM8955_PLL_CONTROL_2   0x2D
 
#define WM8955_PLL_CONTROL_3   0x2E
 
#define WM8955_PLL_CONTROL_4   0x3B
 
#define WM8955_REGISTER_COUNT   29
 
#define WM8955_MAX_REGISTER   0x3B
 
#define WM8955_LO1VU   0x0100 /* LO1VU */
 
#define WM8955_LO1VU_MASK   0x0100 /* LO1VU */
 
#define WM8955_LO1VU_SHIFT   8 /* LO1VU */
 
#define WM8955_LO1VU_WIDTH   1 /* LO1VU */
 
#define WM8955_LO1ZC   0x0080 /* LO1ZC */
 
#define WM8955_LO1ZC_MASK   0x0080 /* LO1ZC */
 
#define WM8955_LO1ZC_SHIFT   7 /* LO1ZC */
 
#define WM8955_LO1ZC_WIDTH   1 /* LO1ZC */
 
#define WM8955_LOUTVOL_MASK   0x007F /* LOUTVOL - [6:0] */
 
#define WM8955_LOUTVOL_SHIFT   0 /* LOUTVOL - [6:0] */
 
#define WM8955_LOUTVOL_WIDTH   7 /* LOUTVOL - [6:0] */
 
#define WM8955_RO1VU   0x0100 /* RO1VU */
 
#define WM8955_RO1VU_MASK   0x0100 /* RO1VU */
 
#define WM8955_RO1VU_SHIFT   8 /* RO1VU */
 
#define WM8955_RO1VU_WIDTH   1 /* RO1VU */
 
#define WM8955_RO1ZC   0x0080 /* RO1ZC */
 
#define WM8955_RO1ZC_MASK   0x0080 /* RO1ZC */
 
#define WM8955_RO1ZC_SHIFT   7 /* RO1ZC */
 
#define WM8955_RO1ZC_WIDTH   1 /* RO1ZC */
 
#define WM8955_ROUTVOL_MASK   0x007F /* ROUTVOL - [6:0] */
 
#define WM8955_ROUTVOL_SHIFT   0 /* ROUTVOL - [6:0] */
 
#define WM8955_ROUTVOL_WIDTH   7 /* ROUTVOL - [6:0] */
 
#define WM8955_DAT   0x0080 /* DAT */
 
#define WM8955_DAT_MASK   0x0080 /* DAT */
 
#define WM8955_DAT_SHIFT   7 /* DAT */
 
#define WM8955_DAT_WIDTH   1 /* DAT */
 
#define WM8955_DACMU   0x0008 /* DACMU */
 
#define WM8955_DACMU_MASK   0x0008 /* DACMU */
 
#define WM8955_DACMU_SHIFT   3 /* DACMU */
 
#define WM8955_DACMU_WIDTH   1 /* DACMU */
 
#define WM8955_DEEMPH_MASK   0x0006 /* DEEMPH - [2:1] */
 
#define WM8955_DEEMPH_SHIFT   1 /* DEEMPH - [2:1] */
 
#define WM8955_DEEMPH_WIDTH   2 /* DEEMPH - [2:1] */
 
#define WM8955_BCLKINV   0x0080 /* BCLKINV */
 
#define WM8955_BCLKINV_MASK   0x0080 /* BCLKINV */
 
#define WM8955_BCLKINV_SHIFT   7 /* BCLKINV */
 
#define WM8955_BCLKINV_WIDTH   1 /* BCLKINV */
 
#define WM8955_MS   0x0040 /* MS */
 
#define WM8955_MS_MASK   0x0040 /* MS */
 
#define WM8955_MS_SHIFT   6 /* MS */
 
#define WM8955_MS_WIDTH   1 /* MS */
 
#define WM8955_LRSWAP   0x0020 /* LRSWAP */
 
#define WM8955_LRSWAP_MASK   0x0020 /* LRSWAP */
 
#define WM8955_LRSWAP_SHIFT   5 /* LRSWAP */
 
#define WM8955_LRSWAP_WIDTH   1 /* LRSWAP */
 
#define WM8955_LRP   0x0010 /* LRP */
 
#define WM8955_LRP_MASK   0x0010 /* LRP */
 
#define WM8955_LRP_SHIFT   4 /* LRP */
 
#define WM8955_LRP_WIDTH   1 /* LRP */
 
#define WM8955_WL_MASK   0x000C /* WL - [3:2] */
 
#define WM8955_WL_SHIFT   2 /* WL - [3:2] */
 
#define WM8955_WL_WIDTH   2 /* WL - [3:2] */
 
#define WM8955_FORMAT_MASK   0x0003 /* FORMAT - [1:0] */
 
#define WM8955_FORMAT_SHIFT   0 /* FORMAT - [1:0] */
 
#define WM8955_FORMAT_WIDTH   2 /* FORMAT - [1:0] */
 
#define WM8955_BCLKDIV2   0x0080 /* BCLKDIV2 */
 
#define WM8955_BCLKDIV2_MASK   0x0080 /* BCLKDIV2 */
 
#define WM8955_BCLKDIV2_SHIFT   7 /* BCLKDIV2 */
 
#define WM8955_BCLKDIV2_WIDTH   1 /* BCLKDIV2 */
 
#define WM8955_MCLKDIV2   0x0040 /* MCLKDIV2 */
 
#define WM8955_MCLKDIV2_MASK   0x0040 /* MCLKDIV2 */
 
#define WM8955_MCLKDIV2_SHIFT   6 /* MCLKDIV2 */
 
#define WM8955_MCLKDIV2_WIDTH   1 /* MCLKDIV2 */
 
#define WM8955_SR_MASK   0x003E /* SR - [5:1] */
 
#define WM8955_SR_SHIFT   1 /* SR - [5:1] */
 
#define WM8955_SR_WIDTH   5 /* SR - [5:1] */
 
#define WM8955_USB   0x0001 /* USB */
 
#define WM8955_USB_MASK   0x0001 /* USB */
 
#define WM8955_USB_SHIFT   0 /* USB */
 
#define WM8955_USB_WIDTH   1 /* USB */
 
#define WM8955_LDVU   0x0100 /* LDVU */
 
#define WM8955_LDVU_MASK   0x0100 /* LDVU */
 
#define WM8955_LDVU_SHIFT   8 /* LDVU */
 
#define WM8955_LDVU_WIDTH   1 /* LDVU */
 
#define WM8955_LDACVOL_MASK   0x00FF /* LDACVOL - [7:0] */
 
#define WM8955_LDACVOL_SHIFT   0 /* LDACVOL - [7:0] */
 
#define WM8955_LDACVOL_WIDTH   8 /* LDACVOL - [7:0] */
 
#define WM8955_RDVU   0x0100 /* RDVU */
 
#define WM8955_RDVU_MASK   0x0100 /* RDVU */
 
#define WM8955_RDVU_SHIFT   8 /* RDVU */
 
#define WM8955_RDVU_WIDTH   1 /* RDVU */
 
#define WM8955_RDACVOL_MASK   0x00FF /* RDACVOL - [7:0] */
 
#define WM8955_RDACVOL_SHIFT   0 /* RDACVOL - [7:0] */
 
#define WM8955_RDACVOL_WIDTH   8 /* RDACVOL - [7:0] */
 
#define WM8955_BB   0x0080 /* BB */
 
#define WM8955_BB_MASK   0x0080 /* BB */
 
#define WM8955_BB_SHIFT   7 /* BB */
 
#define WM8955_BB_WIDTH   1 /* BB */
 
#define WM8955_BC   0x0040 /* BC */
 
#define WM8955_BC_MASK   0x0040 /* BC */
 
#define WM8955_BC_SHIFT   6 /* BC */
 
#define WM8955_BC_WIDTH   1 /* BC */
 
#define WM8955_BASS_MASK   0x000F /* BASS - [3:0] */
 
#define WM8955_BASS_SHIFT   0 /* BASS - [3:0] */
 
#define WM8955_BASS_WIDTH   4 /* BASS - [3:0] */
 
#define WM8955_TC   0x0040 /* TC */
 
#define WM8955_TC_MASK   0x0040 /* TC */
 
#define WM8955_TC_SHIFT   6 /* TC */
 
#define WM8955_TC_WIDTH   1 /* TC */
 
#define WM8955_TRBL_MASK   0x000F /* TRBL - [3:0] */
 
#define WM8955_TRBL_SHIFT   0 /* TRBL - [3:0] */
 
#define WM8955_TRBL_WIDTH   4 /* TRBL - [3:0] */
 
#define WM8955_RESET_MASK   0x01FF /* RESET - [8:0] */
 
#define WM8955_RESET_SHIFT   0 /* RESET - [8:0] */
 
#define WM8955_RESET_WIDTH   9 /* RESET - [8:0] */
 
#define WM8955_TSDEN   0x0100 /* TSDEN */
 
#define WM8955_TSDEN_MASK   0x0100 /* TSDEN */
 
#define WM8955_TSDEN_SHIFT   8 /* TSDEN */
 
#define WM8955_TSDEN_WIDTH   1 /* TSDEN */
 
#define WM8955_VSEL_MASK   0x00C0 /* VSEL - [7:6] */
 
#define WM8955_VSEL_SHIFT   6 /* VSEL - [7:6] */
 
#define WM8955_VSEL_WIDTH   2 /* VSEL - [7:6] */
 
#define WM8955_DMONOMIX_MASK   0x0030 /* DMONOMIX - [5:4] */
 
#define WM8955_DMONOMIX_SHIFT   4 /* DMONOMIX - [5:4] */
 
#define WM8955_DMONOMIX_WIDTH   2 /* DMONOMIX - [5:4] */
 
#define WM8955_DACINV   0x0002 /* DACINV */
 
#define WM8955_DACINV_MASK   0x0002 /* DACINV */
 
#define WM8955_DACINV_SHIFT   1 /* DACINV */
 
#define WM8955_DACINV_WIDTH   1 /* DACINV */
 
#define WM8955_TOEN   0x0001 /* TOEN */
 
#define WM8955_TOEN_MASK   0x0001 /* TOEN */
 
#define WM8955_TOEN_SHIFT   0 /* TOEN */
 
#define WM8955_TOEN_WIDTH   1 /* TOEN */
 
#define WM8955_OUT3SW_MASK   0x0180 /* OUT3SW - [8:7] */
 
#define WM8955_OUT3SW_SHIFT   7 /* OUT3SW - [8:7] */
 
#define WM8955_OUT3SW_WIDTH   2 /* OUT3SW - [8:7] */
 
#define WM8955_ROUT2INV   0x0010 /* ROUT2INV */
 
#define WM8955_ROUT2INV_MASK   0x0010 /* ROUT2INV */
 
#define WM8955_ROUT2INV_SHIFT   4 /* ROUT2INV */
 
#define WM8955_ROUT2INV_WIDTH   1 /* ROUT2INV */
 
#define WM8955_DACOSR   0x0001 /* DACOSR */
 
#define WM8955_DACOSR_MASK   0x0001 /* DACOSR */
 
#define WM8955_DACOSR_SHIFT   0 /* DACOSR */
 
#define WM8955_DACOSR_WIDTH   1 /* DACOSR */
 
#define WM8955_VMIDSEL_MASK   0x0180 /* VMIDSEL - [8:7] */
 
#define WM8955_VMIDSEL_SHIFT   7 /* VMIDSEL - [8:7] */
 
#define WM8955_VMIDSEL_WIDTH   2 /* VMIDSEL - [8:7] */
 
#define WM8955_VREF   0x0040 /* VREF */
 
#define WM8955_VREF_MASK   0x0040 /* VREF */
 
#define WM8955_VREF_SHIFT   6 /* VREF */
 
#define WM8955_VREF_WIDTH   1 /* VREF */
 
#define WM8955_DIGENB   0x0001 /* DIGENB */
 
#define WM8955_DIGENB_MASK   0x0001 /* DIGENB */
 
#define WM8955_DIGENB_SHIFT   0 /* DIGENB */
 
#define WM8955_DIGENB_WIDTH   1 /* DIGENB */
 
#define WM8955_DACL   0x0100 /* DACL */
 
#define WM8955_DACL_MASK   0x0100 /* DACL */
 
#define WM8955_DACL_SHIFT   8 /* DACL */
 
#define WM8955_DACL_WIDTH   1 /* DACL */
 
#define WM8955_DACR   0x0080 /* DACR */
 
#define WM8955_DACR_MASK   0x0080 /* DACR */
 
#define WM8955_DACR_SHIFT   7 /* DACR */
 
#define WM8955_DACR_WIDTH   1 /* DACR */
 
#define WM8955_LOUT1   0x0040 /* LOUT1 */
 
#define WM8955_LOUT1_MASK   0x0040 /* LOUT1 */
 
#define WM8955_LOUT1_SHIFT   6 /* LOUT1 */
 
#define WM8955_LOUT1_WIDTH   1 /* LOUT1 */
 
#define WM8955_ROUT1   0x0020 /* ROUT1 */
 
#define WM8955_ROUT1_MASK   0x0020 /* ROUT1 */
 
#define WM8955_ROUT1_SHIFT   5 /* ROUT1 */
 
#define WM8955_ROUT1_WIDTH   1 /* ROUT1 */
 
#define WM8955_LOUT2   0x0010 /* LOUT2 */
 
#define WM8955_LOUT2_MASK   0x0010 /* LOUT2 */
 
#define WM8955_LOUT2_SHIFT   4 /* LOUT2 */
 
#define WM8955_LOUT2_WIDTH   1 /* LOUT2 */
 
#define WM8955_ROUT2   0x0008 /* ROUT2 */
 
#define WM8955_ROUT2_MASK   0x0008 /* ROUT2 */
 
#define WM8955_ROUT2_SHIFT   3 /* ROUT2 */
 
#define WM8955_ROUT2_WIDTH   1 /* ROUT2 */
 
#define WM8955_MONO   0x0004 /* MONO */
 
#define WM8955_MONO_MASK   0x0004 /* MONO */
 
#define WM8955_MONO_SHIFT   2 /* MONO */
 
#define WM8955_MONO_WIDTH   1 /* MONO */
 
#define WM8955_OUT3   0x0002 /* OUT3 */
 
#define WM8955_OUT3_MASK   0x0002 /* OUT3 */
 
#define WM8955_OUT3_SHIFT   1 /* OUT3 */
 
#define WM8955_OUT3_WIDTH   1 /* OUT3 */
 
#define WM8955_VROI   0x0040 /* VROI */
 
#define WM8955_VROI_MASK   0x0040 /* VROI */
 
#define WM8955_VROI_SHIFT   6 /* VROI */
 
#define WM8955_VROI_WIDTH   1 /* VROI */
 
#define WM8955_LD2LO   0x0100 /* LD2LO */
 
#define WM8955_LD2LO_MASK   0x0100 /* LD2LO */
 
#define WM8955_LD2LO_SHIFT   8 /* LD2LO */
 
#define WM8955_LD2LO_WIDTH   1 /* LD2LO */
 
#define WM8955_LI2LO   0x0080 /* LI2LO */
 
#define WM8955_LI2LO_MASK   0x0080 /* LI2LO */
 
#define WM8955_LI2LO_SHIFT   7 /* LI2LO */
 
#define WM8955_LI2LO_WIDTH   1 /* LI2LO */
 
#define WM8955_LI2LOVOL_MASK   0x0070 /* LI2LOVOL - [6:4] */
 
#define WM8955_LI2LOVOL_SHIFT   4 /* LI2LOVOL - [6:4] */
 
#define WM8955_LI2LOVOL_WIDTH   3 /* LI2LOVOL - [6:4] */
 
#define WM8955_RD2LO   0x0100 /* RD2LO */
 
#define WM8955_RD2LO_MASK   0x0100 /* RD2LO */
 
#define WM8955_RD2LO_SHIFT   8 /* RD2LO */
 
#define WM8955_RD2LO_WIDTH   1 /* RD2LO */
 
#define WM8955_RI2LO   0x0080 /* RI2LO */
 
#define WM8955_RI2LO_MASK   0x0080 /* RI2LO */
 
#define WM8955_RI2LO_SHIFT   7 /* RI2LO */
 
#define WM8955_RI2LO_WIDTH   1 /* RI2LO */
 
#define WM8955_RI2LOVOL_MASK   0x0070 /* RI2LOVOL - [6:4] */
 
#define WM8955_RI2LOVOL_SHIFT   4 /* RI2LOVOL - [6:4] */
 
#define WM8955_RI2LOVOL_WIDTH   3 /* RI2LOVOL - [6:4] */
 
#define WM8955_LD2RO   0x0100 /* LD2RO */
 
#define WM8955_LD2RO_MASK   0x0100 /* LD2RO */
 
#define WM8955_LD2RO_SHIFT   8 /* LD2RO */
 
#define WM8955_LD2RO_WIDTH   1 /* LD2RO */
 
#define WM8955_LI2RO   0x0080 /* LI2RO */
 
#define WM8955_LI2RO_MASK   0x0080 /* LI2RO */
 
#define WM8955_LI2RO_SHIFT   7 /* LI2RO */
 
#define WM8955_LI2RO_WIDTH   1 /* LI2RO */
 
#define WM8955_LI2ROVOL_MASK   0x0070 /* LI2ROVOL - [6:4] */
 
#define WM8955_LI2ROVOL_SHIFT   4 /* LI2ROVOL - [6:4] */
 
#define WM8955_LI2ROVOL_WIDTH   3 /* LI2ROVOL - [6:4] */
 
#define WM8955_RD2RO   0x0100 /* RD2RO */
 
#define WM8955_RD2RO_MASK   0x0100 /* RD2RO */
 
#define WM8955_RD2RO_SHIFT   8 /* RD2RO */
 
#define WM8955_RD2RO_WIDTH   1 /* RD2RO */
 
#define WM8955_RI2RO   0x0080 /* RI2RO */
 
#define WM8955_RI2RO_MASK   0x0080 /* RI2RO */
 
#define WM8955_RI2RO_SHIFT   7 /* RI2RO */
 
#define WM8955_RI2RO_WIDTH   1 /* RI2RO */
 
#define WM8955_RI2ROVOL_MASK   0x0070 /* RI2ROVOL - [6:4] */
 
#define WM8955_RI2ROVOL_SHIFT   4 /* RI2ROVOL - [6:4] */
 
#define WM8955_RI2ROVOL_WIDTH   3 /* RI2ROVOL - [6:4] */
 
#define WM8955_LD2MO   0x0100 /* LD2MO */
 
#define WM8955_LD2MO_MASK   0x0100 /* LD2MO */
 
#define WM8955_LD2MO_SHIFT   8 /* LD2MO */
 
#define WM8955_LD2MO_WIDTH   1 /* LD2MO */
 
#define WM8955_LI2MO   0x0080 /* LI2MO */
 
#define WM8955_LI2MO_MASK   0x0080 /* LI2MO */
 
#define WM8955_LI2MO_SHIFT   7 /* LI2MO */
 
#define WM8955_LI2MO_WIDTH   1 /* LI2MO */
 
#define WM8955_LI2MOVOL_MASK   0x0070 /* LI2MOVOL - [6:4] */
 
#define WM8955_LI2MOVOL_SHIFT   4 /* LI2MOVOL - [6:4] */
 
#define WM8955_LI2MOVOL_WIDTH   3 /* LI2MOVOL - [6:4] */
 
#define WM8955_DMEN   0x0001 /* DMEN */
 
#define WM8955_DMEN_MASK   0x0001 /* DMEN */
 
#define WM8955_DMEN_SHIFT   0 /* DMEN */
 
#define WM8955_DMEN_WIDTH   1 /* DMEN */
 
#define WM8955_RD2MO   0x0100 /* RD2MO */
 
#define WM8955_RD2MO_MASK   0x0100 /* RD2MO */
 
#define WM8955_RD2MO_SHIFT   8 /* RD2MO */
 
#define WM8955_RD2MO_WIDTH   1 /* RD2MO */
 
#define WM8955_RI2MO   0x0080 /* RI2MO */
 
#define WM8955_RI2MO_MASK   0x0080 /* RI2MO */
 
#define WM8955_RI2MO_SHIFT   7 /* RI2MO */
 
#define WM8955_RI2MO_WIDTH   1 /* RI2MO */
 
#define WM8955_RI2MOVOL_MASK   0x0070 /* RI2MOVOL - [6:4] */
 
#define WM8955_RI2MOVOL_SHIFT   4 /* RI2MOVOL - [6:4] */
 
#define WM8955_RI2MOVOL_WIDTH   3 /* RI2MOVOL - [6:4] */
 
#define WM8955_LO2VU   0x0100 /* LO2VU */
 
#define WM8955_LO2VU_MASK   0x0100 /* LO2VU */
 
#define WM8955_LO2VU_SHIFT   8 /* LO2VU */
 
#define WM8955_LO2VU_WIDTH   1 /* LO2VU */
 
#define WM8955_LO2ZC   0x0080 /* LO2ZC */
 
#define WM8955_LO2ZC_MASK   0x0080 /* LO2ZC */
 
#define WM8955_LO2ZC_SHIFT   7 /* LO2ZC */
 
#define WM8955_LO2ZC_WIDTH   1 /* LO2ZC */
 
#define WM8955_LOUT2VOL_MASK   0x007F /* LOUT2VOL - [6:0] */
 
#define WM8955_LOUT2VOL_SHIFT   0 /* LOUT2VOL - [6:0] */
 
#define WM8955_LOUT2VOL_WIDTH   7 /* LOUT2VOL - [6:0] */
 
#define WM8955_RO2VU   0x0100 /* RO2VU */
 
#define WM8955_RO2VU_MASK   0x0100 /* RO2VU */
 
#define WM8955_RO2VU_SHIFT   8 /* RO2VU */
 
#define WM8955_RO2VU_WIDTH   1 /* RO2VU */
 
#define WM8955_RO2ZC   0x0080 /* RO2ZC */
 
#define WM8955_RO2ZC_MASK   0x0080 /* RO2ZC */
 
#define WM8955_RO2ZC_SHIFT   7 /* RO2ZC */
 
#define WM8955_RO2ZC_WIDTH   1 /* RO2ZC */
 
#define WM8955_ROUT2VOL_MASK   0x007F /* ROUT2VOL - [6:0] */
 
#define WM8955_ROUT2VOL_SHIFT   0 /* ROUT2VOL - [6:0] */
 
#define WM8955_ROUT2VOL_WIDTH   7 /* ROUT2VOL - [6:0] */
 
#define WM8955_MOZC   0x0080 /* MOZC */
 
#define WM8955_MOZC_MASK   0x0080 /* MOZC */
 
#define WM8955_MOZC_SHIFT   7 /* MOZC */
 
#define WM8955_MOZC_WIDTH   1 /* MOZC */
 
#define WM8955_MOUTVOL_MASK   0x007F /* MOUTVOL - [6:0] */
 
#define WM8955_MOUTVOL_SHIFT   0 /* MOUTVOL - [6:0] */
 
#define WM8955_MOUTVOL_WIDTH   7 /* MOUTVOL - [6:0] */
 
#define WM8955_MCLKSEL   0x0100 /* MCLKSEL */
 
#define WM8955_MCLKSEL_MASK   0x0100 /* MCLKSEL */
 
#define WM8955_MCLKSEL_SHIFT   8 /* MCLKSEL */
 
#define WM8955_MCLKSEL_WIDTH   1 /* MCLKSEL */
 
#define WM8955_PLLOUTDIV2   0x0020 /* PLLOUTDIV2 */
 
#define WM8955_PLLOUTDIV2_MASK   0x0020 /* PLLOUTDIV2 */
 
#define WM8955_PLLOUTDIV2_SHIFT   5 /* PLLOUTDIV2 */
 
#define WM8955_PLLOUTDIV2_WIDTH   1 /* PLLOUTDIV2 */
 
#define WM8955_PLL_RB   0x0010 /* PLL_RB */
 
#define WM8955_PLL_RB_MASK   0x0010 /* PLL_RB */
 
#define WM8955_PLL_RB_SHIFT   4 /* PLL_RB */
 
#define WM8955_PLL_RB_WIDTH   1 /* PLL_RB */
 
#define WM8955_PLLEN   0x0008 /* PLLEN */
 
#define WM8955_PLLEN_MASK   0x0008 /* PLLEN */
 
#define WM8955_PLLEN_SHIFT   3 /* PLLEN */
 
#define WM8955_PLLEN_WIDTH   1 /* PLLEN */
 
#define WM8955_N_MASK   0x01E0 /* N - [8:5] */
 
#define WM8955_N_SHIFT   5 /* N - [8:5] */
 
#define WM8955_N_WIDTH   4 /* N - [8:5] */
 
#define WM8955_K_21_18_MASK   0x000F /* K(21:18) - [3:0] */
 
#define WM8955_K_21_18_SHIFT   0 /* K(21:18) - [3:0] */
 
#define WM8955_K_21_18_WIDTH   4 /* K(21:18) - [3:0] */
 
#define WM8955_K_17_9_MASK   0x01FF /* K(17:9) - [8:0] */
 
#define WM8955_K_17_9_SHIFT   0 /* K(17:9) - [8:0] */
 
#define WM8955_K_17_9_WIDTH   9 /* K(17:9) - [8:0] */
 
#define WM8955_K_8_0_MASK   0x01FF /* K(8:0) - [8:0] */
 
#define WM8955_K_8_0_SHIFT   0 /* K(8:0) - [8:0] */
 
#define WM8955_K_8_0_WIDTH   9 /* K(8:0) - [8:0] */
 
#define WM8955_KEN   0x0080 /* KEN */
 
#define WM8955_KEN_MASK   0x0080 /* KEN */
 
#define WM8955_KEN_SHIFT   7 /* KEN */
 
#define WM8955_KEN_WIDTH   1 /* KEN */
 

Macro Definition Documentation

#define WM8955_ADDITIONAL_CONTROL_1   0x17

Definition at line 31 of file wm8955.h.

#define WM8955_ADDITIONAL_CONTROL_2   0x18

Definition at line 32 of file wm8955.h.

#define WM8955_ADDITIONAL_CONTROL_3   0x1B

Definition at line 35 of file wm8955.h.

#define WM8955_AUDIO_INTERFACE   0x07

Definition at line 24 of file wm8955.h.

#define WM8955_BASS_CONTROL   0x0C

Definition at line 28 of file wm8955.h.

#define WM8955_BASS_MASK   0x000F /* BASS - [3:0] */

Definition at line 181 of file wm8955.h.

#define WM8955_BASS_SHIFT   0 /* BASS - [3:0] */

Definition at line 182 of file wm8955.h.

#define WM8955_BASS_WIDTH   4 /* BASS - [3:0] */

Definition at line 183 of file wm8955.h.

#define WM8955_BB   0x0080 /* BB */

Definition at line 173 of file wm8955.h.

#define WM8955_BB_MASK   0x0080 /* BB */

Definition at line 174 of file wm8955.h.

#define WM8955_BB_SHIFT   7 /* BB */

Definition at line 175 of file wm8955.h.

#define WM8955_BB_WIDTH   1 /* BB */

Definition at line 176 of file wm8955.h.

#define WM8955_BC   0x0040 /* BC */

Definition at line 177 of file wm8955.h.

#define WM8955_BC_MASK   0x0040 /* BC */

Definition at line 178 of file wm8955.h.

#define WM8955_BC_SHIFT   6 /* BC */

Definition at line 179 of file wm8955.h.

#define WM8955_BC_WIDTH   1 /* BC */

Definition at line 180 of file wm8955.h.

#define WM8955_BCLKDIV2   0x0080 /* BCLKDIV2 */

Definition at line 132 of file wm8955.h.

#define WM8955_BCLKDIV2_MASK   0x0080 /* BCLKDIV2 */

Definition at line 133 of file wm8955.h.

#define WM8955_BCLKDIV2_SHIFT   7 /* BCLKDIV2 */

Definition at line 134 of file wm8955.h.

#define WM8955_BCLKDIV2_WIDTH   1 /* BCLKDIV2 */

Definition at line 135 of file wm8955.h.

#define WM8955_BCLKINV   0x0080 /* BCLKINV */

Definition at line 106 of file wm8955.h.

#define WM8955_BCLKINV_MASK   0x0080 /* BCLKINV */

Definition at line 107 of file wm8955.h.

#define WM8955_BCLKINV_SHIFT   7 /* BCLKINV */

Definition at line 108 of file wm8955.h.

#define WM8955_BCLKINV_WIDTH   1 /* BCLKINV */

Definition at line 109 of file wm8955.h.

#define WM8955_CLK_MCLK   1

Definition at line 16 of file wm8955.h.

#define WM8955_CLOCKING_PLL   0x2B

Definition at line 45 of file wm8955.h.

#define WM8955_DAC_CONTROL   0x05

Definition at line 23 of file wm8955.h.

#define WM8955_DACINV   0x0002 /* DACINV */

Definition at line 216 of file wm8955.h.

#define WM8955_DACINV_MASK   0x0002 /* DACINV */

Definition at line 217 of file wm8955.h.

#define WM8955_DACINV_SHIFT   1 /* DACINV */

Definition at line 218 of file wm8955.h.

#define WM8955_DACINV_WIDTH   1 /* DACINV */

Definition at line 219 of file wm8955.h.

#define WM8955_DACL   0x0100 /* DACL */

Definition at line 258 of file wm8955.h.

#define WM8955_DACL_MASK   0x0100 /* DACL */

Definition at line 259 of file wm8955.h.

#define WM8955_DACL_SHIFT   8 /* DACL */

Definition at line 260 of file wm8955.h.

#define WM8955_DACL_WIDTH   1 /* DACL */

Definition at line 261 of file wm8955.h.

#define WM8955_DACMU   0x0008 /* DACMU */

Definition at line 95 of file wm8955.h.

#define WM8955_DACMU_MASK   0x0008 /* DACMU */

Definition at line 96 of file wm8955.h.

#define WM8955_DACMU_SHIFT   3 /* DACMU */

Definition at line 97 of file wm8955.h.

#define WM8955_DACMU_WIDTH   1 /* DACMU */

Definition at line 98 of file wm8955.h.

#define WM8955_DACOSR   0x0001 /* DACOSR */

Definition at line 235 of file wm8955.h.

#define WM8955_DACOSR_MASK   0x0001 /* DACOSR */

Definition at line 236 of file wm8955.h.

#define WM8955_DACOSR_SHIFT   0 /* DACOSR */

Definition at line 237 of file wm8955.h.

#define WM8955_DACOSR_WIDTH   1 /* DACOSR */

Definition at line 238 of file wm8955.h.

#define WM8955_DACR   0x0080 /* DACR */

Definition at line 262 of file wm8955.h.

#define WM8955_DACR_MASK   0x0080 /* DACR */

Definition at line 263 of file wm8955.h.

#define WM8955_DACR_SHIFT   7 /* DACR */

Definition at line 264 of file wm8955.h.

#define WM8955_DACR_WIDTH   1 /* DACR */

Definition at line 265 of file wm8955.h.

#define WM8955_DAT   0x0080 /* DAT */

Definition at line 91 of file wm8955.h.

#define WM8955_DAT_MASK   0x0080 /* DAT */

Definition at line 92 of file wm8955.h.

#define WM8955_DAT_SHIFT   7 /* DAT */

Definition at line 93 of file wm8955.h.

#define WM8955_DAT_WIDTH   1 /* DAT */

Definition at line 94 of file wm8955.h.

#define WM8955_DEEMPH_MASK   0x0006 /* DEEMPH - [2:1] */

Definition at line 99 of file wm8955.h.

#define WM8955_DEEMPH_SHIFT   1 /* DEEMPH - [2:1] */

Definition at line 100 of file wm8955.h.

#define WM8955_DEEMPH_WIDTH   2 /* DEEMPH - [2:1] */

Definition at line 101 of file wm8955.h.

#define WM8955_DIGENB   0x0001 /* DIGENB */

Definition at line 250 of file wm8955.h.

#define WM8955_DIGENB_MASK   0x0001 /* DIGENB */

Definition at line 251 of file wm8955.h.

#define WM8955_DIGENB_SHIFT   0 /* DIGENB */

Definition at line 252 of file wm8955.h.

#define WM8955_DIGENB_WIDTH   1 /* DIGENB */

Definition at line 253 of file wm8955.h.

#define WM8955_DMEN   0x0001 /* DMEN */

Definition at line 373 of file wm8955.h.

#define WM8955_DMEN_MASK   0x0001 /* DMEN */

Definition at line 374 of file wm8955.h.

#define WM8955_DMEN_SHIFT   0 /* DMEN */

Definition at line 375 of file wm8955.h.

#define WM8955_DMEN_WIDTH   1 /* DMEN */

Definition at line 376 of file wm8955.h.

#define WM8955_DMONOMIX_MASK   0x0030 /* DMONOMIX - [5:4] */

Definition at line 213 of file wm8955.h.

#define WM8955_DMONOMIX_SHIFT   4 /* DMONOMIX - [5:4] */

Definition at line 214 of file wm8955.h.

#define WM8955_DMONOMIX_WIDTH   2 /* DMONOMIX - [5:4] */

Definition at line 215 of file wm8955.h.

#define WM8955_FORMAT_MASK   0x0003 /* FORMAT - [1:0] */

Definition at line 125 of file wm8955.h.

#define WM8955_FORMAT_SHIFT   0 /* FORMAT - [1:0] */

Definition at line 126 of file wm8955.h.

#define WM8955_FORMAT_WIDTH   2 /* FORMAT - [1:0] */

Definition at line 127 of file wm8955.h.

#define WM8955_K_17_9_MASK   0x01FF /* K(17:9) - [8:0] */

Definition at line 467 of file wm8955.h.

#define WM8955_K_17_9_SHIFT   0 /* K(17:9) - [8:0] */

Definition at line 468 of file wm8955.h.

#define WM8955_K_17_9_WIDTH   9 /* K(17:9) - [8:0] */

Definition at line 469 of file wm8955.h.

#define WM8955_K_21_18_MASK   0x000F /* K(21:18) - [3:0] */

Definition at line 460 of file wm8955.h.

#define WM8955_K_21_18_SHIFT   0 /* K(21:18) - [3:0] */

Definition at line 461 of file wm8955.h.

#define WM8955_K_21_18_WIDTH   4 /* K(21:18) - [3:0] */

Definition at line 462 of file wm8955.h.

#define WM8955_K_8_0_MASK   0x01FF /* K(8:0) - [8:0] */

Definition at line 474 of file wm8955.h.

#define WM8955_K_8_0_SHIFT   0 /* K(8:0) - [8:0] */

Definition at line 475 of file wm8955.h.

#define WM8955_K_8_0_WIDTH   9 /* K(8:0) - [8:0] */

Definition at line 476 of file wm8955.h.

#define WM8955_KEN   0x0080 /* KEN */

Definition at line 481 of file wm8955.h.

#define WM8955_KEN_MASK   0x0080 /* KEN */

Definition at line 482 of file wm8955.h.

#define WM8955_KEN_SHIFT   7 /* KEN */

Definition at line 483 of file wm8955.h.

#define WM8955_KEN_WIDTH   1 /* KEN */

Definition at line 484 of file wm8955.h.

#define WM8955_LD2LO   0x0100 /* LD2LO */

Definition at line 302 of file wm8955.h.

#define WM8955_LD2LO_MASK   0x0100 /* LD2LO */

Definition at line 303 of file wm8955.h.

#define WM8955_LD2LO_SHIFT   8 /* LD2LO */

Definition at line 304 of file wm8955.h.

#define WM8955_LD2LO_WIDTH   1 /* LD2LO */

Definition at line 305 of file wm8955.h.

#define WM8955_LD2MO   0x0100 /* LD2MO */

Definition at line 362 of file wm8955.h.

#define WM8955_LD2MO_MASK   0x0100 /* LD2MO */

Definition at line 363 of file wm8955.h.

#define WM8955_LD2MO_SHIFT   8 /* LD2MO */

Definition at line 364 of file wm8955.h.

#define WM8955_LD2MO_WIDTH   1 /* LD2MO */

Definition at line 365 of file wm8955.h.

#define WM8955_LD2RO   0x0100 /* LD2RO */

Definition at line 332 of file wm8955.h.

#define WM8955_LD2RO_MASK   0x0100 /* LD2RO */

Definition at line 333 of file wm8955.h.

#define WM8955_LD2RO_SHIFT   8 /* LD2RO */

Definition at line 334 of file wm8955.h.

#define WM8955_LD2RO_WIDTH   1 /* LD2RO */

Definition at line 335 of file wm8955.h.

#define WM8955_LDACVOL_MASK   0x00FF /* LDACVOL - [7:0] */

Definition at line 155 of file wm8955.h.

#define WM8955_LDACVOL_SHIFT   0 /* LDACVOL - [7:0] */

Definition at line 156 of file wm8955.h.

#define WM8955_LDACVOL_WIDTH   8 /* LDACVOL - [7:0] */

Definition at line 157 of file wm8955.h.

#define WM8955_LDVU   0x0100 /* LDVU */

Definition at line 151 of file wm8955.h.

#define WM8955_LDVU_MASK   0x0100 /* LDVU */

Definition at line 152 of file wm8955.h.

#define WM8955_LDVU_SHIFT   8 /* LDVU */

Definition at line 153 of file wm8955.h.

#define WM8955_LDVU_WIDTH   1 /* LDVU */

Definition at line 154 of file wm8955.h.

#define WM8955_LEFT_DAC_VOLUME   0x0A

Definition at line 26 of file wm8955.h.

#define WM8955_LEFT_OUT_MIX_1   0x22

Definition at line 36 of file wm8955.h.

#define WM8955_LEFT_OUT_MIX_2   0x23

Definition at line 37 of file wm8955.h.

#define WM8955_LI2LO   0x0080 /* LI2LO */

Definition at line 306 of file wm8955.h.

#define WM8955_LI2LO_MASK   0x0080 /* LI2LO */

Definition at line 307 of file wm8955.h.

#define WM8955_LI2LO_SHIFT   7 /* LI2LO */

Definition at line 308 of file wm8955.h.

#define WM8955_LI2LO_WIDTH   1 /* LI2LO */

Definition at line 309 of file wm8955.h.

#define WM8955_LI2LOVOL_MASK   0x0070 /* LI2LOVOL - [6:4] */

Definition at line 310 of file wm8955.h.

#define WM8955_LI2LOVOL_SHIFT   4 /* LI2LOVOL - [6:4] */

Definition at line 311 of file wm8955.h.

#define WM8955_LI2LOVOL_WIDTH   3 /* LI2LOVOL - [6:4] */

Definition at line 312 of file wm8955.h.

#define WM8955_LI2MO   0x0080 /* LI2MO */

Definition at line 366 of file wm8955.h.

#define WM8955_LI2MO_MASK   0x0080 /* LI2MO */

Definition at line 367 of file wm8955.h.

#define WM8955_LI2MO_SHIFT   7 /* LI2MO */

Definition at line 368 of file wm8955.h.

#define WM8955_LI2MO_WIDTH   1 /* LI2MO */

Definition at line 369 of file wm8955.h.

#define WM8955_LI2MOVOL_MASK   0x0070 /* LI2MOVOL - [6:4] */

Definition at line 370 of file wm8955.h.

#define WM8955_LI2MOVOL_SHIFT   4 /* LI2MOVOL - [6:4] */

Definition at line 371 of file wm8955.h.

#define WM8955_LI2MOVOL_WIDTH   3 /* LI2MOVOL - [6:4] */

Definition at line 372 of file wm8955.h.

#define WM8955_LI2RO   0x0080 /* LI2RO */

Definition at line 336 of file wm8955.h.

#define WM8955_LI2RO_MASK   0x0080 /* LI2RO */

Definition at line 337 of file wm8955.h.

#define WM8955_LI2RO_SHIFT   7 /* LI2RO */

Definition at line 338 of file wm8955.h.

#define WM8955_LI2RO_WIDTH   1 /* LI2RO */

Definition at line 339 of file wm8955.h.

#define WM8955_LI2ROVOL_MASK   0x0070 /* LI2ROVOL - [6:4] */

Definition at line 340 of file wm8955.h.

#define WM8955_LI2ROVOL_SHIFT   4 /* LI2ROVOL - [6:4] */

Definition at line 341 of file wm8955.h.

#define WM8955_LI2ROVOL_WIDTH   3 /* LI2ROVOL - [6:4] */

Definition at line 342 of file wm8955.h.

#define WM8955_LO1VU   0x0100 /* LO1VU */

Definition at line 61 of file wm8955.h.

#define WM8955_LO1VU_MASK   0x0100 /* LO1VU */

Definition at line 62 of file wm8955.h.

#define WM8955_LO1VU_SHIFT   8 /* LO1VU */

Definition at line 63 of file wm8955.h.

#define WM8955_LO1VU_WIDTH   1 /* LO1VU */

Definition at line 64 of file wm8955.h.

#define WM8955_LO1ZC   0x0080 /* LO1ZC */

Definition at line 65 of file wm8955.h.

#define WM8955_LO1ZC_MASK   0x0080 /* LO1ZC */

Definition at line 66 of file wm8955.h.

#define WM8955_LO1ZC_SHIFT   7 /* LO1ZC */

Definition at line 67 of file wm8955.h.

#define WM8955_LO1ZC_WIDTH   1 /* LO1ZC */

Definition at line 68 of file wm8955.h.

#define WM8955_LO2VU   0x0100 /* LO2VU */

Definition at line 396 of file wm8955.h.

#define WM8955_LO2VU_MASK   0x0100 /* LO2VU */

Definition at line 397 of file wm8955.h.

#define WM8955_LO2VU_SHIFT   8 /* LO2VU */

Definition at line 398 of file wm8955.h.

#define WM8955_LO2VU_WIDTH   1 /* LO2VU */

Definition at line 399 of file wm8955.h.

#define WM8955_LO2ZC   0x0080 /* LO2ZC */

Definition at line 400 of file wm8955.h.

#define WM8955_LO2ZC_MASK   0x0080 /* LO2ZC */

Definition at line 401 of file wm8955.h.

#define WM8955_LO2ZC_SHIFT   7 /* LO2ZC */

Definition at line 402 of file wm8955.h.

#define WM8955_LO2ZC_WIDTH   1 /* LO2ZC */

Definition at line 403 of file wm8955.h.

#define WM8955_LOUT1   0x0040 /* LOUT1 */

Definition at line 266 of file wm8955.h.

#define WM8955_LOUT1_MASK   0x0040 /* LOUT1 */

Definition at line 267 of file wm8955.h.

#define WM8955_LOUT1_SHIFT   6 /* LOUT1 */

Definition at line 268 of file wm8955.h.

#define WM8955_LOUT1_VOLUME   0x02

Definition at line 21 of file wm8955.h.

#define WM8955_LOUT1_WIDTH   1 /* LOUT1 */

Definition at line 269 of file wm8955.h.

#define WM8955_LOUT2   0x0010 /* LOUT2 */

Definition at line 274 of file wm8955.h.

#define WM8955_LOUT2_MASK   0x0010 /* LOUT2 */

Definition at line 275 of file wm8955.h.

#define WM8955_LOUT2_SHIFT   4 /* LOUT2 */

Definition at line 276 of file wm8955.h.

#define WM8955_LOUT2_VOLUME   0x28

Definition at line 42 of file wm8955.h.

#define WM8955_LOUT2_WIDTH   1 /* LOUT2 */

Definition at line 277 of file wm8955.h.

#define WM8955_LOUT2VOL_MASK   0x007F /* LOUT2VOL - [6:0] */

Definition at line 404 of file wm8955.h.

#define WM8955_LOUT2VOL_SHIFT   0 /* LOUT2VOL - [6:0] */

Definition at line 405 of file wm8955.h.

#define WM8955_LOUT2VOL_WIDTH   7 /* LOUT2VOL - [6:0] */

Definition at line 406 of file wm8955.h.

#define WM8955_LOUTVOL_MASK   0x007F /* LOUTVOL - [6:0] */

Definition at line 69 of file wm8955.h.

#define WM8955_LOUTVOL_SHIFT   0 /* LOUTVOL - [6:0] */

Definition at line 70 of file wm8955.h.

#define WM8955_LOUTVOL_WIDTH   7 /* LOUTVOL - [6:0] */

Definition at line 71 of file wm8955.h.

#define WM8955_LRP   0x0010 /* LRP */

Definition at line 118 of file wm8955.h.

#define WM8955_LRP_MASK   0x0010 /* LRP */

Definition at line 119 of file wm8955.h.

#define WM8955_LRP_SHIFT   4 /* LRP */

Definition at line 120 of file wm8955.h.

#define WM8955_LRP_WIDTH   1 /* LRP */

Definition at line 121 of file wm8955.h.

#define WM8955_LRSWAP   0x0020 /* LRSWAP */

Definition at line 114 of file wm8955.h.

#define WM8955_LRSWAP_MASK   0x0020 /* LRSWAP */

Definition at line 115 of file wm8955.h.

#define WM8955_LRSWAP_SHIFT   5 /* LRSWAP */

Definition at line 116 of file wm8955.h.

#define WM8955_LRSWAP_WIDTH   1 /* LRSWAP */

Definition at line 117 of file wm8955.h.

#define WM8955_MAX_REGISTER   0x3B

Definition at line 52 of file wm8955.h.

#define WM8955_MCLKDIV2   0x0040 /* MCLKDIV2 */

Definition at line 136 of file wm8955.h.

#define WM8955_MCLKDIV2_MASK   0x0040 /* MCLKDIV2 */

Definition at line 137 of file wm8955.h.

#define WM8955_MCLKDIV2_SHIFT   6 /* MCLKDIV2 */

Definition at line 138 of file wm8955.h.

#define WM8955_MCLKDIV2_WIDTH   1 /* MCLKDIV2 */

Definition at line 139 of file wm8955.h.

#define WM8955_MCLKSEL   0x0100 /* MCLKSEL */

Definition at line 437 of file wm8955.h.

#define WM8955_MCLKSEL_MASK   0x0100 /* MCLKSEL */

Definition at line 438 of file wm8955.h.

#define WM8955_MCLKSEL_SHIFT   8 /* MCLKSEL */

Definition at line 439 of file wm8955.h.

#define WM8955_MCLKSEL_WIDTH   1 /* MCLKSEL */

Definition at line 440 of file wm8955.h.

#define WM8955_MONO   0x0004 /* MONO */

Definition at line 282 of file wm8955.h.

#define WM8955_MONO_MASK   0x0004 /* MONO */

Definition at line 283 of file wm8955.h.

#define WM8955_MONO_OUT_MIX_1   0x26

Definition at line 40 of file wm8955.h.

#define WM8955_MONO_OUT_MIX_2   0x27

Definition at line 41 of file wm8955.h.

#define WM8955_MONO_SHIFT   2 /* MONO */

Definition at line 284 of file wm8955.h.

#define WM8955_MONO_WIDTH   1 /* MONO */

Definition at line 285 of file wm8955.h.

#define WM8955_MONOOUT_VOLUME   0x2A

Definition at line 44 of file wm8955.h.

#define WM8955_MOUTVOL_MASK   0x007F /* MOUTVOL - [6:0] */

Definition at line 430 of file wm8955.h.

#define WM8955_MOUTVOL_SHIFT   0 /* MOUTVOL - [6:0] */

Definition at line 431 of file wm8955.h.

#define WM8955_MOUTVOL_WIDTH   7 /* MOUTVOL - [6:0] */

Definition at line 432 of file wm8955.h.

#define WM8955_MOZC   0x0080 /* MOZC */

Definition at line 426 of file wm8955.h.

#define WM8955_MOZC_MASK   0x0080 /* MOZC */

Definition at line 427 of file wm8955.h.

#define WM8955_MOZC_SHIFT   7 /* MOZC */

Definition at line 428 of file wm8955.h.

#define WM8955_MOZC_WIDTH   1 /* MOZC */

Definition at line 429 of file wm8955.h.

#define WM8955_MS   0x0040 /* MS */

Definition at line 110 of file wm8955.h.

#define WM8955_MS_MASK   0x0040 /* MS */

Definition at line 111 of file wm8955.h.

#define WM8955_MS_SHIFT   6 /* MS */

Definition at line 112 of file wm8955.h.

#define WM8955_MS_WIDTH   1 /* MS */

Definition at line 113 of file wm8955.h.

#define WM8955_N_MASK   0x01E0 /* N - [8:5] */

Definition at line 457 of file wm8955.h.

#define WM8955_N_SHIFT   5 /* N - [8:5] */

Definition at line 458 of file wm8955.h.

#define WM8955_N_WIDTH   4 /* N - [8:5] */

Definition at line 459 of file wm8955.h.

#define WM8955_OUT3   0x0002 /* OUT3 */

Definition at line 286 of file wm8955.h.

#define WM8955_OUT3_MASK   0x0002 /* OUT3 */

Definition at line 287 of file wm8955.h.

#define WM8955_OUT3_SHIFT   1 /* OUT3 */

Definition at line 288 of file wm8955.h.

#define WM8955_OUT3_WIDTH   1 /* OUT3 */

Definition at line 289 of file wm8955.h.

#define WM8955_OUT3SW_MASK   0x0180 /* OUT3SW - [8:7] */

Definition at line 228 of file wm8955.h.

#define WM8955_OUT3SW_SHIFT   7 /* OUT3SW - [8:7] */

Definition at line 229 of file wm8955.h.

#define WM8955_OUT3SW_WIDTH   2 /* OUT3SW - [8:7] */

Definition at line 230 of file wm8955.h.

#define WM8955_PLL_CONTROL_1   0x2C

Definition at line 46 of file wm8955.h.

#define WM8955_PLL_CONTROL_2   0x2D

Definition at line 47 of file wm8955.h.

#define WM8955_PLL_CONTROL_3   0x2E

Definition at line 48 of file wm8955.h.

#define WM8955_PLL_CONTROL_4   0x3B

Definition at line 49 of file wm8955.h.

#define WM8955_PLL_RB   0x0010 /* PLL_RB */

Definition at line 445 of file wm8955.h.

#define WM8955_PLL_RB_MASK   0x0010 /* PLL_RB */

Definition at line 446 of file wm8955.h.

#define WM8955_PLL_RB_SHIFT   4 /* PLL_RB */

Definition at line 447 of file wm8955.h.

#define WM8955_PLL_RB_WIDTH   1 /* PLL_RB */

Definition at line 448 of file wm8955.h.

#define WM8955_PLLEN   0x0008 /* PLLEN */

Definition at line 449 of file wm8955.h.

#define WM8955_PLLEN_MASK   0x0008 /* PLLEN */

Definition at line 450 of file wm8955.h.

#define WM8955_PLLEN_SHIFT   3 /* PLLEN */

Definition at line 451 of file wm8955.h.

#define WM8955_PLLEN_WIDTH   1 /* PLLEN */

Definition at line 452 of file wm8955.h.

#define WM8955_PLLOUTDIV2   0x0020 /* PLLOUTDIV2 */

Definition at line 441 of file wm8955.h.

#define WM8955_PLLOUTDIV2_MASK   0x0020 /* PLLOUTDIV2 */

Definition at line 442 of file wm8955.h.

#define WM8955_PLLOUTDIV2_SHIFT   5 /* PLLOUTDIV2 */

Definition at line 443 of file wm8955.h.

#define WM8955_PLLOUTDIV2_WIDTH   1 /* PLLOUTDIV2 */

Definition at line 444 of file wm8955.h.

#define WM8955_POWER_MANAGEMENT_1   0x19

Definition at line 33 of file wm8955.h.

#define WM8955_POWER_MANAGEMENT_2   0x1A

Definition at line 34 of file wm8955.h.

#define WM8955_RD2LO   0x0100 /* RD2LO */

Definition at line 317 of file wm8955.h.

#define WM8955_RD2LO_MASK   0x0100 /* RD2LO */

Definition at line 318 of file wm8955.h.

#define WM8955_RD2LO_SHIFT   8 /* RD2LO */

Definition at line 319 of file wm8955.h.

#define WM8955_RD2LO_WIDTH   1 /* RD2LO */

Definition at line 320 of file wm8955.h.

#define WM8955_RD2MO   0x0100 /* RD2MO */

Definition at line 381 of file wm8955.h.

#define WM8955_RD2MO_MASK   0x0100 /* RD2MO */

Definition at line 382 of file wm8955.h.

#define WM8955_RD2MO_SHIFT   8 /* RD2MO */

Definition at line 383 of file wm8955.h.

#define WM8955_RD2MO_WIDTH   1 /* RD2MO */

Definition at line 384 of file wm8955.h.

#define WM8955_RD2RO   0x0100 /* RD2RO */

Definition at line 347 of file wm8955.h.

#define WM8955_RD2RO_MASK   0x0100 /* RD2RO */

Definition at line 348 of file wm8955.h.

#define WM8955_RD2RO_SHIFT   8 /* RD2RO */

Definition at line 349 of file wm8955.h.

#define WM8955_RD2RO_WIDTH   1 /* RD2RO */

Definition at line 350 of file wm8955.h.

#define WM8955_RDACVOL_MASK   0x00FF /* RDACVOL - [7:0] */

Definition at line 166 of file wm8955.h.

#define WM8955_RDACVOL_SHIFT   0 /* RDACVOL - [7:0] */

Definition at line 167 of file wm8955.h.

#define WM8955_RDACVOL_WIDTH   8 /* RDACVOL - [7:0] */

Definition at line 168 of file wm8955.h.

#define WM8955_RDVU   0x0100 /* RDVU */

Definition at line 162 of file wm8955.h.

#define WM8955_RDVU_MASK   0x0100 /* RDVU */

Definition at line 163 of file wm8955.h.

#define WM8955_RDVU_SHIFT   8 /* RDVU */

Definition at line 164 of file wm8955.h.

#define WM8955_RDVU_WIDTH   1 /* RDVU */

Definition at line 165 of file wm8955.h.

#define WM8955_REGISTER_COUNT   29

Definition at line 51 of file wm8955.h.

#define WM8955_RESET   0x0F

Definition at line 30 of file wm8955.h.

#define WM8955_RESET_MASK   0x01FF /* RESET - [8:0] */

Definition at line 199 of file wm8955.h.

#define WM8955_RESET_SHIFT   0 /* RESET - [8:0] */

Definition at line 200 of file wm8955.h.

#define WM8955_RESET_WIDTH   9 /* RESET - [8:0] */

Definition at line 201 of file wm8955.h.

#define WM8955_RI2LO   0x0080 /* RI2LO */

Definition at line 321 of file wm8955.h.

#define WM8955_RI2LO_MASK   0x0080 /* RI2LO */

Definition at line 322 of file wm8955.h.

#define WM8955_RI2LO_SHIFT   7 /* RI2LO */

Definition at line 323 of file wm8955.h.

#define WM8955_RI2LO_WIDTH   1 /* RI2LO */

Definition at line 324 of file wm8955.h.

#define WM8955_RI2LOVOL_MASK   0x0070 /* RI2LOVOL - [6:4] */

Definition at line 325 of file wm8955.h.

#define WM8955_RI2LOVOL_SHIFT   4 /* RI2LOVOL - [6:4] */

Definition at line 326 of file wm8955.h.

#define WM8955_RI2LOVOL_WIDTH   3 /* RI2LOVOL - [6:4] */

Definition at line 327 of file wm8955.h.

#define WM8955_RI2MO   0x0080 /* RI2MO */

Definition at line 385 of file wm8955.h.

#define WM8955_RI2MO_MASK   0x0080 /* RI2MO */

Definition at line 386 of file wm8955.h.

#define WM8955_RI2MO_SHIFT   7 /* RI2MO */

Definition at line 387 of file wm8955.h.

#define WM8955_RI2MO_WIDTH   1 /* RI2MO */

Definition at line 388 of file wm8955.h.

#define WM8955_RI2MOVOL_MASK   0x0070 /* RI2MOVOL - [6:4] */

Definition at line 389 of file wm8955.h.

#define WM8955_RI2MOVOL_SHIFT   4 /* RI2MOVOL - [6:4] */

Definition at line 390 of file wm8955.h.

#define WM8955_RI2MOVOL_WIDTH   3 /* RI2MOVOL - [6:4] */

Definition at line 391 of file wm8955.h.

#define WM8955_RI2RO   0x0080 /* RI2RO */

Definition at line 351 of file wm8955.h.

#define WM8955_RI2RO_MASK   0x0080 /* RI2RO */

Definition at line 352 of file wm8955.h.

#define WM8955_RI2RO_SHIFT   7 /* RI2RO */

Definition at line 353 of file wm8955.h.

#define WM8955_RI2RO_WIDTH   1 /* RI2RO */

Definition at line 354 of file wm8955.h.

#define WM8955_RI2ROVOL_MASK   0x0070 /* RI2ROVOL - [6:4] */

Definition at line 355 of file wm8955.h.

#define WM8955_RI2ROVOL_SHIFT   4 /* RI2ROVOL - [6:4] */

Definition at line 356 of file wm8955.h.

#define WM8955_RI2ROVOL_WIDTH   3 /* RI2ROVOL - [6:4] */

Definition at line 357 of file wm8955.h.

#define WM8955_RIGHT_DAC_VOLUME   0x0B

Definition at line 27 of file wm8955.h.

#define WM8955_RIGHT_OUT_MIX_1   0x24

Definition at line 38 of file wm8955.h.

#define WM8955_RIGHT_OUT_MIX_2   0x25

Definition at line 39 of file wm8955.h.

#define WM8955_RO1VU   0x0100 /* RO1VU */

Definition at line 76 of file wm8955.h.

#define WM8955_RO1VU_MASK   0x0100 /* RO1VU */

Definition at line 77 of file wm8955.h.

#define WM8955_RO1VU_SHIFT   8 /* RO1VU */

Definition at line 78 of file wm8955.h.

#define WM8955_RO1VU_WIDTH   1 /* RO1VU */

Definition at line 79 of file wm8955.h.

#define WM8955_RO1ZC   0x0080 /* RO1ZC */

Definition at line 80 of file wm8955.h.

#define WM8955_RO1ZC_MASK   0x0080 /* RO1ZC */

Definition at line 81 of file wm8955.h.

#define WM8955_RO1ZC_SHIFT   7 /* RO1ZC */

Definition at line 82 of file wm8955.h.

#define WM8955_RO1ZC_WIDTH   1 /* RO1ZC */

Definition at line 83 of file wm8955.h.

#define WM8955_RO2VU   0x0100 /* RO2VU */

Definition at line 411 of file wm8955.h.

#define WM8955_RO2VU_MASK   0x0100 /* RO2VU */

Definition at line 412 of file wm8955.h.

#define WM8955_RO2VU_SHIFT   8 /* RO2VU */

Definition at line 413 of file wm8955.h.

#define WM8955_RO2VU_WIDTH   1 /* RO2VU */

Definition at line 414 of file wm8955.h.

#define WM8955_RO2ZC   0x0080 /* RO2ZC */

Definition at line 415 of file wm8955.h.

#define WM8955_RO2ZC_MASK   0x0080 /* RO2ZC */

Definition at line 416 of file wm8955.h.

#define WM8955_RO2ZC_SHIFT   7 /* RO2ZC */

Definition at line 417 of file wm8955.h.

#define WM8955_RO2ZC_WIDTH   1 /* RO2ZC */

Definition at line 418 of file wm8955.h.

#define WM8955_ROUT1   0x0020 /* ROUT1 */

Definition at line 270 of file wm8955.h.

#define WM8955_ROUT1_MASK   0x0020 /* ROUT1 */

Definition at line 271 of file wm8955.h.

#define WM8955_ROUT1_SHIFT   5 /* ROUT1 */

Definition at line 272 of file wm8955.h.

#define WM8955_ROUT1_VOLUME   0x03

Definition at line 22 of file wm8955.h.

#define WM8955_ROUT1_WIDTH   1 /* ROUT1 */

Definition at line 273 of file wm8955.h.

#define WM8955_ROUT2   0x0008 /* ROUT2 */

Definition at line 278 of file wm8955.h.

#define WM8955_ROUT2_MASK   0x0008 /* ROUT2 */

Definition at line 279 of file wm8955.h.

#define WM8955_ROUT2_SHIFT   3 /* ROUT2 */

Definition at line 280 of file wm8955.h.

#define WM8955_ROUT2_VOLUME   0x29

Definition at line 43 of file wm8955.h.

#define WM8955_ROUT2_WIDTH   1 /* ROUT2 */

Definition at line 281 of file wm8955.h.

#define WM8955_ROUT2INV   0x0010 /* ROUT2INV */

Definition at line 231 of file wm8955.h.

#define WM8955_ROUT2INV_MASK   0x0010 /* ROUT2INV */

Definition at line 232 of file wm8955.h.

#define WM8955_ROUT2INV_SHIFT   4 /* ROUT2INV */

Definition at line 233 of file wm8955.h.

#define WM8955_ROUT2INV_WIDTH   1 /* ROUT2INV */

Definition at line 234 of file wm8955.h.

#define WM8955_ROUT2VOL_MASK   0x007F /* ROUT2VOL - [6:0] */

Definition at line 419 of file wm8955.h.

#define WM8955_ROUT2VOL_SHIFT   0 /* ROUT2VOL - [6:0] */

Definition at line 420 of file wm8955.h.

#define WM8955_ROUT2VOL_WIDTH   7 /* ROUT2VOL - [6:0] */

Definition at line 421 of file wm8955.h.

#define WM8955_ROUTVOL_MASK   0x007F /* ROUTVOL - [6:0] */

Definition at line 84 of file wm8955.h.

#define WM8955_ROUTVOL_SHIFT   0 /* ROUTVOL - [6:0] */

Definition at line 85 of file wm8955.h.

#define WM8955_ROUTVOL_WIDTH   7 /* ROUTVOL - [6:0] */

Definition at line 86 of file wm8955.h.

#define WM8955_SAMPLE_RATE   0x08

Definition at line 25 of file wm8955.h.

#define WM8955_SR_MASK   0x003E /* SR - [5:1] */

Definition at line 140 of file wm8955.h.

#define WM8955_SR_SHIFT   1 /* SR - [5:1] */

Definition at line 141 of file wm8955.h.

#define WM8955_SR_WIDTH   5 /* SR - [5:1] */

Definition at line 142 of file wm8955.h.

#define WM8955_TC   0x0040 /* TC */

Definition at line 188 of file wm8955.h.

#define WM8955_TC_MASK   0x0040 /* TC */

Definition at line 189 of file wm8955.h.

#define WM8955_TC_SHIFT   6 /* TC */

Definition at line 190 of file wm8955.h.

#define WM8955_TC_WIDTH   1 /* TC */

Definition at line 191 of file wm8955.h.

#define WM8955_TOEN   0x0001 /* TOEN */

Definition at line 220 of file wm8955.h.

#define WM8955_TOEN_MASK   0x0001 /* TOEN */

Definition at line 221 of file wm8955.h.

#define WM8955_TOEN_SHIFT   0 /* TOEN */

Definition at line 222 of file wm8955.h.

#define WM8955_TOEN_WIDTH   1 /* TOEN */

Definition at line 223 of file wm8955.h.

#define WM8955_TRBL_MASK   0x000F /* TRBL - [3:0] */

Definition at line 192 of file wm8955.h.

#define WM8955_TRBL_SHIFT   0 /* TRBL - [3:0] */

Definition at line 193 of file wm8955.h.

#define WM8955_TRBL_WIDTH   4 /* TRBL - [3:0] */

Definition at line 194 of file wm8955.h.

#define WM8955_TREBLE_CONTROL   0x0D

Definition at line 29 of file wm8955.h.

#define WM8955_TSDEN   0x0100 /* TSDEN */

Definition at line 206 of file wm8955.h.

#define WM8955_TSDEN_MASK   0x0100 /* TSDEN */

Definition at line 207 of file wm8955.h.

#define WM8955_TSDEN_SHIFT   8 /* TSDEN */

Definition at line 208 of file wm8955.h.

#define WM8955_TSDEN_WIDTH   1 /* TSDEN */

Definition at line 209 of file wm8955.h.

#define WM8955_USB   0x0001 /* USB */

Definition at line 143 of file wm8955.h.

#define WM8955_USB_MASK   0x0001 /* USB */

Definition at line 144 of file wm8955.h.

#define WM8955_USB_SHIFT   0 /* USB */

Definition at line 145 of file wm8955.h.

#define WM8955_USB_WIDTH   1 /* USB */

Definition at line 146 of file wm8955.h.

#define WM8955_VMIDSEL_MASK   0x0180 /* VMIDSEL - [8:7] */

Definition at line 243 of file wm8955.h.

#define WM8955_VMIDSEL_SHIFT   7 /* VMIDSEL - [8:7] */

Definition at line 244 of file wm8955.h.

#define WM8955_VMIDSEL_WIDTH   2 /* VMIDSEL - [8:7] */

Definition at line 245 of file wm8955.h.

#define WM8955_VREF   0x0040 /* VREF */

Definition at line 246 of file wm8955.h.

#define WM8955_VREF_MASK   0x0040 /* VREF */

Definition at line 247 of file wm8955.h.

#define WM8955_VREF_SHIFT   6 /* VREF */

Definition at line 248 of file wm8955.h.

#define WM8955_VREF_WIDTH   1 /* VREF */

Definition at line 249 of file wm8955.h.

#define WM8955_VROI   0x0040 /* VROI */

Definition at line 294 of file wm8955.h.

#define WM8955_VROI_MASK   0x0040 /* VROI */

Definition at line 295 of file wm8955.h.

#define WM8955_VROI_SHIFT   6 /* VROI */

Definition at line 296 of file wm8955.h.

#define WM8955_VROI_WIDTH   1 /* VROI */

Definition at line 297 of file wm8955.h.

#define WM8955_VSEL_MASK   0x00C0 /* VSEL - [7:6] */

Definition at line 210 of file wm8955.h.

#define WM8955_VSEL_SHIFT   6 /* VSEL - [7:6] */

Definition at line 211 of file wm8955.h.

#define WM8955_VSEL_WIDTH   2 /* VSEL - [7:6] */

Definition at line 212 of file wm8955.h.

#define WM8955_WL_MASK   0x000C /* WL - [3:2] */

Definition at line 122 of file wm8955.h.

#define WM8955_WL_SHIFT   2 /* WL - [3:2] */

Definition at line 123 of file wm8955.h.

#define WM8955_WL_WIDTH   2 /* WL - [3:2] */

Definition at line 124 of file wm8955.h.