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

Go to the source code of this file.

Macros

#define WM8737_LEFT_PGA_VOLUME   0x00
 
#define WM8737_RIGHT_PGA_VOLUME   0x01
 
#define WM8737_AUDIO_PATH_L   0x02
 
#define WM8737_AUDIO_PATH_R   0x03
 
#define WM8737_3D_ENHANCE   0x04
 
#define WM8737_ADC_CONTROL   0x05
 
#define WM8737_POWER_MANAGEMENT   0x06
 
#define WM8737_AUDIO_FORMAT   0x07
 
#define WM8737_CLOCKING   0x08
 
#define WM8737_MIC_PREAMP_CONTROL   0x09
 
#define WM8737_MISC_BIAS_CONTROL   0x0A
 
#define WM8737_NOISE_GATE   0x0B
 
#define WM8737_ALC1   0x0C
 
#define WM8737_ALC2   0x0D
 
#define WM8737_ALC3   0x0E
 
#define WM8737_RESET   0x0F
 
#define WM8737_REGISTER_COUNT   16
 
#define WM8737_MAX_REGISTER   0x0F
 
#define WM8737_LVU   0x0100 /* LVU */
 
#define WM8737_LVU_MASK   0x0100 /* LVU */
 
#define WM8737_LVU_SHIFT   8 /* LVU */
 
#define WM8737_LVU_WIDTH   1 /* LVU */
 
#define WM8737_LINVOL_MASK   0x00FF /* LINVOL - [7:0] */
 
#define WM8737_LINVOL_SHIFT   0 /* LINVOL - [7:0] */
 
#define WM8737_LINVOL_WIDTH   8 /* LINVOL - [7:0] */
 
#define WM8737_RVU   0x0100 /* RVU */
 
#define WM8737_RVU_MASK   0x0100 /* RVU */
 
#define WM8737_RVU_SHIFT   8 /* RVU */
 
#define WM8737_RVU_WIDTH   1 /* RVU */
 
#define WM8737_RINVOL_MASK   0x00FF /* RINVOL - [7:0] */
 
#define WM8737_RINVOL_SHIFT   0 /* RINVOL - [7:0] */
 
#define WM8737_RINVOL_WIDTH   8 /* RINVOL - [7:0] */
 
#define WM8737_LINSEL_MASK   0x0180 /* LINSEL - [8:7] */
 
#define WM8737_LINSEL_SHIFT   7 /* LINSEL - [8:7] */
 
#define WM8737_LINSEL_WIDTH   2 /* LINSEL - [8:7] */
 
#define WM8737_LMICBOOST_MASK   0x0060 /* LMICBOOST - [6:5] */
 
#define WM8737_LMICBOOST_SHIFT   5 /* LMICBOOST - [6:5] */
 
#define WM8737_LMICBOOST_WIDTH   2 /* LMICBOOST - [6:5] */
 
#define WM8737_LMBE   0x0010 /* LMBE */
 
#define WM8737_LMBE_MASK   0x0010 /* LMBE */
 
#define WM8737_LMBE_SHIFT   4 /* LMBE */
 
#define WM8737_LMBE_WIDTH   1 /* LMBE */
 
#define WM8737_LMZC   0x0008 /* LMZC */
 
#define WM8737_LMZC_MASK   0x0008 /* LMZC */
 
#define WM8737_LMZC_SHIFT   3 /* LMZC */
 
#define WM8737_LMZC_WIDTH   1 /* LMZC */
 
#define WM8737_LPZC   0x0004 /* LPZC */
 
#define WM8737_LPZC_MASK   0x0004 /* LPZC */
 
#define WM8737_LPZC_SHIFT   2 /* LPZC */
 
#define WM8737_LPZC_WIDTH   1 /* LPZC */
 
#define WM8737_LZCTO_MASK   0x0003 /* LZCTO - [1:0] */
 
#define WM8737_LZCTO_SHIFT   0 /* LZCTO - [1:0] */
 
#define WM8737_LZCTO_WIDTH   2 /* LZCTO - [1:0] */
 
#define WM8737_RINSEL_MASK   0x0180 /* RINSEL - [8:7] */
 
#define WM8737_RINSEL_SHIFT   7 /* RINSEL - [8:7] */
 
#define WM8737_RINSEL_WIDTH   2 /* RINSEL - [8:7] */
 
#define WM8737_RMICBOOST_MASK   0x0060 /* RMICBOOST - [6:5] */
 
#define WM8737_RMICBOOST_SHIFT   5 /* RMICBOOST - [6:5] */
 
#define WM8737_RMICBOOST_WIDTH   2 /* RMICBOOST - [6:5] */
 
#define WM8737_RMBE   0x0010 /* RMBE */
 
#define WM8737_RMBE_MASK   0x0010 /* RMBE */
 
#define WM8737_RMBE_SHIFT   4 /* RMBE */
 
#define WM8737_RMBE_WIDTH   1 /* RMBE */
 
#define WM8737_RMZC   0x0008 /* RMZC */
 
#define WM8737_RMZC_MASK   0x0008 /* RMZC */
 
#define WM8737_RMZC_SHIFT   3 /* RMZC */
 
#define WM8737_RMZC_WIDTH   1 /* RMZC */
 
#define WM8737_RPZC   0x0004 /* RPZC */
 
#define WM8737_RPZC_MASK   0x0004 /* RPZC */
 
#define WM8737_RPZC_SHIFT   2 /* RPZC */
 
#define WM8737_RPZC_WIDTH   1 /* RPZC */
 
#define WM8737_RZCTO_MASK   0x0003 /* RZCTO - [1:0] */
 
#define WM8737_RZCTO_SHIFT   0 /* RZCTO - [1:0] */
 
#define WM8737_RZCTO_WIDTH   2 /* RZCTO - [1:0] */
 
#define WM8737_DIV2   0x0080 /* DIV2 */
 
#define WM8737_DIV2_MASK   0x0080 /* DIV2 */
 
#define WM8737_DIV2_SHIFT   7 /* DIV2 */
 
#define WM8737_DIV2_WIDTH   1 /* DIV2 */
 
#define WM8737_3DLC   0x0040 /* 3DLC */
 
#define WM8737_3DLC_MASK   0x0040 /* 3DLC */
 
#define WM8737_3DLC_SHIFT   6 /* 3DLC */
 
#define WM8737_3DLC_WIDTH   1 /* 3DLC */
 
#define WM8737_3DUC   0x0020 /* 3DUC */
 
#define WM8737_3DUC_MASK   0x0020 /* 3DUC */
 
#define WM8737_3DUC_SHIFT   5 /* 3DUC */
 
#define WM8737_3DUC_WIDTH   1 /* 3DUC */
 
#define WM8737_3DDEPTH_MASK   0x001E /* 3DDEPTH - [4:1] */
 
#define WM8737_3DDEPTH_SHIFT   1 /* 3DDEPTH - [4:1] */
 
#define WM8737_3DDEPTH_WIDTH   4 /* 3DDEPTH - [4:1] */
 
#define WM8737_3DE   0x0001 /* 3DE */
 
#define WM8737_3DE_MASK   0x0001 /* 3DE */
 
#define WM8737_3DE_SHIFT   0 /* 3DE */
 
#define WM8737_3DE_WIDTH   1 /* 3DE */
 
#define WM8737_MONOMIX_MASK   0x0180 /* MONOMIX - [8:7] */
 
#define WM8737_MONOMIX_SHIFT   7 /* MONOMIX - [8:7] */
 
#define WM8737_MONOMIX_WIDTH   2 /* MONOMIX - [8:7] */
 
#define WM8737_POLARITY_MASK   0x0060 /* POLARITY - [6:5] */
 
#define WM8737_POLARITY_SHIFT   5 /* POLARITY - [6:5] */
 
#define WM8737_POLARITY_WIDTH   2 /* POLARITY - [6:5] */
 
#define WM8737_HPOR   0x0010 /* HPOR */
 
#define WM8737_HPOR_MASK   0x0010 /* HPOR */
 
#define WM8737_HPOR_SHIFT   4 /* HPOR */
 
#define WM8737_HPOR_WIDTH   1 /* HPOR */
 
#define WM8737_LP   0x0004 /* LP */
 
#define WM8737_LP_MASK   0x0004 /* LP */
 
#define WM8737_LP_SHIFT   2 /* LP */
 
#define WM8737_LP_WIDTH   1 /* LP */
 
#define WM8737_MONOUT   0x0002 /* MONOUT */
 
#define WM8737_MONOUT_MASK   0x0002 /* MONOUT */
 
#define WM8737_MONOUT_SHIFT   1 /* MONOUT */
 
#define WM8737_MONOUT_WIDTH   1 /* MONOUT */
 
#define WM8737_ADCHPD   0x0001 /* ADCHPD */
 
#define WM8737_ADCHPD_MASK   0x0001 /* ADCHPD */
 
#define WM8737_ADCHPD_SHIFT   0 /* ADCHPD */
 
#define WM8737_ADCHPD_WIDTH   1 /* ADCHPD */
 
#define WM8737_VMID   0x0100 /* VMID */
 
#define WM8737_VMID_MASK   0x0100 /* VMID */
 
#define WM8737_VMID_SHIFT   8 /* VMID */
 
#define WM8737_VMID_WIDTH   1 /* VMID */
 
#define WM8737_VREF   0x0080 /* VREF */
 
#define WM8737_VREF_MASK   0x0080 /* VREF */
 
#define WM8737_VREF_SHIFT   7 /* VREF */
 
#define WM8737_VREF_WIDTH   1 /* VREF */
 
#define WM8737_AI   0x0040 /* AI */
 
#define WM8737_AI_MASK   0x0040 /* AI */
 
#define WM8737_AI_SHIFT   6 /* AI */
 
#define WM8737_AI_WIDTH   1 /* AI */
 
#define WM8737_PGL   0x0020 /* PGL */
 
#define WM8737_PGL_MASK   0x0020 /* PGL */
 
#define WM8737_PGL_SHIFT   5 /* PGL */
 
#define WM8737_PGL_WIDTH   1 /* PGL */
 
#define WM8737_PGR   0x0010 /* PGR */
 
#define WM8737_PGR_MASK   0x0010 /* PGR */
 
#define WM8737_PGR_SHIFT   4 /* PGR */
 
#define WM8737_PGR_WIDTH   1 /* PGR */
 
#define WM8737_ADL   0x0008 /* ADL */
 
#define WM8737_ADL_MASK   0x0008 /* ADL */
 
#define WM8737_ADL_SHIFT   3 /* ADL */
 
#define WM8737_ADL_WIDTH   1 /* ADL */
 
#define WM8737_ADR   0x0004 /* ADR */
 
#define WM8737_ADR_MASK   0x0004 /* ADR */
 
#define WM8737_ADR_SHIFT   2 /* ADR */
 
#define WM8737_ADR_WIDTH   1 /* ADR */
 
#define WM8737_MICBIAS_MASK   0x0003 /* MICBIAS - [1:0] */
 
#define WM8737_MICBIAS_SHIFT   0 /* MICBIAS - [1:0] */
 
#define WM8737_MICBIAS_WIDTH   2 /* MICBIAS - [1:0] */
 
#define WM8737_SDODIS   0x0080 /* SDODIS */
 
#define WM8737_SDODIS_MASK   0x0080 /* SDODIS */
 
#define WM8737_SDODIS_SHIFT   7 /* SDODIS */
 
#define WM8737_SDODIS_WIDTH   1 /* SDODIS */
 
#define WM8737_MS   0x0040 /* MS */
 
#define WM8737_MS_MASK   0x0040 /* MS */
 
#define WM8737_MS_SHIFT   6 /* MS */
 
#define WM8737_MS_WIDTH   1 /* MS */
 
#define WM8737_LRP   0x0010 /* LRP */
 
#define WM8737_LRP_MASK   0x0010 /* LRP */
 
#define WM8737_LRP_SHIFT   4 /* LRP */
 
#define WM8737_LRP_WIDTH   1 /* LRP */
 
#define WM8737_WL_MASK   0x000C /* WL - [3:2] */
 
#define WM8737_WL_SHIFT   2 /* WL - [3:2] */
 
#define WM8737_WL_WIDTH   2 /* WL - [3:2] */
 
#define WM8737_FORMAT_MASK   0x0003 /* FORMAT - [1:0] */
 
#define WM8737_FORMAT_SHIFT   0 /* FORMAT - [1:0] */
 
#define WM8737_FORMAT_WIDTH   2 /* FORMAT - [1:0] */
 
#define WM8737_AUTODETECT   0x0080 /* AUTODETECT */
 
#define WM8737_AUTODETECT_MASK   0x0080 /* AUTODETECT */
 
#define WM8737_AUTODETECT_SHIFT   7 /* AUTODETECT */
 
#define WM8737_AUTODETECT_WIDTH   1 /* AUTODETECT */
 
#define WM8737_CLKDIV2   0x0040 /* CLKDIV2 */
 
#define WM8737_CLKDIV2_MASK   0x0040 /* CLKDIV2 */
 
#define WM8737_CLKDIV2_SHIFT   6 /* CLKDIV2 */
 
#define WM8737_CLKDIV2_WIDTH   1 /* CLKDIV2 */
 
#define WM8737_SR_MASK   0x003E /* SR - [5:1] */
 
#define WM8737_SR_SHIFT   1 /* SR - [5:1] */
 
#define WM8737_SR_WIDTH   5 /* SR - [5:1] */
 
#define WM8737_USB_MODE   0x0001 /* USB MODE */
 
#define WM8737_USB_MODE_MASK   0x0001 /* USB MODE */
 
#define WM8737_USB_MODE_SHIFT   0 /* USB MODE */
 
#define WM8737_USB_MODE_WIDTH   1 /* USB MODE */
 
#define WM8737_RBYPEN   0x0008 /* RBYPEN */
 
#define WM8737_RBYPEN_MASK   0x0008 /* RBYPEN */
 
#define WM8737_RBYPEN_SHIFT   3 /* RBYPEN */
 
#define WM8737_RBYPEN_WIDTH   1 /* RBYPEN */
 
#define WM8737_LBYPEN   0x0004 /* LBYPEN */
 
#define WM8737_LBYPEN_MASK   0x0004 /* LBYPEN */
 
#define WM8737_LBYPEN_SHIFT   2 /* LBYPEN */
 
#define WM8737_LBYPEN_WIDTH   1 /* LBYPEN */
 
#define WM8737_MBCTRL_MASK   0x0003 /* MBCTRL - [1:0] */
 
#define WM8737_MBCTRL_SHIFT   0 /* MBCTRL - [1:0] */
 
#define WM8737_MBCTRL_WIDTH   2 /* MBCTRL - [1:0] */
 
#define WM8737_VMIDSEL_MASK   0x000C /* VMIDSEL - [3:2] */
 
#define WM8737_VMIDSEL_SHIFT   2 /* VMIDSEL - [3:2] */
 
#define WM8737_VMIDSEL_WIDTH   2 /* VMIDSEL - [3:2] */
 
#define WM8737_LINPUT1_DC_BIAS_ENABLE   0x0002 /* LINPUT1 DC BIAS ENABLE */
 
#define WM8737_LINPUT1_DC_BIAS_ENABLE_MASK   0x0002 /* LINPUT1 DC BIAS ENABLE */
 
#define WM8737_LINPUT1_DC_BIAS_ENABLE_SHIFT   1 /* LINPUT1 DC BIAS ENABLE */
 
#define WM8737_LINPUT1_DC_BIAS_ENABLE_WIDTH   1 /* LINPUT1 DC BIAS ENABLE */
 
#define WM8737_RINPUT1_DC_BIAS_ENABLE   0x0001 /* RINPUT1 DC BIAS ENABLE */
 
#define WM8737_RINPUT1_DC_BIAS_ENABLE_MASK   0x0001 /* RINPUT1 DC BIAS ENABLE */
 
#define WM8737_RINPUT1_DC_BIAS_ENABLE_SHIFT   0 /* RINPUT1 DC BIAS ENABLE */
 
#define WM8737_RINPUT1_DC_BIAS_ENABLE_WIDTH   1 /* RINPUT1 DC BIAS ENABLE */
 
#define WM8737_NGTH_MASK   0x001C /* NGTH - [4:2] */
 
#define WM8737_NGTH_SHIFT   2 /* NGTH - [4:2] */
 
#define WM8737_NGTH_WIDTH   3 /* NGTH - [4:2] */
 
#define WM8737_NGAT   0x0001 /* NGAT */
 
#define WM8737_NGAT_MASK   0x0001 /* NGAT */
 
#define WM8737_NGAT_SHIFT   0 /* NGAT */
 
#define WM8737_NGAT_WIDTH   1 /* NGAT */
 
#define WM8737_ALCSEL_MASK   0x0180 /* ALCSEL - [8:7] */
 
#define WM8737_ALCSEL_SHIFT   7 /* ALCSEL - [8:7] */
 
#define WM8737_ALCSEL_WIDTH   2 /* ALCSEL - [8:7] */
 
#define WM8737_MAX_GAIN_MASK   0x0070 /* MAX GAIN - [6:4] */
 
#define WM8737_MAX_GAIN_SHIFT   4 /* MAX GAIN - [6:4] */
 
#define WM8737_MAX_GAIN_WIDTH   3 /* MAX GAIN - [6:4] */
 
#define WM8737_ALCL_MASK   0x000F /* ALCL - [3:0] */
 
#define WM8737_ALCL_SHIFT   0 /* ALCL - [3:0] */
 
#define WM8737_ALCL_WIDTH   4 /* ALCL - [3:0] */
 
#define WM8737_ALCZCE   0x0010 /* ALCZCE */
 
#define WM8737_ALCZCE_MASK   0x0010 /* ALCZCE */
 
#define WM8737_ALCZCE_SHIFT   4 /* ALCZCE */
 
#define WM8737_ALCZCE_WIDTH   1 /* ALCZCE */
 
#define WM8737_HLD_MASK   0x000F /* HLD - [3:0] */
 
#define WM8737_HLD_SHIFT   0 /* HLD - [3:0] */
 
#define WM8737_HLD_WIDTH   4 /* HLD - [3:0] */
 
#define WM8737_DCY_MASK   0x00F0 /* DCY - [7:4] */
 
#define WM8737_DCY_SHIFT   4 /* DCY - [7:4] */
 
#define WM8737_DCY_WIDTH   4 /* DCY - [7:4] */
 
#define WM8737_ATK_MASK   0x000F /* ATK - [3:0] */
 
#define WM8737_ATK_SHIFT   0 /* ATK - [3:0] */
 
#define WM8737_ATK_WIDTH   4 /* ATK - [3:0] */
 
#define WM8737_RESET_MASK   0x01FF /* RESET - [8:0] */
 
#define WM8737_RESET_SHIFT   0 /* RESET - [8:0] */
 
#define WM8737_RESET_WIDTH   9 /* RESET - [8:0] */
 

Macro Definition Documentation

#define WM8737_3D_ENHANCE   0x04

Definition at line 23 of file wm8737.h.

#define WM8737_3DDEPTH_MASK   0x001E /* 3DDEPTH - [4:1] */

Definition at line 130 of file wm8737.h.

#define WM8737_3DDEPTH_SHIFT   1 /* 3DDEPTH - [4:1] */

Definition at line 131 of file wm8737.h.

#define WM8737_3DDEPTH_WIDTH   4 /* 3DDEPTH - [4:1] */

Definition at line 132 of file wm8737.h.

#define WM8737_3DE   0x0001 /* 3DE */

Definition at line 133 of file wm8737.h.

#define WM8737_3DE_MASK   0x0001 /* 3DE */

Definition at line 134 of file wm8737.h.

#define WM8737_3DE_SHIFT   0 /* 3DE */

Definition at line 135 of file wm8737.h.

#define WM8737_3DE_WIDTH   1 /* 3DE */

Definition at line 136 of file wm8737.h.

#define WM8737_3DLC   0x0040 /* 3DLC */

Definition at line 122 of file wm8737.h.

#define WM8737_3DLC_MASK   0x0040 /* 3DLC */

Definition at line 123 of file wm8737.h.

#define WM8737_3DLC_SHIFT   6 /* 3DLC */

Definition at line 124 of file wm8737.h.

#define WM8737_3DLC_WIDTH   1 /* 3DLC */

Definition at line 125 of file wm8737.h.

#define WM8737_3DUC   0x0020 /* 3DUC */

Definition at line 126 of file wm8737.h.

#define WM8737_3DUC_MASK   0x0020 /* 3DUC */

Definition at line 127 of file wm8737.h.

#define WM8737_3DUC_SHIFT   5 /* 3DUC */

Definition at line 128 of file wm8737.h.

#define WM8737_3DUC_WIDTH   1 /* 3DUC */

Definition at line 129 of file wm8737.h.

#define WM8737_ADC_CONTROL   0x05

Definition at line 24 of file wm8737.h.

#define WM8737_ADCHPD   0x0001 /* ADCHPD */

Definition at line 159 of file wm8737.h.

#define WM8737_ADCHPD_MASK   0x0001 /* ADCHPD */

Definition at line 160 of file wm8737.h.

#define WM8737_ADCHPD_SHIFT   0 /* ADCHPD */

Definition at line 161 of file wm8737.h.

#define WM8737_ADCHPD_WIDTH   1 /* ADCHPD */

Definition at line 162 of file wm8737.h.

#define WM8737_ADL   0x0008 /* ADL */

Definition at line 187 of file wm8737.h.

#define WM8737_ADL_MASK   0x0008 /* ADL */

Definition at line 188 of file wm8737.h.

#define WM8737_ADL_SHIFT   3 /* ADL */

Definition at line 189 of file wm8737.h.

#define WM8737_ADL_WIDTH   1 /* ADL */

Definition at line 190 of file wm8737.h.

#define WM8737_ADR   0x0004 /* ADR */

Definition at line 191 of file wm8737.h.

#define WM8737_ADR_MASK   0x0004 /* ADR */

Definition at line 192 of file wm8737.h.

#define WM8737_ADR_SHIFT   2 /* ADR */

Definition at line 193 of file wm8737.h.

#define WM8737_ADR_WIDTH   1 /* ADR */

Definition at line 194 of file wm8737.h.

#define WM8737_AI   0x0040 /* AI */

Definition at line 175 of file wm8737.h.

#define WM8737_AI_MASK   0x0040 /* AI */

Definition at line 176 of file wm8737.h.

#define WM8737_AI_SHIFT   6 /* AI */

Definition at line 177 of file wm8737.h.

#define WM8737_AI_WIDTH   1 /* AI */

Definition at line 178 of file wm8737.h.

#define WM8737_ALC1   0x0C

Definition at line 31 of file wm8737.h.

#define WM8737_ALC2   0x0D

Definition at line 32 of file wm8737.h.

#define WM8737_ALC3   0x0E

Definition at line 33 of file wm8737.h.

#define WM8737_ALCL_MASK   0x000F /* ALCL - [3:0] */

Definition at line 290 of file wm8737.h.

#define WM8737_ALCL_SHIFT   0 /* ALCL - [3:0] */

Definition at line 291 of file wm8737.h.

#define WM8737_ALCL_WIDTH   4 /* ALCL - [3:0] */

Definition at line 292 of file wm8737.h.

#define WM8737_ALCSEL_MASK   0x0180 /* ALCSEL - [8:7] */

Definition at line 284 of file wm8737.h.

#define WM8737_ALCSEL_SHIFT   7 /* ALCSEL - [8:7] */

Definition at line 285 of file wm8737.h.

#define WM8737_ALCSEL_WIDTH   2 /* ALCSEL - [8:7] */

Definition at line 286 of file wm8737.h.

#define WM8737_ALCZCE   0x0010 /* ALCZCE */

Definition at line 297 of file wm8737.h.

#define WM8737_ALCZCE_MASK   0x0010 /* ALCZCE */

Definition at line 298 of file wm8737.h.

#define WM8737_ALCZCE_SHIFT   4 /* ALCZCE */

Definition at line 299 of file wm8737.h.

#define WM8737_ALCZCE_WIDTH   1 /* ALCZCE */

Definition at line 300 of file wm8737.h.

#define WM8737_ATK_MASK   0x000F /* ATK - [3:0] */

Definition at line 311 of file wm8737.h.

#define WM8737_ATK_SHIFT   0 /* ATK - [3:0] */

Definition at line 312 of file wm8737.h.

#define WM8737_ATK_WIDTH   4 /* ATK - [3:0] */

Definition at line 313 of file wm8737.h.

#define WM8737_AUDIO_FORMAT   0x07

Definition at line 26 of file wm8737.h.

#define WM8737_AUDIO_PATH_L   0x02

Definition at line 21 of file wm8737.h.

#define WM8737_AUDIO_PATH_R   0x03

Definition at line 22 of file wm8737.h.

#define WM8737_AUTODETECT   0x0080 /* AUTODETECT */

Definition at line 224 of file wm8737.h.

#define WM8737_AUTODETECT_MASK   0x0080 /* AUTODETECT */

Definition at line 225 of file wm8737.h.

#define WM8737_AUTODETECT_SHIFT   7 /* AUTODETECT */

Definition at line 226 of file wm8737.h.

#define WM8737_AUTODETECT_WIDTH   1 /* AUTODETECT */

Definition at line 227 of file wm8737.h.

#define WM8737_CLKDIV2   0x0040 /* CLKDIV2 */

Definition at line 228 of file wm8737.h.

#define WM8737_CLKDIV2_MASK   0x0040 /* CLKDIV2 */

Definition at line 229 of file wm8737.h.

#define WM8737_CLKDIV2_SHIFT   6 /* CLKDIV2 */

Definition at line 230 of file wm8737.h.

#define WM8737_CLKDIV2_WIDTH   1 /* CLKDIV2 */

Definition at line 231 of file wm8737.h.

#define WM8737_CLOCKING   0x08

Definition at line 27 of file wm8737.h.

#define WM8737_DCY_MASK   0x00F0 /* DCY - [7:4] */

Definition at line 308 of file wm8737.h.

#define WM8737_DCY_SHIFT   4 /* DCY - [7:4] */

Definition at line 309 of file wm8737.h.

#define WM8737_DCY_WIDTH   4 /* DCY - [7:4] */

Definition at line 310 of file wm8737.h.

#define WM8737_DIV2   0x0080 /* DIV2 */

Definition at line 118 of file wm8737.h.

#define WM8737_DIV2_MASK   0x0080 /* DIV2 */

Definition at line 119 of file wm8737.h.

#define WM8737_DIV2_SHIFT   7 /* DIV2 */

Definition at line 120 of file wm8737.h.

#define WM8737_DIV2_WIDTH   1 /* DIV2 */

Definition at line 121 of file wm8737.h.

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

Definition at line 217 of file wm8737.h.

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

Definition at line 218 of file wm8737.h.

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

Definition at line 219 of file wm8737.h.

#define WM8737_HLD_MASK   0x000F /* HLD - [3:0] */

Definition at line 301 of file wm8737.h.

#define WM8737_HLD_SHIFT   0 /* HLD - [3:0] */

Definition at line 302 of file wm8737.h.

#define WM8737_HLD_WIDTH   4 /* HLD - [3:0] */

Definition at line 303 of file wm8737.h.

#define WM8737_HPOR   0x0010 /* HPOR */

Definition at line 147 of file wm8737.h.

#define WM8737_HPOR_MASK   0x0010 /* HPOR */

Definition at line 148 of file wm8737.h.

#define WM8737_HPOR_SHIFT   4 /* HPOR */

Definition at line 149 of file wm8737.h.

#define WM8737_HPOR_WIDTH   1 /* HPOR */

Definition at line 150 of file wm8737.h.

#define WM8737_LBYPEN   0x0004 /* LBYPEN */

Definition at line 247 of file wm8737.h.

#define WM8737_LBYPEN_MASK   0x0004 /* LBYPEN */

Definition at line 248 of file wm8737.h.

#define WM8737_LBYPEN_SHIFT   2 /* LBYPEN */

Definition at line 249 of file wm8737.h.

#define WM8737_LBYPEN_WIDTH   1 /* LBYPEN */

Definition at line 250 of file wm8737.h.

#define WM8737_LEFT_PGA_VOLUME   0x00

Definition at line 19 of file wm8737.h.

#define WM8737_LINPUT1_DC_BIAS_ENABLE   0x0002 /* LINPUT1 DC BIAS ENABLE */

Definition at line 261 of file wm8737.h.

#define WM8737_LINPUT1_DC_BIAS_ENABLE_MASK   0x0002 /* LINPUT1 DC BIAS ENABLE */

Definition at line 262 of file wm8737.h.

#define WM8737_LINPUT1_DC_BIAS_ENABLE_SHIFT   1 /* LINPUT1 DC BIAS ENABLE */

Definition at line 263 of file wm8737.h.

#define WM8737_LINPUT1_DC_BIAS_ENABLE_WIDTH   1 /* LINPUT1 DC BIAS ENABLE */

Definition at line 264 of file wm8737.h.

#define WM8737_LINSEL_MASK   0x0180 /* LINSEL - [8:7] */

Definition at line 68 of file wm8737.h.

#define WM8737_LINSEL_SHIFT   7 /* LINSEL - [8:7] */

Definition at line 69 of file wm8737.h.

#define WM8737_LINSEL_WIDTH   2 /* LINSEL - [8:7] */

Definition at line 70 of file wm8737.h.

#define WM8737_LINVOL_MASK   0x00FF /* LINVOL - [7:0] */

Definition at line 50 of file wm8737.h.

#define WM8737_LINVOL_SHIFT   0 /* LINVOL - [7:0] */

Definition at line 51 of file wm8737.h.

#define WM8737_LINVOL_WIDTH   8 /* LINVOL - [7:0] */

Definition at line 52 of file wm8737.h.

#define WM8737_LMBE   0x0010 /* LMBE */

Definition at line 74 of file wm8737.h.

#define WM8737_LMBE_MASK   0x0010 /* LMBE */

Definition at line 75 of file wm8737.h.

#define WM8737_LMBE_SHIFT   4 /* LMBE */

Definition at line 76 of file wm8737.h.

#define WM8737_LMBE_WIDTH   1 /* LMBE */

Definition at line 77 of file wm8737.h.

#define WM8737_LMICBOOST_MASK   0x0060 /* LMICBOOST - [6:5] */

Definition at line 71 of file wm8737.h.

#define WM8737_LMICBOOST_SHIFT   5 /* LMICBOOST - [6:5] */

Definition at line 72 of file wm8737.h.

#define WM8737_LMICBOOST_WIDTH   2 /* LMICBOOST - [6:5] */

Definition at line 73 of file wm8737.h.

#define WM8737_LMZC   0x0008 /* LMZC */

Definition at line 78 of file wm8737.h.

#define WM8737_LMZC_MASK   0x0008 /* LMZC */

Definition at line 79 of file wm8737.h.

#define WM8737_LMZC_SHIFT   3 /* LMZC */

Definition at line 80 of file wm8737.h.

#define WM8737_LMZC_WIDTH   1 /* LMZC */

Definition at line 81 of file wm8737.h.

#define WM8737_LP   0x0004 /* LP */

Definition at line 151 of file wm8737.h.

#define WM8737_LP_MASK   0x0004 /* LP */

Definition at line 152 of file wm8737.h.

#define WM8737_LP_SHIFT   2 /* LP */

Definition at line 153 of file wm8737.h.

#define WM8737_LP_WIDTH   1 /* LP */

Definition at line 154 of file wm8737.h.

#define WM8737_LPZC   0x0004 /* LPZC */

Definition at line 82 of file wm8737.h.

#define WM8737_LPZC_MASK   0x0004 /* LPZC */

Definition at line 83 of file wm8737.h.

#define WM8737_LPZC_SHIFT   2 /* LPZC */

Definition at line 84 of file wm8737.h.

#define WM8737_LPZC_WIDTH   1 /* LPZC */

Definition at line 85 of file wm8737.h.

#define WM8737_LRP   0x0010 /* LRP */

Definition at line 210 of file wm8737.h.

#define WM8737_LRP_MASK   0x0010 /* LRP */

Definition at line 211 of file wm8737.h.

#define WM8737_LRP_SHIFT   4 /* LRP */

Definition at line 212 of file wm8737.h.

#define WM8737_LRP_WIDTH   1 /* LRP */

Definition at line 213 of file wm8737.h.

#define WM8737_LVU   0x0100 /* LVU */

Definition at line 46 of file wm8737.h.

#define WM8737_LVU_MASK   0x0100 /* LVU */

Definition at line 47 of file wm8737.h.

#define WM8737_LVU_SHIFT   8 /* LVU */

Definition at line 48 of file wm8737.h.

#define WM8737_LVU_WIDTH   1 /* LVU */

Definition at line 49 of file wm8737.h.

#define WM8737_LZCTO_MASK   0x0003 /* LZCTO - [1:0] */

Definition at line 86 of file wm8737.h.

#define WM8737_LZCTO_SHIFT   0 /* LZCTO - [1:0] */

Definition at line 87 of file wm8737.h.

#define WM8737_LZCTO_WIDTH   2 /* LZCTO - [1:0] */

Definition at line 88 of file wm8737.h.

#define WM8737_MAX_GAIN_MASK   0x0070 /* MAX GAIN - [6:4] */

Definition at line 287 of file wm8737.h.

#define WM8737_MAX_GAIN_SHIFT   4 /* MAX GAIN - [6:4] */

Definition at line 288 of file wm8737.h.

#define WM8737_MAX_GAIN_WIDTH   3 /* MAX GAIN - [6:4] */

Definition at line 289 of file wm8737.h.

#define WM8737_MAX_REGISTER   0x0F

Definition at line 37 of file wm8737.h.

#define WM8737_MBCTRL_MASK   0x0003 /* MBCTRL - [1:0] */

Definition at line 251 of file wm8737.h.

#define WM8737_MBCTRL_SHIFT   0 /* MBCTRL - [1:0] */

Definition at line 252 of file wm8737.h.

#define WM8737_MBCTRL_WIDTH   2 /* MBCTRL - [1:0] */

Definition at line 253 of file wm8737.h.

#define WM8737_MIC_PREAMP_CONTROL   0x09

Definition at line 28 of file wm8737.h.

#define WM8737_MICBIAS_MASK   0x0003 /* MICBIAS - [1:0] */

Definition at line 195 of file wm8737.h.

#define WM8737_MICBIAS_SHIFT   0 /* MICBIAS - [1:0] */

Definition at line 196 of file wm8737.h.

#define WM8737_MICBIAS_WIDTH   2 /* MICBIAS - [1:0] */

Definition at line 197 of file wm8737.h.

#define WM8737_MISC_BIAS_CONTROL   0x0A

Definition at line 29 of file wm8737.h.

#define WM8737_MONOMIX_MASK   0x0180 /* MONOMIX - [8:7] */

Definition at line 141 of file wm8737.h.

#define WM8737_MONOMIX_SHIFT   7 /* MONOMIX - [8:7] */

Definition at line 142 of file wm8737.h.

#define WM8737_MONOMIX_WIDTH   2 /* MONOMIX - [8:7] */

Definition at line 143 of file wm8737.h.

#define WM8737_MONOUT   0x0002 /* MONOUT */

Definition at line 155 of file wm8737.h.

#define WM8737_MONOUT_MASK   0x0002 /* MONOUT */

Definition at line 156 of file wm8737.h.

#define WM8737_MONOUT_SHIFT   1 /* MONOUT */

Definition at line 157 of file wm8737.h.

#define WM8737_MONOUT_WIDTH   1 /* MONOUT */

Definition at line 158 of file wm8737.h.

#define WM8737_MS   0x0040 /* MS */

Definition at line 206 of file wm8737.h.

#define WM8737_MS_MASK   0x0040 /* MS */

Definition at line 207 of file wm8737.h.

#define WM8737_MS_SHIFT   6 /* MS */

Definition at line 208 of file wm8737.h.

#define WM8737_MS_WIDTH   1 /* MS */

Definition at line 209 of file wm8737.h.

#define WM8737_NGAT   0x0001 /* NGAT */

Definition at line 276 of file wm8737.h.

#define WM8737_NGAT_MASK   0x0001 /* NGAT */

Definition at line 277 of file wm8737.h.

#define WM8737_NGAT_SHIFT   0 /* NGAT */

Definition at line 278 of file wm8737.h.

#define WM8737_NGAT_WIDTH   1 /* NGAT */

Definition at line 279 of file wm8737.h.

#define WM8737_NGTH_MASK   0x001C /* NGTH - [4:2] */

Definition at line 273 of file wm8737.h.

#define WM8737_NGTH_SHIFT   2 /* NGTH - [4:2] */

Definition at line 274 of file wm8737.h.

#define WM8737_NGTH_WIDTH   3 /* NGTH - [4:2] */

Definition at line 275 of file wm8737.h.

#define WM8737_NOISE_GATE   0x0B

Definition at line 30 of file wm8737.h.

#define WM8737_PGL   0x0020 /* PGL */

Definition at line 179 of file wm8737.h.

#define WM8737_PGL_MASK   0x0020 /* PGL */

Definition at line 180 of file wm8737.h.

#define WM8737_PGL_SHIFT   5 /* PGL */

Definition at line 181 of file wm8737.h.

#define WM8737_PGL_WIDTH   1 /* PGL */

Definition at line 182 of file wm8737.h.

#define WM8737_PGR   0x0010 /* PGR */

Definition at line 183 of file wm8737.h.

#define WM8737_PGR_MASK   0x0010 /* PGR */

Definition at line 184 of file wm8737.h.

#define WM8737_PGR_SHIFT   4 /* PGR */

Definition at line 185 of file wm8737.h.

#define WM8737_PGR_WIDTH   1 /* PGR */

Definition at line 186 of file wm8737.h.

#define WM8737_POLARITY_MASK   0x0060 /* POLARITY - [6:5] */

Definition at line 144 of file wm8737.h.

#define WM8737_POLARITY_SHIFT   5 /* POLARITY - [6:5] */

Definition at line 145 of file wm8737.h.

#define WM8737_POLARITY_WIDTH   2 /* POLARITY - [6:5] */

Definition at line 146 of file wm8737.h.

#define WM8737_POWER_MANAGEMENT   0x06

Definition at line 25 of file wm8737.h.

#define WM8737_RBYPEN   0x0008 /* RBYPEN */

Definition at line 243 of file wm8737.h.

#define WM8737_RBYPEN_MASK   0x0008 /* RBYPEN */

Definition at line 244 of file wm8737.h.

#define WM8737_RBYPEN_SHIFT   3 /* RBYPEN */

Definition at line 245 of file wm8737.h.

#define WM8737_RBYPEN_WIDTH   1 /* RBYPEN */

Definition at line 246 of file wm8737.h.

#define WM8737_REGISTER_COUNT   16

Definition at line 36 of file wm8737.h.

#define WM8737_RESET   0x0F

Definition at line 34 of file wm8737.h.

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

Definition at line 318 of file wm8737.h.

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

Definition at line 319 of file wm8737.h.

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

Definition at line 320 of file wm8737.h.

#define WM8737_RIGHT_PGA_VOLUME   0x01

Definition at line 20 of file wm8737.h.

#define WM8737_RINPUT1_DC_BIAS_ENABLE   0x0001 /* RINPUT1 DC BIAS ENABLE */

Definition at line 265 of file wm8737.h.

#define WM8737_RINPUT1_DC_BIAS_ENABLE_MASK   0x0001 /* RINPUT1 DC BIAS ENABLE */

Definition at line 266 of file wm8737.h.

#define WM8737_RINPUT1_DC_BIAS_ENABLE_SHIFT   0 /* RINPUT1 DC BIAS ENABLE */

Definition at line 267 of file wm8737.h.

#define WM8737_RINPUT1_DC_BIAS_ENABLE_WIDTH   1 /* RINPUT1 DC BIAS ENABLE */

Definition at line 268 of file wm8737.h.

#define WM8737_RINSEL_MASK   0x0180 /* RINSEL - [8:7] */

Definition at line 93 of file wm8737.h.

#define WM8737_RINSEL_SHIFT   7 /* RINSEL - [8:7] */

Definition at line 94 of file wm8737.h.

#define WM8737_RINSEL_WIDTH   2 /* RINSEL - [8:7] */

Definition at line 95 of file wm8737.h.

#define WM8737_RINVOL_MASK   0x00FF /* RINVOL - [7:0] */

Definition at line 61 of file wm8737.h.

#define WM8737_RINVOL_SHIFT   0 /* RINVOL - [7:0] */

Definition at line 62 of file wm8737.h.

#define WM8737_RINVOL_WIDTH   8 /* RINVOL - [7:0] */

Definition at line 63 of file wm8737.h.

#define WM8737_RMBE   0x0010 /* RMBE */

Definition at line 99 of file wm8737.h.

#define WM8737_RMBE_MASK   0x0010 /* RMBE */

Definition at line 100 of file wm8737.h.

#define WM8737_RMBE_SHIFT   4 /* RMBE */

Definition at line 101 of file wm8737.h.

#define WM8737_RMBE_WIDTH   1 /* RMBE */

Definition at line 102 of file wm8737.h.

#define WM8737_RMICBOOST_MASK   0x0060 /* RMICBOOST - [6:5] */

Definition at line 96 of file wm8737.h.

#define WM8737_RMICBOOST_SHIFT   5 /* RMICBOOST - [6:5] */

Definition at line 97 of file wm8737.h.

#define WM8737_RMICBOOST_WIDTH   2 /* RMICBOOST - [6:5] */

Definition at line 98 of file wm8737.h.

#define WM8737_RMZC   0x0008 /* RMZC */

Definition at line 103 of file wm8737.h.

#define WM8737_RMZC_MASK   0x0008 /* RMZC */

Definition at line 104 of file wm8737.h.

#define WM8737_RMZC_SHIFT   3 /* RMZC */

Definition at line 105 of file wm8737.h.

#define WM8737_RMZC_WIDTH   1 /* RMZC */

Definition at line 106 of file wm8737.h.

#define WM8737_RPZC   0x0004 /* RPZC */

Definition at line 107 of file wm8737.h.

#define WM8737_RPZC_MASK   0x0004 /* RPZC */

Definition at line 108 of file wm8737.h.

#define WM8737_RPZC_SHIFT   2 /* RPZC */

Definition at line 109 of file wm8737.h.

#define WM8737_RPZC_WIDTH   1 /* RPZC */

Definition at line 110 of file wm8737.h.

#define WM8737_RVU   0x0100 /* RVU */

Definition at line 57 of file wm8737.h.

#define WM8737_RVU_MASK   0x0100 /* RVU */

Definition at line 58 of file wm8737.h.

#define WM8737_RVU_SHIFT   8 /* RVU */

Definition at line 59 of file wm8737.h.

#define WM8737_RVU_WIDTH   1 /* RVU */

Definition at line 60 of file wm8737.h.

#define WM8737_RZCTO_MASK   0x0003 /* RZCTO - [1:0] */

Definition at line 111 of file wm8737.h.

#define WM8737_RZCTO_SHIFT   0 /* RZCTO - [1:0] */

Definition at line 112 of file wm8737.h.

#define WM8737_RZCTO_WIDTH   2 /* RZCTO - [1:0] */

Definition at line 113 of file wm8737.h.

#define WM8737_SDODIS   0x0080 /* SDODIS */

Definition at line 202 of file wm8737.h.

#define WM8737_SDODIS_MASK   0x0080 /* SDODIS */

Definition at line 203 of file wm8737.h.

#define WM8737_SDODIS_SHIFT   7 /* SDODIS */

Definition at line 204 of file wm8737.h.

#define WM8737_SDODIS_WIDTH   1 /* SDODIS */

Definition at line 205 of file wm8737.h.

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

Definition at line 232 of file wm8737.h.

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

Definition at line 233 of file wm8737.h.

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

Definition at line 234 of file wm8737.h.

#define WM8737_USB_MODE   0x0001 /* USB MODE */

Definition at line 235 of file wm8737.h.

#define WM8737_USB_MODE_MASK   0x0001 /* USB MODE */

Definition at line 236 of file wm8737.h.

#define WM8737_USB_MODE_SHIFT   0 /* USB MODE */

Definition at line 237 of file wm8737.h.

#define WM8737_USB_MODE_WIDTH   1 /* USB MODE */

Definition at line 238 of file wm8737.h.

#define WM8737_VMID   0x0100 /* VMID */

Definition at line 167 of file wm8737.h.

#define WM8737_VMID_MASK   0x0100 /* VMID */

Definition at line 168 of file wm8737.h.

#define WM8737_VMID_SHIFT   8 /* VMID */

Definition at line 169 of file wm8737.h.

#define WM8737_VMID_WIDTH   1 /* VMID */

Definition at line 170 of file wm8737.h.

#define WM8737_VMIDSEL_MASK   0x000C /* VMIDSEL - [3:2] */

Definition at line 258 of file wm8737.h.

#define WM8737_VMIDSEL_SHIFT   2 /* VMIDSEL - [3:2] */

Definition at line 259 of file wm8737.h.

#define WM8737_VMIDSEL_WIDTH   2 /* VMIDSEL - [3:2] */

Definition at line 260 of file wm8737.h.

#define WM8737_VREF   0x0080 /* VREF */

Definition at line 171 of file wm8737.h.

#define WM8737_VREF_MASK   0x0080 /* VREF */

Definition at line 172 of file wm8737.h.

#define WM8737_VREF_SHIFT   7 /* VREF */

Definition at line 173 of file wm8737.h.

#define WM8737_VREF_WIDTH   1 /* VREF */

Definition at line 174 of file wm8737.h.

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

Definition at line 214 of file wm8737.h.

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

Definition at line 215 of file wm8737.h.

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

Definition at line 216 of file wm8737.h.