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

Go to the source code of this file.

Macros

#define WM8960_CACHEREGNUM   56
 
#define WM8960_LINVOL   0x0
 
#define WM8960_RINVOL   0x1
 
#define WM8960_LOUT1   0x2
 
#define WM8960_ROUT1   0x3
 
#define WM8960_CLOCK1   0x4
 
#define WM8960_DACCTL1   0x5
 
#define WM8960_DACCTL2   0x6
 
#define WM8960_IFACE1   0x7
 
#define WM8960_CLOCK2   0x8
 
#define WM8960_IFACE2   0x9
 
#define WM8960_LDAC   0xa
 
#define WM8960_RDAC   0xb
 
#define WM8960_RESET   0xf
 
#define WM8960_3D   0x10
 
#define WM8960_ALC1   0x11
 
#define WM8960_ALC2   0x12
 
#define WM8960_ALC3   0x13
 
#define WM8960_NOISEG   0x14
 
#define WM8960_LADC   0x15
 
#define WM8960_RADC   0x16
 
#define WM8960_ADDCTL1   0x17
 
#define WM8960_ADDCTL2   0x18
 
#define WM8960_POWER1   0x19
 
#define WM8960_POWER2   0x1a
 
#define WM8960_ADDCTL3   0x1b
 
#define WM8960_APOP1   0x1c
 
#define WM8960_APOP2   0x1d
 
#define WM8960_LINPATH   0x20
 
#define WM8960_RINPATH   0x21
 
#define WM8960_LOUTMIX   0x22
 
#define WM8960_ROUTMIX   0x25
 
#define WM8960_MONOMIX1   0x26
 
#define WM8960_MONOMIX2   0x27
 
#define WM8960_LOUT2   0x28
 
#define WM8960_ROUT2   0x29
 
#define WM8960_MONO   0x2a
 
#define WM8960_INBMIX1   0x2b
 
#define WM8960_INBMIX2   0x2c
 
#define WM8960_BYPASS1   0x2d
 
#define WM8960_BYPASS2   0x2e
 
#define WM8960_POWER3   0x2f
 
#define WM8960_ADDCTL4   0x30
 
#define WM8960_CLASSD1   0x31
 
#define WM8960_CLASSD3   0x33
 
#define WM8960_PLL1   0x34
 
#define WM8960_PLL2   0x35
 
#define WM8960_PLL3   0x36
 
#define WM8960_PLL4   0x37
 
#define WM8960_SYSCLKDIV   0
 
#define WM8960_DACDIV   1
 
#define WM8960_OPCLKDIV   2
 
#define WM8960_DCLKDIV   3
 
#define WM8960_TOCLKSEL   4
 
#define WM8960_SYSCLK_DIV_1   (0 << 1)
 
#define WM8960_SYSCLK_DIV_2   (2 << 1)
 
#define WM8960_SYSCLK_MCLK   (0 << 0)
 
#define WM8960_SYSCLK_PLL   (1 << 0)
 
#define WM8960_DAC_DIV_1   (0 << 3)
 
#define WM8960_DAC_DIV_1_5   (1 << 3)
 
#define WM8960_DAC_DIV_2   (2 << 3)
 
#define WM8960_DAC_DIV_3   (3 << 3)
 
#define WM8960_DAC_DIV_4   (4 << 3)
 
#define WM8960_DAC_DIV_5_5   (5 << 3)
 
#define WM8960_DAC_DIV_6   (6 << 3)
 
#define WM8960_DCLK_DIV_1_5   (0 << 6)
 
#define WM8960_DCLK_DIV_2   (1 << 6)
 
#define WM8960_DCLK_DIV_3   (2 << 6)
 
#define WM8960_DCLK_DIV_4   (3 << 6)
 
#define WM8960_DCLK_DIV_6   (4 << 6)
 
#define WM8960_DCLK_DIV_8   (5 << 6)
 
#define WM8960_DCLK_DIV_12   (6 << 6)
 
#define WM8960_DCLK_DIV_16   (7 << 6)
 
#define WM8960_TOCLK_F19   (0 << 1)
 
#define WM8960_TOCLK_F21   (1 << 1)
 
#define WM8960_OPCLK_DIV_1   (0 << 0)
 
#define WM8960_OPCLK_DIV_2   (1 << 0)
 
#define WM8960_OPCLK_DIV_3   (2 << 0)
 
#define WM8960_OPCLK_DIV_4   (3 << 0)
 
#define WM8960_OPCLK_DIV_5_5   (4 << 0)
 
#define WM8960_OPCLK_DIV_6   (5 << 0)
 

Macro Definition Documentation

#define WM8960_3D   0x10

Definition at line 31 of file wm8960.h.

#define WM8960_ADDCTL1   0x17

Definition at line 38 of file wm8960.h.

#define WM8960_ADDCTL2   0x18

Definition at line 39 of file wm8960.h.

#define WM8960_ADDCTL3   0x1b

Definition at line 42 of file wm8960.h.

#define WM8960_ADDCTL4   0x30

Definition at line 61 of file wm8960.h.

#define WM8960_ALC1   0x11

Definition at line 32 of file wm8960.h.

#define WM8960_ALC2   0x12

Definition at line 33 of file wm8960.h.

#define WM8960_ALC3   0x13

Definition at line 34 of file wm8960.h.

#define WM8960_APOP1   0x1c

Definition at line 43 of file wm8960.h.

#define WM8960_APOP2   0x1d

Definition at line 44 of file wm8960.h.

#define WM8960_BYPASS1   0x2d

Definition at line 58 of file wm8960.h.

#define WM8960_BYPASS2   0x2e

Definition at line 59 of file wm8960.h.

#define WM8960_CACHEREGNUM   56

Definition at line 15 of file wm8960.h.

#define WM8960_CLASSD1   0x31

Definition at line 62 of file wm8960.h.

#define WM8960_CLASSD3   0x33

Definition at line 64 of file wm8960.h.

#define WM8960_CLOCK1   0x4

Definition at line 21 of file wm8960.h.

#define WM8960_CLOCK2   0x8

Definition at line 25 of file wm8960.h.

#define WM8960_DAC_DIV_1   (0 << 3)

Definition at line 86 of file wm8960.h.

#define WM8960_DAC_DIV_1_5   (1 << 3)

Definition at line 87 of file wm8960.h.

#define WM8960_DAC_DIV_2   (2 << 3)

Definition at line 88 of file wm8960.h.

#define WM8960_DAC_DIV_3   (3 << 3)

Definition at line 89 of file wm8960.h.

#define WM8960_DAC_DIV_4   (4 << 3)

Definition at line 90 of file wm8960.h.

#define WM8960_DAC_DIV_5_5   (5 << 3)

Definition at line 91 of file wm8960.h.

#define WM8960_DAC_DIV_6   (6 << 3)

Definition at line 92 of file wm8960.h.

#define WM8960_DACCTL1   0x5

Definition at line 22 of file wm8960.h.

#define WM8960_DACCTL2   0x6

Definition at line 23 of file wm8960.h.

#define WM8960_DACDIV   1

Definition at line 75 of file wm8960.h.

#define WM8960_DCLK_DIV_12   (6 << 6)

Definition at line 100 of file wm8960.h.

#define WM8960_DCLK_DIV_16   (7 << 6)

Definition at line 101 of file wm8960.h.

#define WM8960_DCLK_DIV_1_5   (0 << 6)

Definition at line 94 of file wm8960.h.

#define WM8960_DCLK_DIV_2   (1 << 6)

Definition at line 95 of file wm8960.h.

#define WM8960_DCLK_DIV_3   (2 << 6)

Definition at line 96 of file wm8960.h.

#define WM8960_DCLK_DIV_4   (3 << 6)

Definition at line 97 of file wm8960.h.

#define WM8960_DCLK_DIV_6   (4 << 6)

Definition at line 98 of file wm8960.h.

#define WM8960_DCLK_DIV_8   (5 << 6)

Definition at line 99 of file wm8960.h.

#define WM8960_DCLKDIV   3

Definition at line 77 of file wm8960.h.

#define WM8960_IFACE1   0x7

Definition at line 24 of file wm8960.h.

#define WM8960_IFACE2   0x9

Definition at line 26 of file wm8960.h.

#define WM8960_INBMIX1   0x2b

Definition at line 56 of file wm8960.h.

#define WM8960_INBMIX2   0x2c

Definition at line 57 of file wm8960.h.

#define WM8960_LADC   0x15

Definition at line 36 of file wm8960.h.

#define WM8960_LDAC   0xa

Definition at line 27 of file wm8960.h.

#define WM8960_LINPATH   0x20

Definition at line 46 of file wm8960.h.

#define WM8960_LINVOL   0x0

Definition at line 17 of file wm8960.h.

#define WM8960_LOUT1   0x2

Definition at line 19 of file wm8960.h.

#define WM8960_LOUT2   0x28

Definition at line 53 of file wm8960.h.

#define WM8960_LOUTMIX   0x22

Definition at line 48 of file wm8960.h.

#define WM8960_MONO   0x2a

Definition at line 55 of file wm8960.h.

#define WM8960_MONOMIX1   0x26

Definition at line 51 of file wm8960.h.

#define WM8960_MONOMIX2   0x27

Definition at line 52 of file wm8960.h.

#define WM8960_NOISEG   0x14

Definition at line 35 of file wm8960.h.

#define WM8960_OPCLK_DIV_1   (0 << 0)

Definition at line 106 of file wm8960.h.

#define WM8960_OPCLK_DIV_2   (1 << 0)

Definition at line 107 of file wm8960.h.

#define WM8960_OPCLK_DIV_3   (2 << 0)

Definition at line 108 of file wm8960.h.

#define WM8960_OPCLK_DIV_4   (3 << 0)

Definition at line 109 of file wm8960.h.

#define WM8960_OPCLK_DIV_5_5   (4 << 0)

Definition at line 110 of file wm8960.h.

#define WM8960_OPCLK_DIV_6   (5 << 0)

Definition at line 111 of file wm8960.h.

#define WM8960_OPCLKDIV   2

Definition at line 76 of file wm8960.h.

#define WM8960_PLL1   0x34

Definition at line 65 of file wm8960.h.

#define WM8960_PLL2   0x35

Definition at line 66 of file wm8960.h.

#define WM8960_PLL3   0x36

Definition at line 67 of file wm8960.h.

#define WM8960_PLL4   0x37

Definition at line 68 of file wm8960.h.

#define WM8960_POWER1   0x19

Definition at line 40 of file wm8960.h.

#define WM8960_POWER2   0x1a

Definition at line 41 of file wm8960.h.

#define WM8960_POWER3   0x2f

Definition at line 60 of file wm8960.h.

#define WM8960_RADC   0x16

Definition at line 37 of file wm8960.h.

#define WM8960_RDAC   0xb

Definition at line 28 of file wm8960.h.

#define WM8960_RESET   0xf

Definition at line 30 of file wm8960.h.

#define WM8960_RINPATH   0x21

Definition at line 47 of file wm8960.h.

#define WM8960_RINVOL   0x1

Definition at line 18 of file wm8960.h.

#define WM8960_ROUT1   0x3

Definition at line 20 of file wm8960.h.

#define WM8960_ROUT2   0x29

Definition at line 54 of file wm8960.h.

#define WM8960_ROUTMIX   0x25

Definition at line 50 of file wm8960.h.

#define WM8960_SYSCLK_DIV_1   (0 << 1)

Definition at line 80 of file wm8960.h.

#define WM8960_SYSCLK_DIV_2   (2 << 1)

Definition at line 81 of file wm8960.h.

#define WM8960_SYSCLK_MCLK   (0 << 0)

Definition at line 83 of file wm8960.h.

#define WM8960_SYSCLK_PLL   (1 << 0)

Definition at line 84 of file wm8960.h.

#define WM8960_SYSCLKDIV   0

Definition at line 74 of file wm8960.h.

#define WM8960_TOCLK_F19   (0 << 1)

Definition at line 103 of file wm8960.h.

#define WM8960_TOCLK_F21   (1 << 1)

Definition at line 104 of file wm8960.h.

#define WM8960_TOCLKSEL   4

Definition at line 78 of file wm8960.h.