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

Go to the source code of this file.

Macros

#define P17V_PLAYBACK_FIFO_PTR
 
#define P17V_CAPTURE_FIFO_PTR
 
#define P17V_PB_CHN_SEL   0x18 /* P17v playback channel select */
 
#define P17V_SE_SLOT_SEL_L   0x19 /* Sound Engine slot select low */
 
#define P17V_SE_SLOT_SEL_H   0x1a /* Sound Engine slot select high */
 
#define P17V_SPI   0x3c /* SPI interface register */
 
#define P17V_I2C_ADDR   0x3d /* I2C Address */
 
#define P17V_I2C_0   0x3e /* I2C Data */
 
#define P17V_I2C_1   0x3f /* I2C Data */
 
#define I2C_A_ADC_ADD_MASK   0x000000fe /*The address is a 7 bit address */
 
#define I2C_A_ADC_RW_MASK   0x00000001 /*bit mask for R/W */
 
#define I2C_A_ADC_TRANS_MASK   0x00000010 /*Bit mask for I2c address DAC value */
 
#define I2C_A_ADC_ABORT_MASK   0x00000020 /*Bit mask for I2C transaction abort flag */
 
#define I2C_A_ADC_LAST_MASK   0x00000040 /*Bit mask for Last word transaction */
 
#define I2C_A_ADC_BYTE_MASK   0x00000080 /*Bit mask for Byte Mode */
 
#define I2C_A_ADC_ADD   0x00000034 /*This is the Device address for ADC */
 
#define I2C_A_ADC_READ   0x00000001 /*To perform a read operation */
 
#define I2C_A_ADC_START   0x00000100 /*Start I2C transaction */
 
#define I2C_A_ADC_ABORT   0x00000200 /*I2C transaction abort */
 
#define I2C_A_ADC_LAST   0x00000400 /*I2C last transaction */
 
#define I2C_A_ADC_BYTE   0x00000800 /*I2C one byte mode */
 
#define I2C_D_ADC_REG_MASK   0xfe000000 /*ADC address register */
 
#define I2C_D_ADC_DAT_MASK   0x01ff0000 /*ADC data register */
 
#define ADC_TIMEOUT   0x00000007 /*ADC Timeout Clock Disable */
 
#define ADC_IFC_CTRL   0x0000000b /*ADC Interface Control */
 
#define ADC_MASTER   0x0000000c /*ADC Master Mode Control */
 
#define ADC_POWER   0x0000000d /*ADC PowerDown Control */
 
#define ADC_ATTEN_ADCL   0x0000000e /*ADC Attenuation ADCL */
 
#define ADC_ATTEN_ADCR   0x0000000f /*ADC Attenuation ADCR */
 
#define ADC_ALC_CTRL1   0x00000010 /*ADC ALC Control 1 */
 
#define ADC_ALC_CTRL2   0x00000011 /*ADC ALC Control 2 */
 
#define ADC_ALC_CTRL3   0x00000012 /*ADC ALC Control 3 */
 
#define ADC_NOISE_CTRL   0x00000013 /*ADC Noise Gate Control */
 
#define ADC_LIMIT_CTRL   0x00000014 /*ADC Limiter Control */
 
#define ADC_MUX   0x00000015 /*ADC Mux offset */
 
#define ADC_MUX_MASK   0x0000000f
 
#define ADC_MUX_0   0x00000001
 
#define ADC_MUX_1   0x00000002
 
#define ADC_MUX_2   0x00000004
 
#define ADC_MUX_3   0x00000008
 
#define P17V_START_AUDIO   0x40 /* Start Audio bit */
 
#define P17V_START_CAPTURE   0x48 /* Start Capture bit */
 
#define P17V_CAPTURE_FIFO_BASE   0x49 /* Record FIFO base address */
 
#define P17V_CAPTURE_FIFO_SIZE   0x4a /* Record FIFO buffer size */
 
#define P17V_CAPTURE_FIFO_INDEX   0x4b /* Record FIFO capture index */
 
#define P17V_CAPTURE_VOL_H   0x4c /* P17v capture volume control */
 
#define P17V_CAPTURE_VOL_L   0x4d /* P17v capture volume control */
 
#define P17V_SRCSel
 
#define P17V_MIXER_AC97_10K1_VOL_L   0x61 /* 10K to Mixer_AC97 input volume control */
 
#define P17V_MIXER_AC97_10K1_VOL_H   0x62 /* 10K to Mixer_AC97 input volume control */
 
#define P17V_MIXER_AC97_P17V_VOL_L   0x63 /* P17V to Mixer_AC97 input volume control */
 
#define P17V_MIXER_AC97_P17V_VOL_H   0x64 /* P17V to Mixer_AC97 input volume control */
 
#define P17V_MIXER_AC97_SRP_REC_VOL_L   0x65 /* SRP Record to Mixer_AC97 input volume control */
 
#define P17V_MIXER_AC97_SRP_REC_VOL_H   0x66 /* SRP Record to Mixer_AC97 input volume control */
 
#define P17V_MIXER_Spdif_10K1_VOL_L   0x69 /* 10K to Mixer_Spdif input volume control */
 
#define P17V_MIXER_Spdif_10K1_VOL_H   0x6A /* 10K to Mixer_Spdif input volume control */
 
#define P17V_MIXER_Spdif_P17V_VOL_L   0x6B /* P17V to Mixer_Spdif input volume control */
 
#define P17V_MIXER_Spdif_P17V_VOL_H   0x6C /* P17V to Mixer_Spdif input volume control */
 
#define P17V_MIXER_Spdif_SRP_REC_VOL_L   0x6D /* SRP Record to Mixer_Spdif input volume control */
 
#define P17V_MIXER_Spdif_SRP_REC_VOL_H   0x6E /* SRP Record to Mixer_Spdif input volume control */
 
#define P17V_MIXER_I2S_10K1_VOL_L   0x71 /* 10K to Mixer_I2S input volume control */
 
#define P17V_MIXER_I2S_10K1_VOL_H   0x72 /* 10K to Mixer_I2S input volume control */
 
#define P17V_MIXER_I2S_P17V_VOL_L   0x73 /* P17V to Mixer_I2S input volume control */
 
#define P17V_MIXER_I2S_P17V_VOL_H   0x74 /* P17V to Mixer_I2S input volume control */
 
#define P17V_MIXER_I2S_SRP_REC_VOL_L   0x75 /* SRP Record to Mixer_I2S input volume control */
 
#define P17V_MIXER_I2S_SRP_REC_VOL_H   0x76 /* SRP Record to Mixer_I2S input volume control */
 
#define P17V_MIXER_AC97_ENABLE   0x79 /* Mixer AC97 input audio enable */
 
#define P17V_MIXER_SPDIF_ENABLE   0x7A /* Mixer SPDIF input audio enable */
 
#define P17V_MIXER_I2S_ENABLE   0x7B /* Mixer I2S input audio enable */
 
#define P17V_AUDIO_OUT_ENABLE   0x7C /* Audio out enable */
 
#define P17V_MIXER_ATT   0x7D /* SRP Mixer Attenuation Select */
 
#define P17V_SRP_RECORD_SRR   0x7E /* SRP Record channel source Select */
 
#define P17V_SOFT_RESET_SRP_MIXER   0x7F /* SRP and mixer soft reset */
 
#define P17V_AC97_OUT_MASTER_VOL_L   0x80 /* AC97 Output master volume control */
 
#define P17V_AC97_OUT_MASTER_VOL_H   0x81 /* AC97 Output master volume control */
 
#define P17V_SPDIF_OUT_MASTER_VOL_L   0x82 /* SPDIF Output master volume control */
 
#define P17V_SPDIF_OUT_MASTER_VOL_H   0x83 /* SPDIF Output master volume control */
 
#define P17V_I2S_OUT_MASTER_VOL_L   0x84 /* I2S Output master volume control */
 
#define P17V_I2S_OUT_MASTER_VOL_H   0x85 /* I2S Output master volume control */
 
#define P17V_I2S_CHANNEL_SWAP_PHASE_INVERSE
 
#define P17V_SPDIF_CHANNEL_SWAP_PHASE_INVERSE
 
#define P17V_SRP_P17V_ESR   0x8B /* SRP_P17V estimated sample rate and rate lock */
 
#define P17V_SRP_REC_ESR   0x8C /* SRP_REC estimated sample rate and rate lock */
 
#define P17V_SRP_BYPASS   0x8D /* srps channel bypass and srps bypass */
 
#define P17V_I2S_SRC_SEL   0x93 /* I2SIN mode sel */
 

Macro Definition Documentation

#define ADC_ALC_CTRL1   0x00000010 /*ADC ALC Control 1 */

Definition at line 66 of file p17v.h.

#define ADC_ALC_CTRL2   0x00000011 /*ADC ALC Control 2 */

Definition at line 67 of file p17v.h.

#define ADC_ALC_CTRL3   0x00000012 /*ADC ALC Control 3 */

Definition at line 68 of file p17v.h.

#define ADC_ATTEN_ADCL   0x0000000e /*ADC Attenuation ADCL */

Definition at line 64 of file p17v.h.

#define ADC_ATTEN_ADCR   0x0000000f /*ADC Attenuation ADCR */

Definition at line 65 of file p17v.h.

#define ADC_IFC_CTRL   0x0000000b /*ADC Interface Control */

Definition at line 61 of file p17v.h.

#define ADC_LIMIT_CTRL   0x00000014 /*ADC Limiter Control */

Definition at line 70 of file p17v.h.

#define ADC_MASTER   0x0000000c /*ADC Master Mode Control */

Definition at line 62 of file p17v.h.

#define ADC_MUX   0x00000015 /*ADC Mux offset */

Definition at line 71 of file p17v.h.

#define ADC_MUX_0   0x00000001

Definition at line 85 of file p17v.h.

#define ADC_MUX_1   0x00000002

Definition at line 86 of file p17v.h.

#define ADC_MUX_2   0x00000004

Definition at line 87 of file p17v.h.

#define ADC_MUX_3   0x00000008

Definition at line 88 of file p17v.h.

#define ADC_MUX_MASK   0x0000000f

Definition at line 84 of file p17v.h.

#define ADC_NOISE_CTRL   0x00000013 /*ADC Noise Gate Control */

Definition at line 69 of file p17v.h.

#define ADC_POWER   0x0000000d /*ADC PowerDown Control */

Definition at line 63 of file p17v.h.

#define ADC_TIMEOUT   0x00000007 /*ADC Timeout Clock Disable */

Definition at line 60 of file p17v.h.

#define I2C_A_ADC_ABORT   0x00000200 /*I2C transaction abort */

Definition at line 53 of file p17v.h.

#define I2C_A_ADC_ABORT_MASK   0x00000020 /*Bit mask for I2C transaction abort flag */

Definition at line 46 of file p17v.h.

#define I2C_A_ADC_ADD   0x00000034 /*This is the Device address for ADC */

Definition at line 50 of file p17v.h.

#define I2C_A_ADC_ADD_MASK   0x000000fe /*The address is a 7 bit address */

Definition at line 43 of file p17v.h.

#define I2C_A_ADC_BYTE   0x00000800 /*I2C one byte mode */

Definition at line 55 of file p17v.h.

#define I2C_A_ADC_BYTE_MASK   0x00000080 /*Bit mask for Byte Mode */

Definition at line 48 of file p17v.h.

#define I2C_A_ADC_LAST   0x00000400 /*I2C last transaction */

Definition at line 54 of file p17v.h.

#define I2C_A_ADC_LAST_MASK   0x00000040 /*Bit mask for Last word transaction */

Definition at line 47 of file p17v.h.

#define I2C_A_ADC_READ   0x00000001 /*To perform a read operation */

Definition at line 51 of file p17v.h.

#define I2C_A_ADC_RW_MASK   0x00000001 /*bit mask for R/W */

Definition at line 44 of file p17v.h.

#define I2C_A_ADC_START   0x00000100 /*Start I2C transaction */

Definition at line 52 of file p17v.h.

#define I2C_A_ADC_TRANS_MASK   0x00000010 /*Bit mask for I2c address DAC value */

Definition at line 45 of file p17v.h.

#define I2C_D_ADC_DAT_MASK   0x01ff0000 /*ADC data register */

Definition at line 58 of file p17v.h.

#define I2C_D_ADC_REG_MASK   0xfe000000 /*ADC address register */

Definition at line 57 of file p17v.h.

#define P17V_AC97_OUT_MASTER_VOL_H   0x81 /* AC97 Output master volume control */

Definition at line 131 of file p17v.h.

#define P17V_AC97_OUT_MASTER_VOL_L   0x80 /* AC97 Output master volume control */

Definition at line 130 of file p17v.h.

#define P17V_AUDIO_OUT_ENABLE   0x7C /* Audio out enable */

Definition at line 125 of file p17v.h.

#define P17V_CAPTURE_FIFO_BASE   0x49 /* Record FIFO base address */

Definition at line 93 of file p17v.h.

#define P17V_CAPTURE_FIFO_INDEX   0x4b /* Record FIFO capture index */

Definition at line 95 of file p17v.h.

#define P17V_CAPTURE_FIFO_PTR
Value:
0x13 /* Current capture fifo pointer
* and number of sound samples in cache.
*/

Definition at line 30 of file p17v.h.

#define P17V_CAPTURE_FIFO_SIZE   0x4a /* Record FIFO buffer size */

Definition at line 94 of file p17v.h.

#define P17V_CAPTURE_VOL_H   0x4c /* P17v capture volume control */

Definition at line 96 of file p17v.h.

#define P17V_CAPTURE_VOL_L   0x4d /* P17v capture volume control */

Definition at line 97 of file p17v.h.

#define P17V_I2C_0   0x3e /* I2C Data */

Definition at line 40 of file p17v.h.

#define P17V_I2C_1   0x3f /* I2C Data */

Definition at line 41 of file p17v.h.

#define P17V_I2C_ADDR   0x3d /* I2C Address */

Definition at line 39 of file p17v.h.

#define P17V_I2S_CHANNEL_SWAP_PHASE_INVERSE
Value:
0x88 /* I2S out mono channel swap
* and phase inverse */

Definition at line 137 of file p17v.h.

#define P17V_I2S_OUT_MASTER_VOL_H   0x85 /* I2S Output master volume control */

Definition at line 135 of file p17v.h.

#define P17V_I2S_OUT_MASTER_VOL_L   0x84 /* I2S Output master volume control */

Definition at line 134 of file p17v.h.

#define P17V_I2S_SRC_SEL   0x93 /* I2SIN mode sel */

Definition at line 144 of file p17v.h.

#define P17V_MIXER_AC97_10K1_VOL_H   0x62 /* 10K to Mixer_AC97 input volume control */

Definition at line 102 of file p17v.h.

#define P17V_MIXER_AC97_10K1_VOL_L   0x61 /* 10K to Mixer_AC97 input volume control */

Definition at line 101 of file p17v.h.

#define P17V_MIXER_AC97_ENABLE   0x79 /* Mixer AC97 input audio enable */

Definition at line 122 of file p17v.h.

#define P17V_MIXER_AC97_P17V_VOL_H   0x64 /* P17V to Mixer_AC97 input volume control */

Definition at line 104 of file p17v.h.

#define P17V_MIXER_AC97_P17V_VOL_L   0x63 /* P17V to Mixer_AC97 input volume control */

Definition at line 103 of file p17v.h.

#define P17V_MIXER_AC97_SRP_REC_VOL_H   0x66 /* SRP Record to Mixer_AC97 input volume control */

Definition at line 106 of file p17v.h.

#define P17V_MIXER_AC97_SRP_REC_VOL_L   0x65 /* SRP Record to Mixer_AC97 input volume control */

Definition at line 105 of file p17v.h.

#define P17V_MIXER_ATT   0x7D /* SRP Mixer Attenuation Select */

Definition at line 126 of file p17v.h.

#define P17V_MIXER_I2S_10K1_VOL_H   0x72 /* 10K to Mixer_I2S input volume control */

Definition at line 116 of file p17v.h.

#define P17V_MIXER_I2S_10K1_VOL_L   0x71 /* 10K to Mixer_I2S input volume control */

Definition at line 115 of file p17v.h.

#define P17V_MIXER_I2S_ENABLE   0x7B /* Mixer I2S input audio enable */

Definition at line 124 of file p17v.h.

#define P17V_MIXER_I2S_P17V_VOL_H   0x74 /* P17V to Mixer_I2S input volume control */

Definition at line 118 of file p17v.h.

#define P17V_MIXER_I2S_P17V_VOL_L   0x73 /* P17V to Mixer_I2S input volume control */

Definition at line 117 of file p17v.h.

#define P17V_MIXER_I2S_SRP_REC_VOL_H   0x76 /* SRP Record to Mixer_I2S input volume control */

Definition at line 120 of file p17v.h.

#define P17V_MIXER_I2S_SRP_REC_VOL_L   0x75 /* SRP Record to Mixer_I2S input volume control */

Definition at line 119 of file p17v.h.

#define P17V_MIXER_Spdif_10K1_VOL_H   0x6A /* 10K to Mixer_Spdif input volume control */

Definition at line 109 of file p17v.h.

#define P17V_MIXER_Spdif_10K1_VOL_L   0x69 /* 10K to Mixer_Spdif input volume control */

Definition at line 108 of file p17v.h.

#define P17V_MIXER_SPDIF_ENABLE   0x7A /* Mixer SPDIF input audio enable */

Definition at line 123 of file p17v.h.

#define P17V_MIXER_Spdif_P17V_VOL_H   0x6C /* P17V to Mixer_Spdif input volume control */

Definition at line 111 of file p17v.h.

#define P17V_MIXER_Spdif_P17V_VOL_L   0x6B /* P17V to Mixer_Spdif input volume control */

Definition at line 110 of file p17v.h.

#define P17V_MIXER_Spdif_SRP_REC_VOL_H   0x6E /* SRP Record to Mixer_Spdif input volume control */

Definition at line 113 of file p17v.h.

#define P17V_MIXER_Spdif_SRP_REC_VOL_L   0x6D /* SRP Record to Mixer_Spdif input volume control */

Definition at line 112 of file p17v.h.

#define P17V_PB_CHN_SEL   0x18 /* P17v playback channel select */

Definition at line 32 of file p17v.h.

#define P17V_PLAYBACK_FIFO_PTR
Value:
0x08 /* Current playback fifo pointer
* and number of sound samples in cache.
*/

Definition at line 28 of file p17v.h.

#define P17V_SE_SLOT_SEL_H   0x1a /* Sound Engine slot select high */

Definition at line 34 of file p17v.h.

#define P17V_SE_SLOT_SEL_L   0x19 /* Sound Engine slot select low */

Definition at line 33 of file p17v.h.

#define P17V_SOFT_RESET_SRP_MIXER   0x7F /* SRP and mixer soft reset */

Definition at line 128 of file p17v.h.

#define P17V_SPDIF_CHANNEL_SWAP_PHASE_INVERSE
Value:
0x89 /* SPDIF out mono channel swap
* and phase inverse */

Definition at line 138 of file p17v.h.

#define P17V_SPDIF_OUT_MASTER_VOL_H   0x83 /* SPDIF Output master volume control */

Definition at line 133 of file p17v.h.

#define P17V_SPDIF_OUT_MASTER_VOL_L   0x82 /* SPDIF Output master volume control */

Definition at line 132 of file p17v.h.

#define P17V_SPI   0x3c /* SPI interface register */

Definition at line 38 of file p17v.h.

#define P17V_SRCSel
Value:
0x60 /* SRC48 and SRCMulti sample rate select
* and output select
*/

Definition at line 100 of file p17v.h.

#define P17V_SRP_BYPASS   0x8D /* srps channel bypass and srps bypass */

Definition at line 142 of file p17v.h.

#define P17V_SRP_P17V_ESR   0x8B /* SRP_P17V estimated sample rate and rate lock */

Definition at line 140 of file p17v.h.

#define P17V_SRP_REC_ESR   0x8C /* SRP_REC estimated sample rate and rate lock */

Definition at line 141 of file p17v.h.

#define P17V_SRP_RECORD_SRR   0x7E /* SRP Record channel source Select */

Definition at line 127 of file p17v.h.

#define P17V_START_AUDIO   0x40 /* Start Audio bit */

Definition at line 90 of file p17v.h.

#define P17V_START_CAPTURE   0x48 /* Start Capture bit */

Definition at line 92 of file p17v.h.