blob: b0d216ba7f814631ae99fbc00398fccd8f53a685 [file] [log] [blame]
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -03001/*
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_
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030024#define _MEDUSA_DEF_H_
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -030025
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
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030036//#define AUTO_SWITCH_BIT[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -030037
38// The following bit position enables automatic source switching for decoder A-H.
39// Display index per camera.
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030040//#define VDEC_INDEX[] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7};
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -030041
42// Select input bit to video decoder A-H.
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030043//#define CH_SRC_SEL_BIT[] = {24, 25, 26, 27, 28, 29, 30, 31};
Mauro Carvalho Chehab1a9fc852009-09-13 11:30:11 -030044
45// end of display sequence
46#define END_OF_SEQ 0xF;
47
48// registry string size
49#define MAX_REGISTRY_SZ 40;
50
Mauro Carvalho Chehab02b20b02009-09-15 11:33:54 -030051#endif