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

Go to the source code of this file.

Macros

#define WM8766_LDA1   0x00
 
#define WM8766_RDA1   0x01
 
#define WM8766_DAC_CTRL   0x02
 
#define WM8766_INT_CTRL   0x03
 
#define WM8766_LDA2   0x04
 
#define WM8766_RDA2   0x05
 
#define WM8766_LDA3   0x06
 
#define WM8766_RDA3   0x07
 
#define WM8766_MASTDA   0x08
 
#define WM8766_DAC_CTRL2   0x09
 
#define WM8766_DAC_CTRL3   0x0a
 
#define WM8766_MUTE1   0x0c
 
#define WM8766_MUTE2   0x0f
 
#define WM8766_RESET   0x1f
 
#define WM8766_ATT_MASK   0x0ff
 
#define WM8766_UPDATE   0x100
 
#define WM8766_MUTEALL   0x001
 
#define WM8766_DEEMPALL   0x002
 
#define WM8766_PWDN   0x004
 
#define WM8766_ATC   0x008
 
#define WM8766_IZD   0x010
 
#define WM8766_PL_LEFT_MASK   0x060
 
#define WM8766_PL_LEFT_MUTE   0x000
 
#define WM8766_PL_LEFT_LEFT   0x020
 
#define WM8766_PL_LEFT_RIGHT   0x040
 
#define WM8766_PL_LEFT_LRMIX   0x060
 
#define WM8766_PL_RIGHT_MASK   0x180
 
#define WM8766_PL_RIGHT_MUTE   0x000
 
#define WM8766_PL_RIGHT_LEFT   0x080
 
#define WM8766_PL_RIGHT_RIGHT   0x100
 
#define WM8766_PL_RIGHT_LRMIX   0x180
 
#define WM8766_FMT_MASK   0x003
 
#define WM8766_FMT_RJUST   0x000
 
#define WM8766_FMT_LJUST   0x001
 
#define WM8766_FMT_I2S   0x002
 
#define WM8766_FMT_DSP   0x003
 
#define WM8766_LRP   0x004
 
#define WM8766_BCP   0x008
 
#define WM8766_IWL_MASK   0x030
 
#define WM8766_IWL_16   0x000
 
#define WM8766_IWL_20   0x010
 
#define WM8766_IWL_24   0x020
 
#define WM8766_IWL_32   0x030
 
#define WM8766_PHASE_MASK   0x1c0
 
#define WM8766_ZCD   0x001
 
#define WM8766_DZFM_MASK   0x006
 
#define WM8766_DMUTE_MASK   0x038
 
#define WM8766_DEEMP_MASK   0x1c0
 
#define WM8766_DACPD_MASK   0x00e
 
#define WM8766_PWRDNALL   0x010
 
#define WM8766_MS   0x020
 
#define WM8766_RATE_MASK   0x1c0
 
#define WM8766_RATE_128   0x000
 
#define WM8766_RATE_192   0x040
 
#define WM8766_RATE_256   0x080
 
#define WM8766_RATE_384   0x0c0
 
#define WM8766_RATE_512   0x100
 
#define WM8766_RATE_768   0x140
 
#define WM8766_MPD1   0x040
 
#define WM8766_MPD2   0x020
 

Macro Definition Documentation

#define WM8766_ATC   0x008

Definition at line 26 of file wm8766.h.

#define WM8766_ATT_MASK   0x0ff

Definition at line 20 of file wm8766.h.

#define WM8766_BCP   0x008

Definition at line 45 of file wm8766.h.

#define WM8766_DAC_CTRL   0x02

Definition at line 6 of file wm8766.h.

#define WM8766_DAC_CTRL2   0x09

Definition at line 13 of file wm8766.h.

#define WM8766_DAC_CTRL3   0x0a

Definition at line 14 of file wm8766.h.

#define WM8766_DACPD_MASK   0x00e

Definition at line 58 of file wm8766.h.

#define WM8766_DEEMP_MASK   0x1c0

Definition at line 56 of file wm8766.h.

#define WM8766_DEEMPALL   0x002

Definition at line 24 of file wm8766.h.

#define WM8766_DMUTE_MASK   0x038

Definition at line 55 of file wm8766.h.

#define WM8766_DZFM_MASK   0x006

Definition at line 54 of file wm8766.h.

#define WM8766_FMT_DSP   0x003

Definition at line 43 of file wm8766.h.

#define WM8766_FMT_I2S   0x002

Definition at line 42 of file wm8766.h.

#define WM8766_FMT_LJUST   0x001

Definition at line 41 of file wm8766.h.

#define WM8766_FMT_MASK   0x003

Definition at line 39 of file wm8766.h.

#define WM8766_FMT_RJUST   0x000

Definition at line 40 of file wm8766.h.

#define WM8766_INT_CTRL   0x03

Definition at line 7 of file wm8766.h.

#define WM8766_IWL_16   0x000

Definition at line 47 of file wm8766.h.

#define WM8766_IWL_20   0x010

Definition at line 48 of file wm8766.h.

#define WM8766_IWL_24   0x020

Definition at line 49 of file wm8766.h.

#define WM8766_IWL_32   0x030

Definition at line 50 of file wm8766.h.

#define WM8766_IWL_MASK   0x030

Definition at line 46 of file wm8766.h.

#define WM8766_IZD   0x010

Definition at line 27 of file wm8766.h.

#define WM8766_LDA1   0x00

Definition at line 4 of file wm8766.h.

#define WM8766_LDA2   0x04

Definition at line 8 of file wm8766.h.

#define WM8766_LDA3   0x06

Definition at line 10 of file wm8766.h.

#define WM8766_LRP   0x004

Definition at line 44 of file wm8766.h.

#define WM8766_MASTDA   0x08

Definition at line 12 of file wm8766.h.

#define WM8766_MPD1   0x040

Definition at line 69 of file wm8766.h.

#define WM8766_MPD2   0x020

Definition at line 71 of file wm8766.h.

#define WM8766_MS   0x020

Definition at line 60 of file wm8766.h.

#define WM8766_MUTE1   0x0c

Definition at line 15 of file wm8766.h.

#define WM8766_MUTE2   0x0f

Definition at line 16 of file wm8766.h.

#define WM8766_MUTEALL   0x001

Definition at line 23 of file wm8766.h.

#define WM8766_PHASE_MASK   0x1c0

Definition at line 51 of file wm8766.h.

#define WM8766_PL_LEFT_LEFT   0x020

Definition at line 30 of file wm8766.h.

#define WM8766_PL_LEFT_LRMIX   0x060

Definition at line 32 of file wm8766.h.

#define WM8766_PL_LEFT_MASK   0x060

Definition at line 28 of file wm8766.h.

#define WM8766_PL_LEFT_MUTE   0x000

Definition at line 29 of file wm8766.h.

#define WM8766_PL_LEFT_RIGHT   0x040

Definition at line 31 of file wm8766.h.

#define WM8766_PL_RIGHT_LEFT   0x080

Definition at line 35 of file wm8766.h.

#define WM8766_PL_RIGHT_LRMIX   0x180

Definition at line 37 of file wm8766.h.

#define WM8766_PL_RIGHT_MASK   0x180

Definition at line 33 of file wm8766.h.

#define WM8766_PL_RIGHT_MUTE   0x000

Definition at line 34 of file wm8766.h.

#define WM8766_PL_RIGHT_RIGHT   0x100

Definition at line 36 of file wm8766.h.

#define WM8766_PWDN   0x004

Definition at line 25 of file wm8766.h.

#define WM8766_PWRDNALL   0x010

Definition at line 59 of file wm8766.h.

#define WM8766_RATE_128   0x000

Definition at line 62 of file wm8766.h.

#define WM8766_RATE_192   0x040

Definition at line 63 of file wm8766.h.

#define WM8766_RATE_256   0x080

Definition at line 64 of file wm8766.h.

#define WM8766_RATE_384   0x0c0

Definition at line 65 of file wm8766.h.

#define WM8766_RATE_512   0x100

Definition at line 66 of file wm8766.h.

#define WM8766_RATE_768   0x140

Definition at line 67 of file wm8766.h.

#define WM8766_RATE_MASK   0x1c0

Definition at line 61 of file wm8766.h.

#define WM8766_RDA1   0x01

Definition at line 5 of file wm8766.h.

#define WM8766_RDA2   0x05

Definition at line 9 of file wm8766.h.

#define WM8766_RDA3   0x07

Definition at line 11 of file wm8766.h.

#define WM8766_RESET   0x1f

Definition at line 17 of file wm8766.h.

#define WM8766_UPDATE   0x100

Definition at line 21 of file wm8766.h.

#define WM8766_ZCD   0x001

Definition at line 53 of file wm8766.h.