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

Go to the source code of this file.

Macros

#define CS2000_DEV_ID   0x01
 
#define CS2000_DEV_CTRL   0x02
 
#define CS2000_DEV_CFG_1   0x03
 
#define CS2000_DEV_CFG_2   0x04
 
#define CS2000_GLOBAL_CFG   0x05
 
#define CS2000_RATIO_0   0x06 /* 32 bits, big endian */
 
#define CS2000_RATIO_1   0x0a
 
#define CS2000_RATIO_2   0x0e
 
#define CS2000_RATIO_3   0x12
 
#define CS2000_FUN_CFG_1   0x16
 
#define CS2000_FUN_CFG_2   0x17
 
#define CS2000_FUN_CFG_3   0x1e
 
#define CS2000_DEVICE_MASK   0xf8
 
#define CS2000_REVISION_MASK   0x07
 
#define CS2000_UNLOCK   0x80
 
#define CS2000_AUX_OUT_DIS   0x02
 
#define CS2000_CLK_OUT_DIS   0x01
 
#define CS2000_R_MOD_SEL_MASK   0xe0
 
#define CS2000_R_MOD_SEL_1   0x00
 
#define CS2000_R_MOD_SEL_2   0x20
 
#define CS2000_R_MOD_SEL_4   0x40
 
#define CS2000_R_MOD_SEL_8   0x60
 
#define CS2000_R_MOD_SEL_1_2   0x80
 
#define CS2000_R_MOD_SEL_1_4   0xa0
 
#define CS2000_R_MOD_SEL_1_8   0xc0
 
#define CS2000_R_MOD_SEL_1_16   0xe0
 
#define CS2000_R_SEL_MASK   0x18
 
#define CS2000_R_SEL_SHIFT   3
 
#define CS2000_AUX_OUT_SRC_MASK   0x06
 
#define CS2000_AUX_OUT_SRC_REF_CLK   0x00
 
#define CS2000_AUX_OUT_SRC_CLK_IN   0x02
 
#define CS2000_AUX_OUT_SRC_CLK_OUT   0x04
 
#define CS2000_AUX_OUT_SRC_PLL_LOCK   0x06
 
#define CS2000_EN_DEV_CFG_1   0x01
 
#define CS2000_LOCK_CLK_MASK   0x06
 
#define CS2000_LOCK_CLK_SHIFT   1
 
#define CS2000_FRAC_N_SRC_MASK   0x01
 
#define CS2000_FRAC_N_SRC_STATIC   0x00
 
#define CS2000_FRAC_N_SRC_DYNAMIC   0x01
 
#define CS2000_FREEZE   0x08
 
#define CS2000_EN_DEV_CFG_2   0x01
 
#define CS2000_CLK_SKIP_EN   0x80
 
#define CS2000_AUX_LOCK_CFG_MASK   0x40
 
#define CS2000_AUX_LOCK_CFG_PP_HIGH   0x00
 
#define CS2000_AUX_LOCK_CFG_OD_LOW   0x40
 
#define CS2000_REF_CLK_DIV_MASK   0x18
 
#define CS2000_REF_CLK_DIV_4   0x00
 
#define CS2000_REF_CLK_DIV_2   0x08
 
#define CS2000_REF_CLK_DIV_1   0x10
 
#define CS2000_CLK_OUT_UNL   0x10
 
#define CS2000_L_F_RATIO_CFG_MASK   0x08
 
#define CS2000_L_F_RATIO_CFG_20_12   0x00
 
#define CS2000_L_F_RATIO_CFG_12_20   0x08
 
#define CS2000_CLK_IN_BW_MASK   0x70
 
#define CS2000_CLK_IN_BW_1   0x00
 
#define CS2000_CLK_IN_BW_2   0x10
 
#define CS2000_CLK_IN_BW_4   0x20
 
#define CS2000_CLK_IN_BW_8   0x30
 
#define CS2000_CLK_IN_BW_16   0x40
 
#define CS2000_CLK_IN_BW_32   0x50
 
#define CS2000_CLK_IN_BW_64   0x60
 
#define CS2000_CLK_IN_BW_128   0x70
 

Macro Definition Documentation

#define CS2000_AUX_LOCK_CFG_MASK   0x40

Definition at line 58 of file cs2000.h.

#define CS2000_AUX_LOCK_CFG_OD_LOW   0x40

Definition at line 60 of file cs2000.h.

#define CS2000_AUX_LOCK_CFG_PP_HIGH   0x00

Definition at line 59 of file cs2000.h.

#define CS2000_AUX_OUT_DIS   0x02

Definition at line 23 of file cs2000.h.

#define CS2000_AUX_OUT_SRC_CLK_IN   0x02

Definition at line 40 of file cs2000.h.

#define CS2000_AUX_OUT_SRC_CLK_OUT   0x04

Definition at line 41 of file cs2000.h.

#define CS2000_AUX_OUT_SRC_MASK   0x06

Definition at line 38 of file cs2000.h.

#define CS2000_AUX_OUT_SRC_PLL_LOCK   0x06

Definition at line 42 of file cs2000.h.

#define CS2000_AUX_OUT_SRC_REF_CLK   0x00

Definition at line 39 of file cs2000.h.

#define CS2000_CLK_IN_BW_1   0x00

Definition at line 74 of file cs2000.h.

#define CS2000_CLK_IN_BW_128   0x70

Definition at line 81 of file cs2000.h.

#define CS2000_CLK_IN_BW_16   0x40

Definition at line 78 of file cs2000.h.

#define CS2000_CLK_IN_BW_2   0x10

Definition at line 75 of file cs2000.h.

#define CS2000_CLK_IN_BW_32   0x50

Definition at line 79 of file cs2000.h.

#define CS2000_CLK_IN_BW_4   0x20

Definition at line 76 of file cs2000.h.

#define CS2000_CLK_IN_BW_64   0x60

Definition at line 80 of file cs2000.h.

#define CS2000_CLK_IN_BW_8   0x30

Definition at line 77 of file cs2000.h.

#define CS2000_CLK_IN_BW_MASK   0x70

Definition at line 73 of file cs2000.h.

#define CS2000_CLK_OUT_DIS   0x01

Definition at line 24 of file cs2000.h.

#define CS2000_CLK_OUT_UNL   0x10

Definition at line 67 of file cs2000.h.

#define CS2000_CLK_SKIP_EN   0x80

Definition at line 57 of file cs2000.h.

#define CS2000_DEV_CFG_1   0x03

Definition at line 6 of file cs2000.h.

#define CS2000_DEV_CFG_2   0x04

Definition at line 7 of file cs2000.h.

#define CS2000_DEV_CTRL   0x02

Definition at line 5 of file cs2000.h.

#define CS2000_DEV_ID   0x01

Definition at line 4 of file cs2000.h.

#define CS2000_DEVICE_MASK   0xf8

Definition at line 18 of file cs2000.h.

#define CS2000_EN_DEV_CFG_1   0x01

Definition at line 43 of file cs2000.h.

#define CS2000_EN_DEV_CFG_2   0x01

Definition at line 54 of file cs2000.h.

#define CS2000_FRAC_N_SRC_DYNAMIC   0x01

Definition at line 50 of file cs2000.h.

#define CS2000_FRAC_N_SRC_MASK   0x01

Definition at line 48 of file cs2000.h.

#define CS2000_FRAC_N_SRC_STATIC   0x00

Definition at line 49 of file cs2000.h.

#define CS2000_FREEZE   0x08

Definition at line 53 of file cs2000.h.

#define CS2000_FUN_CFG_1   0x16

Definition at line 13 of file cs2000.h.

#define CS2000_FUN_CFG_2   0x17

Definition at line 14 of file cs2000.h.

#define CS2000_FUN_CFG_3   0x1e

Definition at line 15 of file cs2000.h.

#define CS2000_GLOBAL_CFG   0x05

Definition at line 8 of file cs2000.h.

#define CS2000_L_F_RATIO_CFG_12_20   0x08

Definition at line 70 of file cs2000.h.

#define CS2000_L_F_RATIO_CFG_20_12   0x00

Definition at line 69 of file cs2000.h.

#define CS2000_L_F_RATIO_CFG_MASK   0x08

Definition at line 68 of file cs2000.h.

#define CS2000_LOCK_CLK_MASK   0x06

Definition at line 46 of file cs2000.h.

#define CS2000_LOCK_CLK_SHIFT   1

Definition at line 47 of file cs2000.h.

#define CS2000_R_MOD_SEL_1   0x00

Definition at line 28 of file cs2000.h.

#define CS2000_R_MOD_SEL_1_16   0xe0

Definition at line 35 of file cs2000.h.

#define CS2000_R_MOD_SEL_1_2   0x80

Definition at line 32 of file cs2000.h.

#define CS2000_R_MOD_SEL_1_4   0xa0

Definition at line 33 of file cs2000.h.

#define CS2000_R_MOD_SEL_1_8   0xc0

Definition at line 34 of file cs2000.h.

#define CS2000_R_MOD_SEL_2   0x20

Definition at line 29 of file cs2000.h.

#define CS2000_R_MOD_SEL_4   0x40

Definition at line 30 of file cs2000.h.

#define CS2000_R_MOD_SEL_8   0x60

Definition at line 31 of file cs2000.h.

#define CS2000_R_MOD_SEL_MASK   0xe0

Definition at line 27 of file cs2000.h.

#define CS2000_R_SEL_MASK   0x18

Definition at line 36 of file cs2000.h.

#define CS2000_R_SEL_SHIFT   3

Definition at line 37 of file cs2000.h.

#define CS2000_RATIO_0   0x06 /* 32 bits, big endian */

Definition at line 9 of file cs2000.h.

#define CS2000_RATIO_1   0x0a

Definition at line 10 of file cs2000.h.

#define CS2000_RATIO_2   0x0e

Definition at line 11 of file cs2000.h.

#define CS2000_RATIO_3   0x12

Definition at line 12 of file cs2000.h.

#define CS2000_REF_CLK_DIV_1   0x10

Definition at line 64 of file cs2000.h.

#define CS2000_REF_CLK_DIV_2   0x08

Definition at line 63 of file cs2000.h.

#define CS2000_REF_CLK_DIV_4   0x00

Definition at line 62 of file cs2000.h.

#define CS2000_REF_CLK_DIV_MASK   0x18

Definition at line 61 of file cs2000.h.

#define CS2000_REVISION_MASK   0x07

Definition at line 19 of file cs2000.h.

#define CS2000_UNLOCK   0x80

Definition at line 22 of file cs2000.h.