Commit | Line | Data |
---|---|---|
1a9fc855 MCC |
1 | /* |
2 | * Driver for the Conexant CX25821 PCIe bridge | |
3 | * | |
4 | * Copyright (C) 2009 Conexant Systems Inc. | |
5 | * Authors <shu.lin@conexant.com>, <hiep.huynh@conexant.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, write to the Free Software | |
20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 | */ | |
22 | ||
23 | #ifndef _MEDUSA_DEF_H_ | |
02b20b0b | 24 | #define _MEDUSA_DEF_H_ |
1a9fc855 MCC |
25 | |
26 | // Video deocder that we supported | |
27 | #define VDEC_A 0 | |
28 | #define VDEC_B 1 | |
29 | #define VDEC_C 2 | |
30 | #define VDEC_D 3 | |
31 | #define VDEC_E 4 | |
32 | #define VDEC_F 5 | |
33 | #define VDEC_G 6 | |
34 | #define VDEC_H 7 | |
35 | ||
02b20b0b | 36 | //#define AUTO_SWITCH_BIT[] = { 8, 9, 10, 11, 12, 13, 14, 15 }; |
1a9fc855 MCC |
37 | |
38 | // The following bit position enables automatic source switching for decoder A-H. | |
39 | // Display index per camera. | |
02b20b0b | 40 | //#define VDEC_INDEX[] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7}; |
1a9fc855 MCC |
41 | |
42 | // Select input bit to video decoder A-H. | |
02b20b0b | 43 | //#define CH_SRC_SEL_BIT[] = {24, 25, 26, 27, 28, 29, 30, 31}; |
1a9fc855 MCC |
44 | |
45 | // end of display sequence | |
46 | #define END_OF_SEQ 0xF; | |
47 | ||
48 | // registry string size | |
49 | #define MAX_REGISTRY_SZ 40; | |
50 | ||
02b20b0b | 51 | #endif |