Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
azt2316.c File Reference
#include "galaxy.c"

Go to the source code of this file.

Macros

#define AZT2316
 
#define CRD_NAME   "Aztech AZT2316"
 
#define DRV_NAME   "AZT2316"
 
#define DEV_NAME   "azt2316"
 
#define GALAXY_DSP_MAJOR   3
 
#define GALAXY_DSP_MINOR   1
 
#define GALAXY_CONFIG_SIZE   4
 
#define GALAXY_CONFIG_SBA_220   (0 << 0)
 
#define GALAXY_CONFIG_SBA_240   (1 << 0)
 
#define GALAXY_CONFIG_SBA_260   (2 << 0)
 
#define GALAXY_CONFIG_SBA_280   (3 << 0)
 
#define GALAXY_CONFIG_SBA_MASK   GALAXY_CONFIG_SBA_280
 
#define GALAXY_CONFIG_SBIRQ_2   (1 << 2)
 
#define GALAXY_CONFIG_SBIRQ_5   (1 << 3)
 
#define GALAXY_CONFIG_SBIRQ_7   (1 << 4)
 
#define GALAXY_CONFIG_SBIRQ_10   (1 << 5)
 
#define GALAXY_CONFIG_SBDMA_DISABLE   (0 << 6)
 
#define GALAXY_CONFIG_SBDMA_0   (1 << 6)
 
#define GALAXY_CONFIG_SBDMA_1   (2 << 6)
 
#define GALAXY_CONFIG_SBDMA_3   (3 << 6)
 
#define GALAXY_CONFIG_WSSA_530   (0 << 8)
 
#define GALAXY_CONFIG_WSSA_604   (1 << 8)
 
#define GALAXY_CONFIG_WSSA_E80   (2 << 8)
 
#define GALAXY_CONFIG_WSSA_F40   (3 << 8)
 
#define GALAXY_CONFIG_WSS_ENABLE   (1 << 10)
 
#define GALAXY_CONFIG_GAME_ENABLE   (1 << 11)
 
#define GALAXY_CONFIG_MPUA_300   (0 << 12)
 
#define GALAXY_CONFIG_MPUA_330   (1 << 12)
 
#define GALAXY_CONFIG_MPU_ENABLE   (1 << 13)
 
#define GALAXY_CONFIG_CDA_310   (0 << 14)
 
#define GALAXY_CONFIG_CDA_320   (1 << 14)
 
#define GALAXY_CONFIG_CDA_340   (2 << 14)
 
#define GALAXY_CONFIG_CDA_350   (3 << 14)
 
#define GALAXY_CONFIG_CDA_MASK   GALAXY_CONFIG_CDA_350
 
#define GALAXY_CONFIG_CD_DISABLE   (0 << 16)
 
#define GALAXY_CONFIG_CD_PANASONIC   (1 << 16)
 
#define GALAXY_CONFIG_CD_SONY   (2 << 16)
 
#define GALAXY_CONFIG_CD_MITSUMI   (3 << 16)
 
#define GALAXY_CONFIG_CD_AZTECH   (4 << 16)
 
#define GALAXY_CONFIG_CD_UNUSED_5   (5 << 16)
 
#define GALAXY_CONFIG_CD_UNUSED_6   (6 << 16)
 
#define GALAXY_CONFIG_CD_UNUSED_7   (7 << 16)
 
#define GALAXY_CONFIG_CD_MASK   GALAXY_CONFIG_CD_UNUSED_7
 
#define GALAXY_CONFIG_CDDMA8_DISABLE   (0 << 20)
 
#define GALAXY_CONFIG_CDDMA8_0   (1 << 20)
 
#define GALAXY_CONFIG_CDDMA8_1   (2 << 20)
 
#define GALAXY_CONFIG_CDDMA8_3   (3 << 20)
 
#define GALAXY_CONFIG_CDDMA8_MASK   GALAXY_CONFIG_CDDMA8_3
 
#define GALAXY_CONFIG_CDDMA16_DISABLE   (0 << 22)
 
#define GALAXY_CONFIG_CDDMA16_5   (1 << 22)
 
#define GALAXY_CONFIG_CDDMA16_6   (2 << 22)
 
#define GALAXY_CONFIG_CDDMA16_7   (3 << 22)
 
#define GALAXY_CONFIG_CDDMA16_MASK   GALAXY_CONFIG_CDDMA16_7
 
#define GALAXY_CONFIG_MPUIRQ_2   (1 << 24)
 
#define GALAXY_CONFIG_MPUIRQ_5   (1 << 25)
 
#define GALAXY_CONFIG_MPUIRQ_7   (1 << 26)
 
#define GALAXY_CONFIG_MPUIRQ_10   (1 << 27)
 
#define GALAXY_CONFIG_CDIRQ_5   (1 << 28)
 
#define GALAXY_CONFIG_CDIRQ_11   (1 << 29)
 
#define GALAXY_CONFIG_CDIRQ_12   (1 << 30)
 
#define GALAXY_CONFIG_CDIRQ_15   (1 << 31)
 
#define GALAXY_CONFIG_CDIRQ_MASK
 
#define GALAXY_CONFIG_MASK
 

Macro Definition Documentation

#define AZT2316

Definition at line 20 of file azt2316.c.

#define CRD_NAME   "Aztech AZT2316"

Definition at line 22 of file azt2316.c.

#define DEV_NAME   "azt2316"

Definition at line 24 of file azt2316.c.

#define DRV_NAME   "AZT2316"

Definition at line 23 of file azt2316.c.

#define GALAXY_CONFIG_CD_AZTECH   (4 << 16)

Definition at line 75 of file azt2316.c.

#define GALAXY_CONFIG_CD_DISABLE   (0 << 16)

Definition at line 71 of file azt2316.c.

#define GALAXY_CONFIG_CD_MASK   GALAXY_CONFIG_CD_UNUSED_7

Definition at line 79 of file azt2316.c.

#define GALAXY_CONFIG_CD_MITSUMI   (3 << 16)

Definition at line 74 of file azt2316.c.

#define GALAXY_CONFIG_CD_PANASONIC   (1 << 16)

Definition at line 72 of file azt2316.c.

#define GALAXY_CONFIG_CD_SONY   (2 << 16)

Definition at line 73 of file azt2316.c.

#define GALAXY_CONFIG_CD_UNUSED_5   (5 << 16)

Definition at line 76 of file azt2316.c.

#define GALAXY_CONFIG_CD_UNUSED_6   (6 << 16)

Definition at line 77 of file azt2316.c.

#define GALAXY_CONFIG_CD_UNUSED_7   (7 << 16)

Definition at line 78 of file azt2316.c.

#define GALAXY_CONFIG_CDA_310   (0 << 14)

Definition at line 65 of file azt2316.c.

#define GALAXY_CONFIG_CDA_320   (1 << 14)

Definition at line 66 of file azt2316.c.

#define GALAXY_CONFIG_CDA_340   (2 << 14)

Definition at line 67 of file azt2316.c.

#define GALAXY_CONFIG_CDA_350   (3 << 14)

Definition at line 68 of file azt2316.c.

#define GALAXY_CONFIG_CDA_MASK   GALAXY_CONFIG_CDA_350

Definition at line 69 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA16_5   (1 << 22)

Definition at line 88 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA16_6   (2 << 22)

Definition at line 89 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA16_7   (3 << 22)

Definition at line 90 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA16_DISABLE   (0 << 22)

Definition at line 87 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA16_MASK   GALAXY_CONFIG_CDDMA16_7

Definition at line 91 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA8_0   (1 << 20)

Definition at line 82 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA8_1   (2 << 20)

Definition at line 83 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA8_3   (3 << 20)

Definition at line 84 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA8_DISABLE   (0 << 20)

Definition at line 81 of file azt2316.c.

#define GALAXY_CONFIG_CDDMA8_MASK   GALAXY_CONFIG_CDDMA8_3

Definition at line 85 of file azt2316.c.

#define GALAXY_CONFIG_CDIRQ_11   (1 << 29)

Definition at line 99 of file azt2316.c.

#define GALAXY_CONFIG_CDIRQ_12   (1 << 30)

Definition at line 100 of file azt2316.c.

#define GALAXY_CONFIG_CDIRQ_15   (1 << 31)

Definition at line 101 of file azt2316.c.

#define GALAXY_CONFIG_CDIRQ_5   (1 << 28)

Definition at line 98 of file azt2316.c.

#define GALAXY_CONFIG_CDIRQ_MASK
Value:
(\
GALAXY_CONFIG_CDIRQ_5 | GALAXY_CONFIG_CDIRQ_11 |\
GALAXY_CONFIG_CDIRQ_12 | GALAXY_CONFIG_CDIRQ_15)

Definition at line 102 of file azt2316.c.

#define GALAXY_CONFIG_GAME_ENABLE   (1 << 11)

Definition at line 58 of file azt2316.c.

#define GALAXY_CONFIG_MASK
Value:
(\
GALAXY_CONFIG_SBA_MASK | GALAXY_CONFIG_CDA_MASK |\
GALAXY_CONFIG_CD_MASK | GALAXY_CONFIG_CDDMA16_MASK |\
GALAXY_CONFIG_CDDMA8_MASK | GALAXY_CONFIG_CDIRQ_MASK)

Definition at line 106 of file azt2316.c.

#define GALAXY_CONFIG_MPU_ENABLE   (1 << 13)

Definition at line 63 of file azt2316.c.

#define GALAXY_CONFIG_MPUA_300   (0 << 12)

Definition at line 60 of file azt2316.c.

#define GALAXY_CONFIG_MPUA_330   (1 << 12)

Definition at line 61 of file azt2316.c.

#define GALAXY_CONFIG_MPUIRQ_10   (1 << 27)

Definition at line 96 of file azt2316.c.

#define GALAXY_CONFIG_MPUIRQ_2   (1 << 24)

Definition at line 93 of file azt2316.c.

#define GALAXY_CONFIG_MPUIRQ_5   (1 << 25)

Definition at line 94 of file azt2316.c.

#define GALAXY_CONFIG_MPUIRQ_7   (1 << 26)

Definition at line 95 of file azt2316.c.

#define GALAXY_CONFIG_SBA_220   (0 << 0)

Definition at line 35 of file azt2316.c.

#define GALAXY_CONFIG_SBA_240   (1 << 0)

Definition at line 36 of file azt2316.c.

#define GALAXY_CONFIG_SBA_260   (2 << 0)

Definition at line 37 of file azt2316.c.

#define GALAXY_CONFIG_SBA_280   (3 << 0)

Definition at line 38 of file azt2316.c.

#define GALAXY_CONFIG_SBA_MASK   GALAXY_CONFIG_SBA_280

Definition at line 39 of file azt2316.c.

#define GALAXY_CONFIG_SBDMA_0   (1 << 6)

Definition at line 47 of file azt2316.c.

#define GALAXY_CONFIG_SBDMA_1   (2 << 6)

Definition at line 48 of file azt2316.c.

#define GALAXY_CONFIG_SBDMA_3   (3 << 6)

Definition at line 49 of file azt2316.c.

#define GALAXY_CONFIG_SBDMA_DISABLE   (0 << 6)

Definition at line 46 of file azt2316.c.

#define GALAXY_CONFIG_SBIRQ_10   (1 << 5)

Definition at line 44 of file azt2316.c.

#define GALAXY_CONFIG_SBIRQ_2   (1 << 2)

Definition at line 41 of file azt2316.c.

#define GALAXY_CONFIG_SBIRQ_5   (1 << 3)

Definition at line 42 of file azt2316.c.

#define GALAXY_CONFIG_SBIRQ_7   (1 << 4)

Definition at line 43 of file azt2316.c.

#define GALAXY_CONFIG_SIZE   4

Definition at line 29 of file azt2316.c.

#define GALAXY_CONFIG_WSS_ENABLE   (1 << 10)

Definition at line 56 of file azt2316.c.

#define GALAXY_CONFIG_WSSA_530   (0 << 8)

Definition at line 51 of file azt2316.c.

#define GALAXY_CONFIG_WSSA_604   (1 << 8)

Definition at line 52 of file azt2316.c.

#define GALAXY_CONFIG_WSSA_E80   (2 << 8)

Definition at line 53 of file azt2316.c.

#define GALAXY_CONFIG_WSSA_F40   (3 << 8)

Definition at line 54 of file azt2316.c.

#define GALAXY_DSP_MAJOR   3

Definition at line 26 of file azt2316.c.

#define GALAXY_DSP_MINOR   1

Definition at line 27 of file azt2316.c.