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

Go to the source code of this file.

Macros

#define WM8400_MCLK_DIV   0
 
#define WM8400_DACCLK_DIV   1
 
#define WM8400_ADCCLK_DIV   2
 
#define WM8400_BCLK_DIV   3
 
#define WM8400_MCLK_DIV_1   0x400
 
#define WM8400_MCLK_DIV_2   0x800
 
#define WM8400_DAC_CLKDIV_1   0x00
 
#define WM8400_DAC_CLKDIV_1_5   0x04
 
#define WM8400_DAC_CLKDIV_2   0x08
 
#define WM8400_DAC_CLKDIV_3   0x0c
 
#define WM8400_DAC_CLKDIV_4   0x10
 
#define WM8400_DAC_CLKDIV_5_5   0x14
 
#define WM8400_DAC_CLKDIV_6   0x18
 
#define WM8400_ADC_CLKDIV_1   0x00
 
#define WM8400_ADC_CLKDIV_1_5   0x20
 
#define WM8400_ADC_CLKDIV_2   0x40
 
#define WM8400_ADC_CLKDIV_3   0x60
 
#define WM8400_ADC_CLKDIV_4   0x80
 
#define WM8400_ADC_CLKDIV_5_5   0xa0
 
#define WM8400_ADC_CLKDIV_6   0xc0
 
#define WM8400_BCLK_DIV_1   (0x0 << 1)
 
#define WM8400_BCLK_DIV_1_5   (0x1 << 1)
 
#define WM8400_BCLK_DIV_2   (0x2 << 1)
 
#define WM8400_BCLK_DIV_3   (0x3 << 1)
 
#define WM8400_BCLK_DIV_4   (0x4 << 1)
 
#define WM8400_BCLK_DIV_5_5   (0x5 << 1)
 
#define WM8400_BCLK_DIV_6   (0x6 << 1)
 
#define WM8400_BCLK_DIV_8   (0x7 << 1)
 
#define WM8400_BCLK_DIV_11   (0x8 << 1)
 
#define WM8400_BCLK_DIV_12   (0x9 << 1)
 
#define WM8400_BCLK_DIV_16   (0xA << 1)
 
#define WM8400_BCLK_DIV_22   (0xB << 1)
 
#define WM8400_BCLK_DIV_24   (0xC << 1)
 
#define WM8400_BCLK_DIV_32   (0xD << 1)
 
#define WM8400_BCLK_DIV_44   (0xE << 1)
 
#define WM8400_BCLK_DIV_48   (0xF << 1)
 

Macro Definition Documentation

#define WM8400_ADC_CLKDIV_1   0x00

Definition at line 33 of file wm8400.h.

#define WM8400_ADC_CLKDIV_1_5   0x20

Definition at line 34 of file wm8400.h.

#define WM8400_ADC_CLKDIV_2   0x40

Definition at line 35 of file wm8400.h.

#define WM8400_ADC_CLKDIV_3   0x60

Definition at line 36 of file wm8400.h.

#define WM8400_ADC_CLKDIV_4   0x80

Definition at line 37 of file wm8400.h.

#define WM8400_ADC_CLKDIV_5_5   0xa0

Definition at line 38 of file wm8400.h.

#define WM8400_ADC_CLKDIV_6   0xc0

Definition at line 39 of file wm8400.h.

#define WM8400_ADCCLK_DIV   2

Definition at line 19 of file wm8400.h.

#define WM8400_BCLK_DIV   3

Definition at line 20 of file wm8400.h.

#define WM8400_BCLK_DIV_1   (0x0 << 1)

Definition at line 42 of file wm8400.h.

#define WM8400_BCLK_DIV_11   (0x8 << 1)

Definition at line 50 of file wm8400.h.

#define WM8400_BCLK_DIV_12   (0x9 << 1)

Definition at line 51 of file wm8400.h.

#define WM8400_BCLK_DIV_16   (0xA << 1)

Definition at line 52 of file wm8400.h.

#define WM8400_BCLK_DIV_1_5   (0x1 << 1)

Definition at line 43 of file wm8400.h.

#define WM8400_BCLK_DIV_2   (0x2 << 1)

Definition at line 44 of file wm8400.h.

#define WM8400_BCLK_DIV_22   (0xB << 1)

Definition at line 53 of file wm8400.h.

#define WM8400_BCLK_DIV_24   (0xC << 1)

Definition at line 54 of file wm8400.h.

#define WM8400_BCLK_DIV_3   (0x3 << 1)

Definition at line 45 of file wm8400.h.

#define WM8400_BCLK_DIV_32   (0xD << 1)

Definition at line 55 of file wm8400.h.

#define WM8400_BCLK_DIV_4   (0x4 << 1)

Definition at line 46 of file wm8400.h.

#define WM8400_BCLK_DIV_44   (0xE << 1)

Definition at line 56 of file wm8400.h.

#define WM8400_BCLK_DIV_48   (0xF << 1)

Definition at line 57 of file wm8400.h.

#define WM8400_BCLK_DIV_5_5   (0x5 << 1)

Definition at line 47 of file wm8400.h.

#define WM8400_BCLK_DIV_6   (0x6 << 1)

Definition at line 48 of file wm8400.h.

#define WM8400_BCLK_DIV_8   (0x7 << 1)

Definition at line 49 of file wm8400.h.

#define WM8400_DAC_CLKDIV_1   0x00

Definition at line 25 of file wm8400.h.

#define WM8400_DAC_CLKDIV_1_5   0x04

Definition at line 26 of file wm8400.h.

#define WM8400_DAC_CLKDIV_2   0x08

Definition at line 27 of file wm8400.h.

#define WM8400_DAC_CLKDIV_3   0x0c

Definition at line 28 of file wm8400.h.

#define WM8400_DAC_CLKDIV_4   0x10

Definition at line 29 of file wm8400.h.

#define WM8400_DAC_CLKDIV_5_5   0x14

Definition at line 30 of file wm8400.h.

#define WM8400_DAC_CLKDIV_6   0x18

Definition at line 31 of file wm8400.h.

#define WM8400_DACCLK_DIV   1

Definition at line 18 of file wm8400.h.

#define WM8400_MCLK_DIV   0

Definition at line 17 of file wm8400.h.

#define WM8400_MCLK_DIV_1   0x400

Definition at line 22 of file wm8400.h.

#define WM8400_MCLK_DIV_2   0x800

Definition at line 23 of file wm8400.h.