On Tue, Nov 06, 2007 at 02:33:53AM -0800, akpm@linux-foundation.org wrote:
[mmotm.git] / drivers / staging / cx25821 / cx25821-medusa-defines.h
blobb0d216ba7f814631ae99fbc00398fccd8f53a685
1 /*
2 * Driver for the Conexant CX25821 PCIe bridge
4 * Copyright (C) 2009 Conexant Systems Inc.
5 * Authors <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
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.
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
16 * GNU General Public License for more details.
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.
23 #ifndef _MEDUSA_DEF_H_
24 #define _MEDUSA_DEF_H_
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
36 //#define AUTO_SWITCH_BIT[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
38 // The following bit position enables automatic source switching for decoder A-H.
39 // Display index per camera.
40 //#define VDEC_INDEX[] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7};
42 // Select input bit to video decoder A-H.
43 //#define CH_SRC_SEL_BIT[] = {24, 25, 26, 27, 28, 29, 30, 31};
45 // end of display sequence
46 #define END_OF_SEQ 0xF;
48 // registry string size
49 #define MAX_REGISTRY_SZ 40;
51 #endif