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

Go to the source code of this file.

Macros

#define WM8785_R0   0
 
#define WM8785_R1   1
 
#define WM8785_R2   2
 
#define WM8785_R7   7
 
#define WM8785_MCR_MASK   0x007
 
#define WM8785_MCR_SLAVE   0x000
 
#define WM8785_MCR_MASTER_128   0x001
 
#define WM8785_MCR_MASTER_192   0x002
 
#define WM8785_MCR_MASTER_256   0x003
 
#define WM8785_MCR_MASTER_384   0x004
 
#define WM8785_MCR_MASTER_512   0x005
 
#define WM8785_MCR_MASTER_768   0x006
 
#define WM8785_OSR_MASK   0x018
 
#define WM8785_OSR_SINGLE   0x000
 
#define WM8785_OSR_DOUBLE   0x008
 
#define WM8785_OSR_QUAD   0x010
 
#define WM8785_FORMAT_MASK   0x060
 
#define WM8785_FORMAT_RJUST   0x000
 
#define WM8785_FORMAT_LJUST   0x020
 
#define WM8785_FORMAT_I2S   0x040
 
#define WM8785_FORMAT_DSP   0x060
 
#define WM8785_WL_MASK   0x003
 
#define WM8785_WL_16   0x000
 
#define WM8785_WL_20   0x001
 
#define WM8785_WL_24   0x002
 
#define WM8785_WL_32   0x003
 
#define WM8785_LRP   0x004
 
#define WM8785_BCLKINV   0x008
 
#define WM8785_LRSWAP   0x010
 
#define WM8785_DEVNO_MASK   0x0e0
 
#define WM8785_HPFR   0x001
 
#define WM8785_HPFL   0x002
 
#define WM8785_SDODIS   0x004
 
#define WM8785_PWRDNR   0x008
 
#define WM8785_PWRDNL   0x010
 
#define WM8785_TDM_MASK   0x1c0
 

Macro Definition Documentation

#define WM8785_BCLKINV   0x008

Definition at line 34 of file wm8785.h.

#define WM8785_DEVNO_MASK   0x0e0

Definition at line 36 of file wm8785.h.

#define WM8785_FORMAT_DSP   0x060

Definition at line 26 of file wm8785.h.

#define WM8785_FORMAT_I2S   0x040

Definition at line 25 of file wm8785.h.

#define WM8785_FORMAT_LJUST   0x020

Definition at line 24 of file wm8785.h.

#define WM8785_FORMAT_MASK   0x060

Definition at line 22 of file wm8785.h.

#define WM8785_FORMAT_RJUST   0x000

Definition at line 23 of file wm8785.h.

#define WM8785_HPFL   0x002

Definition at line 39 of file wm8785.h.

#define WM8785_HPFR   0x001

Definition at line 38 of file wm8785.h.

#define WM8785_LRP   0x004

Definition at line 33 of file wm8785.h.

#define WM8785_LRSWAP   0x010

Definition at line 35 of file wm8785.h.

#define WM8785_MCR_MASK   0x007

Definition at line 10 of file wm8785.h.

#define WM8785_MCR_MASTER_128   0x001

Definition at line 12 of file wm8785.h.

#define WM8785_MCR_MASTER_192   0x002

Definition at line 13 of file wm8785.h.

#define WM8785_MCR_MASTER_256   0x003

Definition at line 14 of file wm8785.h.

#define WM8785_MCR_MASTER_384   0x004

Definition at line 15 of file wm8785.h.

#define WM8785_MCR_MASTER_512   0x005

Definition at line 16 of file wm8785.h.

#define WM8785_MCR_MASTER_768   0x006

Definition at line 17 of file wm8785.h.

#define WM8785_MCR_SLAVE   0x000

Definition at line 11 of file wm8785.h.

#define WM8785_OSR_DOUBLE   0x008

Definition at line 20 of file wm8785.h.

#define WM8785_OSR_MASK   0x018

Definition at line 18 of file wm8785.h.

#define WM8785_OSR_QUAD   0x010

Definition at line 21 of file wm8785.h.

#define WM8785_OSR_SINGLE   0x000

Definition at line 19 of file wm8785.h.

#define WM8785_PWRDNL   0x010

Definition at line 42 of file wm8785.h.

#define WM8785_PWRDNR   0x008

Definition at line 41 of file wm8785.h.

#define WM8785_R0   0

Definition at line 4 of file wm8785.h.

#define WM8785_R1   1

Definition at line 5 of file wm8785.h.

#define WM8785_R2   2

Definition at line 6 of file wm8785.h.

#define WM8785_R7   7

Definition at line 7 of file wm8785.h.

#define WM8785_SDODIS   0x004

Definition at line 40 of file wm8785.h.

#define WM8785_TDM_MASK   0x1c0

Definition at line 43 of file wm8785.h.

#define WM8785_WL_16   0x000

Definition at line 29 of file wm8785.h.

#define WM8785_WL_20   0x001

Definition at line 30 of file wm8785.h.

#define WM8785_WL_24   0x002

Definition at line 31 of file wm8785.h.

#define WM8785_WL_32   0x003

Definition at line 32 of file wm8785.h.

#define WM8785_WL_MASK   0x003

Definition at line 28 of file wm8785.h.