1
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/panel/pnl_defs.h,v 1.1 2002/12/10 15:12:28 alanh Exp $ */
3
* $Workfile: pnl_defs.h $
5
* File Contents: This file contains definitions of the Geode
6
* frame buffer panel data structures.
8
* SubModule: Geode FlatPanel library
13
* NSC_LIC_ALTERNATIVE_PREAMBLE
17
* National Semiconductor Alternative GPL-BSD License
19
* National Semiconductor Corporation licenses this software
24
* under one of the two following licenses, depending on how the
25
* Software is received by the Licensee.
27
* If this Software is received as part of the Linux Framebuffer or
28
* other GPL licensed software, then the GPL license designated
29
* NSC_LIC_GPL applies to this Software; in all other circumstances
30
* then the BSD-style license designated NSC_LIC_BSD shall apply.
32
* END_NSC_LIC_ALTERNATIVE_PREAMBLE */
36
* National Semiconductor Corporation Open Source License for
40
* (BSD License with Export Notice)
42
* Copyright (c) 1999-2001
43
* National Semiconductor Corporation.
44
* All rights reserved.
46
* Redistribution and use in source and binary forms, with or without
47
* modification, are permitted provided that the following conditions
50
* * Redistributions of source code must retain the above copyright
51
* notice, this list of conditions and the following disclaimer.
53
* * Redistributions in binary form must reproduce the above
54
* copyright notice, this list of conditions and the following
55
* disclaimer in the documentation and/or other materials provided
56
* with the distribution.
58
* * Neither the name of the National Semiconductor Corporation nor
59
* the names of its contributors may be used to endorse or promote
60
* products derived from this software without specific prior
63
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
64
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
65
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
66
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
67
* NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY
68
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
69
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
70
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
71
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
72
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE,
73
* INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY
74
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
77
* EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF
78
* YOUR JURISDICTION. It is licensee's responsibility to comply with
79
* any export regulations applicable in licensee's jurisdiction. Under
80
* CURRENT (2001) U.S. export regulations this software
81
* is eligible for export from the U.S. and can be downloaded by or
82
* otherwise exported or reexported worldwide EXCEPT to U.S. embargoed
83
* destinations which include Cuba, Iraq, Libya, North Korea, Iran,
84
* Syria, Sudan, Afghanistan and any other country to which the U.S.
85
* has embargoed goods and services.
91
* National Semiconductor Corporation Gnu General Public License for
95
* (GPL License with Export Notice)
97
* Copyright (c) 1999-2001
98
* National Semiconductor Corporation.
99
* All rights reserved.
101
* Redistribution and use in source and binary forms, with or without
102
* modification, are permitted under the terms of the GNU General
103
* Public License as published by the Free Software Foundation; either
104
* version 2 of the License, or (at your option) any later version
106
* In addition to the terms of the GNU General Public License, neither
107
* the name of the National Semiconductor Corporation nor the names of
108
* its contributors may be used to endorse or promote products derived
109
* from this software without specific prior written permission.
111
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
112
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
113
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
114
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
115
* NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY
116
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
117
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
118
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
119
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
120
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE,
121
* INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY
122
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
123
* OF SUCH DAMAGE. See the GNU General Public License for more details.
125
* EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF
126
* YOUR JURISDICTION. It is licensee's responsibility to comply with
127
* any export regulations applicable in licensee's jurisdiction. Under
128
* CURRENT (2001) U.S. export regulations this software
129
* is eligible for export from the U.S. and can be downloaded by or
130
* otherwise exported or reexported worldwide EXCEPT to U.S. embargoed
131
* destinations which include Cuba, Iraq, Libya, North Korea, Iran,
132
* Syria, Sudan, Afghanistan and any other country to which the U.S.
133
* has embargoed goods and services.
135
* You should have received a copy of the GNU General Public License
136
* along with this file; if not, write to the Free Software Foundation,
137
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
159
#define PNL_9210 0x01
160
#define PNL_9211_A 0x02
161
#define PNL_9211_C 0x04
162
#define PNL_UNKNOWN_CHIP 0x08
165
#define PNL_SSTN 0x02
166
#define PNL_DSTN 0x04
167
#define PNL_TWOP 0x08
168
#define PNL_UNKNOWN_PANEL 0x10
170
#define PNL_MONO_PANEL 0x01
171
#define PNL_COLOR_PANEL 0x02
172
#define PNL_UNKNOWN_COLOR 0x08
174
#define PNL_PANELPRESENT 0x01
175
#define PNL_PLATFORM 0x02
176
#define PNL_PANELCHIP 0x04
177
#define PNL_PANELSTAT 0x08
178
#define PNL_OVERRIDE_STAT 0x10
179
#define PNL_OVERRIDE_ALL 0x1F
181
typedef struct _Pnl_PanelStat_
191
typedef struct _Pnl_Params_
197
Pnl_PanelStat PanelStat;
199
Pnl_PanelParams, *PPnl_PanelParams;
201
#endif /* _pnl_defs_h */