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

Go to the source code of this file.

Macros

#define PLAYBACK_LIST_ADDR   0x00 /* Base DMA address of a list of pointers to each period/size */
 
#define PLAYBACK_LIST_SIZE   0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
 
#define PLAYBACK_LIST_PTR   0x02 /* Pointer to the current period being played */
 
#define PLAYBACK_UNKNOWN3   0x03 /* Not used */
 
#define PLAYBACK_DMA_ADDR   0x04 /* Playback DMA address */
 
#define PLAYBACK_PERIOD_SIZE   0x05 /* Playback period size. win2000 uses 0x04000000 */
 
#define PLAYBACK_POINTER   0x06 /* Playback period pointer. Used with PLAYBACK_LIST_PTR to determine buffer position currently in DAC */
 
#define PLAYBACK_FIFO_END_ADDRESS   0x07 /* Playback FIFO end address */
 
#define PLAYBACK_FIFO_POINTER   0x08 /* Playback FIFO pointer and number of valid sound samples in cache */
 
#define PLAYBACK_UNKNOWN9   0x09 /* Not used */
 
#define CAPTURE_DMA_ADDR   0x10 /* Capture DMA address */
 
#define CAPTURE_BUFFER_SIZE   0x11 /* Capture buffer size */
 
#define CAPTURE_POINTER   0x12 /* Capture buffer pointer. Sample currently in ADC */
 
#define CAPTURE_FIFO_POINTER   0x13 /* Capture FIFO pointer and number of valid sound samples in cache */
 
#define CAPTURE_P16V_VOLUME1   0x14 /* Low: Capture volume 0xXXXX3030 */
 
#define CAPTURE_P16V_VOLUME2   0x15 /* High:Has no effect on capture volume */
 
#define CAPTURE_P16V_SOURCE   0x16 /* P16V source select. Set to 0x0700E4E5 for AC97 CAPTURE */
 
#define CAPTURE_RATE_STATUS   0x17 /* Capture sample rate. Read only */
 
#define PLAYBACK_LAST_SAMPLE   0x20 /* The sample currently being played. Read only */
 
#define BASIC_INTERRUPT   0x40 /* Used by both playback and capture interrupt handler */
 
#define WATERMARK   0x46 /* Test bit to indicate cache level usage */
 
#define SRCSel   0x60 /* SRCSel. Default 0x4. Bypass P16V 0x14 */
 
#define PLAYBACK_VOLUME_MIXER1   0x61 /* SRC48 Low to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER2   0x62 /* SRC48 High to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER3   0x63 /* SRCMULTI SPDIF Low to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER4   0x64 /* SRCMULTI SPDIF High to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER5   0x65 /* SRCMULTI I2S Low to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER6   0x66 /* SRCMULTI I2S High to mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER7   0x67 /* P16V Low to SRCMULTI SPDIF mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER8   0x68 /* P16V High to SRCMULTI SPDIF mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER9   0x69 /* P16V Low to SRCMULTI I2S mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER10   0x6a /* P16V High to SRCMULTI I2S mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER11   0x6b /* E10K2 Low to SRC48 mixer input volume control. */
 
#define PLAYBACK_VOLUME_MIXER12   0x6c /* E10K2 High to SRC48 mixer input volume control. */
 
#define SRC48_ENABLE   0x6d /* SRC48 input audio enable */
 
#define SRCMULTI_ENABLE   0x6e /* SRCMulti input audio enable. Default 0xffffffff */
 
#define AUDIO_OUT_ENABLE   0x6f /* Default: 000100FF */
 
#define PLAYBACK_SPDIF_SELECT   0x70 /* Default: 12030F00 */
 
#define PLAYBACK_SPDIF_SRC_SELECT   0x71 /* Default: 0000E4E4 */
 
#define PLAYBACK_SPDIF_USER_DATA0   0x72 /* SPDIF out user data 0 */
 
#define PLAYBACK_SPDIF_USER_DATA1   0x73 /* SPDIF out user data 1 */
 
#define CAPTURE_SPDIF_CONTROL   0x76 /* SPDIF in control setting */
 
#define CAPTURE_SPDIF_STATUS   0x77 /* SPDIF in status */
 
#define CAPURE_SPDIF_USER_DATA0   0x78 /* SPDIF in user data 0 */
 
#define CAPURE_SPDIF_USER_DATA1   0x79 /* SPDIF in user data 1 */
 
#define CAPURE_SPDIF_USER_DATA2   0x7a /* SPDIF in user data 2 */
 

Macro Definition Documentation

#define AUDIO_OUT_ENABLE   0x6f /* Default: 000100FF */

Definition at line 268 of file p16v.h.

#define BASIC_INTERRUPT   0x40 /* Used by both playback and capture interrupt handler */

Definition at line 180 of file p16v.h.

#define CAPTURE_BUFFER_SIZE   0x11 /* Capture buffer size */

Definition at line 106 of file p16v.h.

#define CAPTURE_DMA_ADDR   0x10 /* Capture DMA address */

Definition at line 105 of file p16v.h.

#define CAPTURE_FIFO_POINTER   0x13 /* Capture FIFO pointer and number of valid sound samples in cache */

Definition at line 108 of file p16v.h.

#define CAPTURE_P16V_SOURCE   0x16 /* P16V source select. Set to 0x0700E4E5 for AC97 CAPTURE */

Definition at line 111 of file p16v.h.

#define CAPTURE_P16V_VOLUME1   0x14 /* Low: Capture volume 0xXXXX3030 */

Definition at line 109 of file p16v.h.

#define CAPTURE_P16V_VOLUME2   0x15 /* High:Has no effect on capture volume */

Definition at line 110 of file p16v.h.

#define CAPTURE_POINTER   0x12 /* Capture buffer pointer. Sample currently in ADC */

Definition at line 107 of file p16v.h.

#define CAPTURE_RATE_STATUS   0x17 /* Capture sample rate. Read only */

Definition at line 162 of file p16v.h.

#define CAPTURE_SPDIF_CONTROL   0x76 /* SPDIF in control setting */

Definition at line 294 of file p16v.h.

#define CAPTURE_SPDIF_STATUS   0x77 /* SPDIF in status */

Definition at line 295 of file p16v.h.

#define CAPURE_SPDIF_USER_DATA0   0x78 /* SPDIF in user data 0 */

Definition at line 296 of file p16v.h.

#define CAPURE_SPDIF_USER_DATA1   0x79 /* SPDIF in user data 1 */

Definition at line 297 of file p16v.h.

#define CAPURE_SPDIF_USER_DATA2   0x7a /* SPDIF in user data 2 */

Definition at line 298 of file p16v.h.

#define PLAYBACK_DMA_ADDR   0x04 /* Playback DMA address */

Definition at line 99 of file p16v.h.

#define PLAYBACK_FIFO_END_ADDRESS   0x07 /* Playback FIFO end address */

Definition at line 102 of file p16v.h.

#define PLAYBACK_FIFO_POINTER   0x08 /* Playback FIFO pointer and number of valid sound samples in cache */

Definition at line 103 of file p16v.h.

#define PLAYBACK_LAST_SAMPLE   0x20 /* The sample currently being played. Read only */

Definition at line 178 of file p16v.h.

#define PLAYBACK_LIST_ADDR   0x00 /* Base DMA address of a list of pointers to each period/size */

Definition at line 90 of file p16v.h.

#define PLAYBACK_LIST_PTR   0x02 /* Pointer to the current period being played */

Definition at line 97 of file p16v.h.

#define PLAYBACK_LIST_SIZE   0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */

Definition at line 96 of file p16v.h.

#define PLAYBACK_PERIOD_SIZE   0x05 /* Playback period size. win2000 uses 0x04000000 */

Definition at line 100 of file p16v.h.

#define PLAYBACK_POINTER   0x06 /* Playback period pointer. Used with PLAYBACK_LIST_PTR to determine buffer position currently in DAC */

Definition at line 101 of file p16v.h.

#define PLAYBACK_SPDIF_SELECT   0x70 /* Default: 12030F00 */

Definition at line 284 of file p16v.h.

#define PLAYBACK_SPDIF_SRC_SELECT   0x71 /* Default: 0000E4E4 */

Definition at line 288 of file p16v.h.

#define PLAYBACK_SPDIF_USER_DATA0   0x72 /* SPDIF out user data 0 */

Definition at line 291 of file p16v.h.

#define PLAYBACK_SPDIF_USER_DATA1   0x73 /* SPDIF out user data 1 */

Definition at line 292 of file p16v.h.

#define PLAYBACK_UNKNOWN3   0x03 /* Not used */

Definition at line 98 of file p16v.h.

#define PLAYBACK_UNKNOWN9   0x09 /* Not used */

Definition at line 104 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER1   0x61 /* SRC48 Low to mixer input volume control. */

Definition at line 227 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER10   0x6a /* P16V High to SRCMULTI I2S mixer input volume control. */

Definition at line 239 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER11   0x6b /* E10K2 Low to SRC48 mixer input volume control. */

Definition at line 241 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER12   0x6c /* E10K2 High to SRC48 mixer input volume control. */

Definition at line 242 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER2   0x62 /* SRC48 High to mixer input volume control. */

Definition at line 228 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER3   0x63 /* SRCMULTI SPDIF Low to mixer input volume control. */

Definition at line 229 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER4   0x64 /* SRCMULTI SPDIF High to mixer input volume control. */

Definition at line 230 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER5   0x65 /* SRCMULTI I2S Low to mixer input volume control. */

Definition at line 231 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER6   0x66 /* SRCMULTI I2S High to mixer input volume control. */

Definition at line 232 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER7   0x67 /* P16V Low to SRCMULTI SPDIF mixer input volume control. */

Definition at line 233 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER8   0x68 /* P16V High to SRCMULTI SPDIF mixer input volume control. */

Definition at line 234 of file p16v.h.

#define PLAYBACK_VOLUME_MIXER9   0x69 /* P16V Low to SRCMULTI I2S mixer input volume control. */

Definition at line 235 of file p16v.h.

#define SRC48_ENABLE   0x6d /* SRC48 input audio enable */

Definition at line 244 of file p16v.h.

#define SRCMULTI_ENABLE   0x6e /* SRCMulti input audio enable. Default 0xffffffff */

Definition at line 249 of file p16v.h.

#define SRCSel   0x60 /* SRCSel. Default 0x4. Bypass P16V 0x14 */

Definition at line 213 of file p16v.h.

#define WATERMARK   0x46 /* Test bit to indicate cache level usage */

Definition at line 206 of file p16v.h.