aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/emgd/emgd/include/pd_init.h
blob: 00643f7687087416fa7786a8949248fa82c7609a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
/* -*- pse-c -*-
 *-----------------------------------------------------------------------------
 * Filename: pd_init.h
 * $Revision: 1.3 $
 *-----------------------------------------------------------------------------
 * Copyright © 2002-2010, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 *
 *-----------------------------------------------------------------------------
 * Description:
 *  This file contains configurable definitions to statically link port
 *  drivers with display driver.
 *-----------------------------------------------------------------------------
 */

#ifndef _PD_INIT_H
#define _PD_INIT_H

#include <config.h>

/* Enable Analog (CRT) port driver */
#ifdef CONFIG_PD_ANALOG
extern int analog_init(void *handle);
#define ANALOG_INIT(handle)  analog_init(handle)
#else
#define ANALOG_INIT(handle)  0
#endif

/* Enable RGBA port driver */
#ifdef CONFIG_PD_RGBA
extern int rgba_init(void *handle);
#define RGBA_INIT(handle)  rgba_init(handle)
#else
#define RGBA_INIT(handle)  0
#endif

/* Enable Silicon Image 154/164 FP port driver */
#ifdef CONFIG_PD_SII164
extern int sii164_init(void *handle);
#define SII164_INIT(handle)  sii164_init(handle)
#else
#define SII164_INIT(handle)  0
#endif

/* Enable Texas Instruments 410 FP port driver */
#ifdef CONFIG_PD_TI410
extern int ti410_init(void *handle);
#define TI410_INIT(handle)  ti410_init(handle)
#else
#define TI410_INIT(handle)  0
#endif

/* Enable Chrontel 7009 TMDS & TVOut port driver */
#ifdef CONFIG_PD_CH7009
extern int ch7009_init(void *handle);
#define CH7009_INIT(handle)  ch7009_init(handle)
#else
#define CH7009_INIT(handle)  0
#endif

/* Enable National Semiconductor 2501 LVDS port driver */
#ifdef CONFIG_PD_NS2501
extern int ns2501_init(void *handle);
#define NS2501_INIT(handle)  ns2501_init(handle)
#else
#define NS2501_INIT(handle)  0
#endif

/* Enable TL955 port driver */
#ifdef CONFIG_PD_TL955
extern int tl955_init(void *handle);
#define TL955_INIT(handle)  tl955_init(handle)
#else
#define TL955_INIT(handle)  0
#endif

/* Enable Th164 port driver */
#ifdef CONFIG_PD_TH164
extern int th164_init(void *handle);
#define TH164_INIT(handle)  th164_init(handle)
#else
#define TH164_INIT(handle)  0
#endif

/* Enable FS454 port driver */
#ifdef CONFIG_PD_FS454
extern int fs454_init(void *handle);
#define FS454_INIT(handle)  fs454_init(handle)
#else
#define FS454_INIT(handle)  0
#endif

/* Enable NS387/389 port driver */
#ifdef CONFIG_PD_NS387
extern int ns387_init(void *handle);
#define NS387_INIT(handle)  ns387_init(handle)
#else
#define NS387_INIT(handle)  0
#endif

/* Enable connexant port driver */
#ifdef CONFIG_PD_CX873
extern int cx873_init(void *handle);
#define CX873_INIT(handle)  cx873_init(handle)
#else
#define CX873_INIT(handle)  0
#endif

/* Enable Internal LVDS port driver */
#ifdef CONFIG_PD_LVDS
extern int lvds_init(void *handle);
#define LVDS_INIT(handle)  lvds_init(handle)
#else
#define LVDS_INIT(handle)  0
#endif

/* Enable SDVO port driver */
#ifdef CONFIG_PD_SDVO
extern int sdvo_init(void *handle);
#define SDVO_INIT(handle)  sdvo_init(handle)
#else
#define SDVO_INIT(handle)  0
#endif

/* Enable Integrated TV port driver for NAPA*/
#ifdef CONFIG_PD_TV
extern int tv_init(void *handle);
#define TV_INIT(handle)  tv_init(handle)
#else
#define TV_INIT(handle)  0
#endif

/* Enable FS460 port driver */
#ifdef CONFIG_PD_FS460
extern int fs460_init(void *handle);
#define FS460_INIT(handle)  fs460_init(handle)
#else
#define FS460_INIT(handle)  0
#endif

/* Enable FS450 port driver */
#ifdef CONFIG_PD_FS450
extern int fs450_init(void *handle);
#define FS450_INIT(handle)  fs450_init(handle)
#else
#define FS450_INIT(handle)  0
#endif

/* Enable Chrontel 7017 LVDS & TVOut port driver */
#ifdef CONFIG_PD_CH7017
extern int ch7017_init(void *handle);
#define CH7017_INIT(handle)  ch7017_init(handle)
#else
#define CH7017_INIT(handle)  0
#endif

/* Enable internal HDMI port driver */
#ifdef CONFIG_PD_HDMI
extern int hdmi_init(void *handle);
#define HDMI_INIT(handle)  hdmi_init(handle)
#else
#define HDMI_INIT(handle)  0
#endif

/* Enable Dummy Port Driver*/
#ifdef CONFIG_PD_PD000
extern int pd000_init(void *handle);
#define PD000_INIT(handle)  pd000_init(handle)
#else
#define PD000_INIT(handle)  0
#endif

#endif

/*----------------------------------------------------------------------------
 * File Revision History
 * $Id: pd_init.h,v 1.3 2010/07/23 16:54:50 bpaauwe Exp $
 * $Source: /nfs/fm/proj/eia/cvsroot/koheo/linux/egd_drm/emgd/include/pd_init.h,v $
 *----------------------------------------------------------------------------
 */