1 // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 3 * Aztech AZT1605 Driver 4 * Copyright (C) 2007,2010 Rene Herman 5 */ 6 7 #define AZT1605 8 9 #define CRD_NAME "Aztech AZT1605" 10 #define DRV_NAME "AZT1605" 11 #define DEV_NAME "azt1605" 12 13 #define GALAXY_DSP_MAJOR 2 14 #define GALAXY_DSP_MINOR 1 15 16 #define GALAXY_CONFIG_SIZE 3 17 18 /* 19 * 24-bit config register 20 */ 21 22 #define GALAXY_CONFIG_SBA_220 (0 << 23 #define GALAXY_CONFIG_SBA_240 (1 << 24 #define GALAXY_CONFIG_SBA_260 (2 << 25 #define GALAXY_CONFIG_SBA_280 (3 << 26 #define GALAXY_CONFIG_SBA_MASK GALAXY 27 28 #define GALAXY_CONFIG_MPUA_300 (0 << 29 #define GALAXY_CONFIG_MPUA_330 (1 << 30 31 #define GALAXY_CONFIG_MPU_ENABLE (1 << 32 33 #define GALAXY_CONFIG_GAME_ENABLE (1 << 34 35 #define GALAXY_CONFIG_CD_PANASONIC (1 << 36 #define GALAXY_CONFIG_CD_MITSUMI (1 << 37 #define GALAXY_CONFIG_CD_MASK (\ 38 GALAXY_CONFIG_CD_PANASONIC | GALAXY_CO 39 40 #define GALAXY_CONFIG_UNUSED (1 << 41 #define GALAXY_CONFIG_UNUSED_MASK GALAXY 42 43 #define GALAXY_CONFIG_SBIRQ_2 (1 << 44 #define GALAXY_CONFIG_SBIRQ_3 (1 << 45 #define GALAXY_CONFIG_SBIRQ_5 (1 << 46 #define GALAXY_CONFIG_SBIRQ_7 (1 << 47 48 #define GALAXY_CONFIG_MPUIRQ_2 (1 << 49 #define GALAXY_CONFIG_MPUIRQ_3 (1 << 50 #define GALAXY_CONFIG_MPUIRQ_5 (1 << 51 #define GALAXY_CONFIG_MPUIRQ_7 (1 << 52 53 #define GALAXY_CONFIG_WSSA_530 (0 << 54 #define GALAXY_CONFIG_WSSA_604 (1 << 55 #define GALAXY_CONFIG_WSSA_E80 (2 << 56 #define GALAXY_CONFIG_WSSA_F40 (3 << 57 58 #define GALAXY_CONFIG_WSS_ENABLE (1 << 59 60 #define GALAXY_CONFIG_CDIRQ_11 (1 << 61 #define GALAXY_CONFIG_CDIRQ_12 (1 << 62 #define GALAXY_CONFIG_CDIRQ_15 (1 << 63 #define GALAXY_CONFIG_CDIRQ_MASK (\ 64 GALAXY_CONFIG_CDIRQ_11 | GALAXY_CONFIG 65 GALAXY_CONFIG_CDIRQ_15) 66 67 #define GALAXY_CONFIG_CDDMA_DISABLE (0 << 68 #define GALAXY_CONFIG_CDDMA_0 (1 << 69 #define GALAXY_CONFIG_CDDMA_1 (2 << 70 #define GALAXY_CONFIG_CDDMA_3 (3 << 71 #define GALAXY_CONFIG_CDDMA_MASK GALAXY 72 73 #define GALAXY_CONFIG_MASK (\ 74 GALAXY_CONFIG_SBA_MASK | GALAXY_CONFIG 75 GALAXY_CONFIG_UNUSED_MASK | GALAXY_CON 76 GALAXY_CONFIG_CDDMA_MASK) 77 78 #include "galaxy.c" 79
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.