Go to the documentation of this file.
22 #define CRD_NAME "Aztech AZT1605"
23 #define DRV_NAME "AZT1605"
24 #define DEV_NAME "azt1605"
26 #define GALAXY_DSP_MAJOR 2
27 #define GALAXY_DSP_MINOR 1
29 #define GALAXY_CONFIG_SIZE 3
35 #define GALAXY_CONFIG_SBA_220 (0 << 0)
36 #define GALAXY_CONFIG_SBA_240 (1 << 0)
37 #define GALAXY_CONFIG_SBA_260 (2 << 0)
38 #define GALAXY_CONFIG_SBA_280 (3 << 0)
39 #define GALAXY_CONFIG_SBA_MASK GALAXY_CONFIG_SBA_280
41 #define GALAXY_CONFIG_MPUA_300 (0 << 2)
42 #define GALAXY_CONFIG_MPUA_330 (1 << 2)
44 #define GALAXY_CONFIG_MPU_ENABLE (1 << 3)
46 #define GALAXY_CONFIG_GAME_ENABLE (1 << 4)
48 #define GALAXY_CONFIG_CD_PANASONIC (1 << 5)
49 #define GALAXY_CONFIG_CD_MITSUMI (1 << 6)
50 #define GALAXY_CONFIG_CD_MASK (\
51 GALAXY_CONFIG_CD_PANASONIC | GALAXY_CONFIG_CD_MITSUMI)
53 #define GALAXY_CONFIG_UNUSED (1 << 7)
54 #define GALAXY_CONFIG_UNUSED_MASK GALAXY_CONFIG_UNUSED
56 #define GALAXY_CONFIG_SBIRQ_2 (1 << 8)
57 #define GALAXY_CONFIG_SBIRQ_3 (1 << 9)
58 #define GALAXY_CONFIG_SBIRQ_5 (1 << 10)
59 #define GALAXY_CONFIG_SBIRQ_7 (1 << 11)
61 #define GALAXY_CONFIG_MPUIRQ_2 (1 << 12)
62 #define GALAXY_CONFIG_MPUIRQ_3 (1 << 13)
63 #define GALAXY_CONFIG_MPUIRQ_5 (1 << 14)
64 #define GALAXY_CONFIG_MPUIRQ_7 (1 << 15)
66 #define GALAXY_CONFIG_WSSA_530 (0 << 16)
67 #define GALAXY_CONFIG_WSSA_604 (1 << 16)
68 #define GALAXY_CONFIG_WSSA_E80 (2 << 16)
69 #define GALAXY_CONFIG_WSSA_F40 (3 << 16)
71 #define GALAXY_CONFIG_WSS_ENABLE (1 << 18)
73 #define GALAXY_CONFIG_CDIRQ_11 (1 << 19)
74 #define GALAXY_CONFIG_CDIRQ_12 (1 << 20)
75 #define GALAXY_CONFIG_CDIRQ_15 (1 << 21)
76 #define GALAXY_CONFIG_CDIRQ_MASK (\
77 GALAXY_CONFIG_CDIRQ_11 | GALAXY_CONFIG_CDIRQ_12 |\
78 GALAXY_CONFIG_CDIRQ_15)
80 #define GALAXY_CONFIG_CDDMA_DISABLE (0 << 22)
81 #define GALAXY_CONFIG_CDDMA_0 (1 << 22)
82 #define GALAXY_CONFIG_CDDMA_1 (2 << 22)
83 #define GALAXY_CONFIG_CDDMA_3 (3 << 22)
84 #define GALAXY_CONFIG_CDDMA_MASK GALAXY_CONFIG_CDDMA_3
86 #define GALAXY_CONFIG_MASK (\
87 GALAXY_CONFIG_SBA_MASK | GALAXY_CONFIG_CD_MASK |\
88 GALAXY_CONFIG_UNUSED_MASK | GALAXY_CONFIG_CDIRQ_MASK |\
89 GALAXY_CONFIG_CDDMA_MASK)