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

Go to the source code of this file.

Macros

#define CS4398_REV_MASK   0x07
 
#define CS4398_PART_MASK   0xf8
 
#define CS4398_PART_CS4398   0x70
 
#define CS4398_FM_MASK   0x03
 
#define CS4398_FM_SINGLE   0x00
 
#define CS4398_FM_DOUBLE   0x01
 
#define CS4398_FM_QUAD   0x02
 
#define CS4398_FM_DSD   0x03
 
#define CS4398_DEM_MASK   0x0c
 
#define CS4398_DEM_NONE   0x00
 
#define CS4398_DEM_44100   0x04
 
#define CS4398_DEM_48000   0x08
 
#define CS4398_DEM_32000   0x0c
 
#define CS4398_DIF_MASK   0x70
 
#define CS4398_DIF_LJUST   0x00
 
#define CS4398_DIF_I2S   0x10
 
#define CS4398_DIF_RJUST_16   0x20
 
#define CS4398_DIF_RJUST_24   0x30
 
#define CS4398_DIF_RJUST_20   0x40
 
#define CS4398_DIF_RJUST_18   0x50
 
#define CS4398_DSD_SRC   0x80
 
#define CS4398_ATAPI_MASK   0x1f
 
#define CS4398_ATAPI_B_MUTE   0x00
 
#define CS4398_ATAPI_B_R   0x01
 
#define CS4398_ATAPI_B_L   0x02
 
#define CS4398_ATAPI_B_LR   0x03
 
#define CS4398_ATAPI_A_MUTE   0x00
 
#define CS4398_ATAPI_A_R   0x04
 
#define CS4398_ATAPI_A_L   0x08
 
#define CS4398_ATAPI_A_LR   0x0c
 
#define CS4398_ATAPI_MIX_LR_VOL   0x10
 
#define CS4398_INVERT_B   0x20
 
#define CS4398_INVERT_A   0x40
 
#define CS4398_VOL_B_EQ_A   0x80
 
#define CS4398_MUTEP_MASK   0x03
 
#define CS4398_MUTEP_AUTO   0x00
 
#define CS4398_MUTEP_LOW   0x02
 
#define CS4398_MUTEP_HIGH   0x03
 
#define CS4398_MUTE_B   0x08
 
#define CS4398_MUTE_A   0x10
 
#define CS4398_MUTEC_A_EQ_B   0x20
 
#define CS4398_DAMUTE   0x40
 
#define CS4398_PAMUTE   0x80
 
#define CS4398_VOL_A_MASK   0xff
 
#define CS4398_VOL_B_MASK   0xff
 
#define CS4398_DIR_DSD   0x01
 
#define CS4398_FILT_SEL   0x04
 
#define CS4398_RMP_DN   0x10
 
#define CS4398_RMP_UP   0x20
 
#define CS4398_ZERO_CROSS   0x40
 
#define CS4398_SOFT_RAMP   0x80
 
#define CS4398_MCLKDIV3   0x08
 
#define CS4398_MCLKDIV2   0x10
 
#define CS4398_FREEZE   0x20
 
#define CS4398_CPEN   0x40
 
#define CS4398_PDN   0x80
 
#define CS4398_DSD_PM_EN   0x01
 
#define CS4398_DSD_PM_MODE   0x02
 
#define CS4398_INVALID_DSD   0x04
 
#define CS4398_STATIC_DSD   0x08
 

Macro Definition Documentation

#define CS4398_ATAPI_A_L   0x08

Definition at line 32 of file cs4398.h.

#define CS4398_ATAPI_A_LR   0x0c

Definition at line 33 of file cs4398.h.

#define CS4398_ATAPI_A_MUTE   0x00

Definition at line 30 of file cs4398.h.

#define CS4398_ATAPI_A_R   0x04

Definition at line 31 of file cs4398.h.

#define CS4398_ATAPI_B_L   0x02

Definition at line 28 of file cs4398.h.

#define CS4398_ATAPI_B_LR   0x03

Definition at line 29 of file cs4398.h.

#define CS4398_ATAPI_B_MUTE   0x00

Definition at line 26 of file cs4398.h.

#define CS4398_ATAPI_B_R   0x01

Definition at line 27 of file cs4398.h.

#define CS4398_ATAPI_MASK   0x1f

Definition at line 25 of file cs4398.h.

#define CS4398_ATAPI_MIX_LR_VOL   0x10

Definition at line 34 of file cs4398.h.

#define CS4398_CPEN   0x40

Definition at line 63 of file cs4398.h.

#define CS4398_DAMUTE   0x40

Definition at line 46 of file cs4398.h.

#define CS4398_DEM_32000   0x0c

Definition at line 15 of file cs4398.h.

#define CS4398_DEM_44100   0x04

Definition at line 13 of file cs4398.h.

#define CS4398_DEM_48000   0x08

Definition at line 14 of file cs4398.h.

#define CS4398_DEM_MASK   0x0c

Definition at line 11 of file cs4398.h.

#define CS4398_DEM_NONE   0x00

Definition at line 12 of file cs4398.h.

#define CS4398_DIF_I2S   0x10

Definition at line 18 of file cs4398.h.

#define CS4398_DIF_LJUST   0x00

Definition at line 17 of file cs4398.h.

#define CS4398_DIF_MASK   0x70

Definition at line 16 of file cs4398.h.

#define CS4398_DIF_RJUST_16   0x20

Definition at line 19 of file cs4398.h.

#define CS4398_DIF_RJUST_18   0x50

Definition at line 22 of file cs4398.h.

#define CS4398_DIF_RJUST_20   0x40

Definition at line 21 of file cs4398.h.

#define CS4398_DIF_RJUST_24   0x30

Definition at line 20 of file cs4398.h.

#define CS4398_DIR_DSD   0x01

Definition at line 53 of file cs4398.h.

#define CS4398_DSD_PM_EN   0x01

Definition at line 66 of file cs4398.h.

#define CS4398_DSD_PM_MODE   0x02

Definition at line 67 of file cs4398.h.

#define CS4398_DSD_SRC   0x80

Definition at line 23 of file cs4398.h.

#define CS4398_FILT_SEL   0x04

Definition at line 54 of file cs4398.h.

#define CS4398_FM_DOUBLE   0x01

Definition at line 8 of file cs4398.h.

#define CS4398_FM_DSD   0x03

Definition at line 10 of file cs4398.h.

#define CS4398_FM_MASK   0x03

Definition at line 6 of file cs4398.h.

#define CS4398_FM_QUAD   0x02

Definition at line 9 of file cs4398.h.

#define CS4398_FM_SINGLE   0x00

Definition at line 7 of file cs4398.h.

#define CS4398_FREEZE   0x20

Definition at line 62 of file cs4398.h.

#define CS4398_INVALID_DSD   0x04

Definition at line 68 of file cs4398.h.

#define CS4398_INVERT_A   0x40

Definition at line 36 of file cs4398.h.

#define CS4398_INVERT_B   0x20

Definition at line 35 of file cs4398.h.

#define CS4398_MCLKDIV2   0x10

Definition at line 61 of file cs4398.h.

#define CS4398_MCLKDIV3   0x08

Definition at line 60 of file cs4398.h.

#define CS4398_MUTE_A   0x10

Definition at line 44 of file cs4398.h.

#define CS4398_MUTE_B   0x08

Definition at line 43 of file cs4398.h.

#define CS4398_MUTEC_A_EQ_B   0x20

Definition at line 45 of file cs4398.h.

#define CS4398_MUTEP_AUTO   0x00

Definition at line 40 of file cs4398.h.

#define CS4398_MUTEP_HIGH   0x03

Definition at line 42 of file cs4398.h.

#define CS4398_MUTEP_LOW   0x02

Definition at line 41 of file cs4398.h.

#define CS4398_MUTEP_MASK   0x03

Definition at line 39 of file cs4398.h.

#define CS4398_PAMUTE   0x80

Definition at line 47 of file cs4398.h.

#define CS4398_PART_CS4398   0x70

Definition at line 4 of file cs4398.h.

#define CS4398_PART_MASK   0xf8

Definition at line 3 of file cs4398.h.

#define CS4398_PDN   0x80

Definition at line 64 of file cs4398.h.

#define CS4398_REV_MASK   0x07

Definition at line 2 of file cs4398.h.

#define CS4398_RMP_DN   0x10

Definition at line 55 of file cs4398.h.

#define CS4398_RMP_UP   0x20

Definition at line 56 of file cs4398.h.

#define CS4398_SOFT_RAMP   0x80

Definition at line 58 of file cs4398.h.

#define CS4398_STATIC_DSD   0x08

Definition at line 69 of file cs4398.h.

#define CS4398_VOL_A_MASK   0xff

Definition at line 49 of file cs4398.h.

#define CS4398_VOL_B_EQ_A   0x80

Definition at line 37 of file cs4398.h.

#define CS4398_VOL_B_MASK   0xff

Definition at line 51 of file cs4398.h.

#define CS4398_ZERO_CROSS   0x40

Definition at line 57 of file cs4398.h.