17104f784Smrg/*
27104f784SmrgCopyright (C) 2008 Francisco Jerez.  All Rights Reserved.
37104f784Smrg
47104f784SmrgPermission is hereby granted, free of charge, to any person obtaining a copy of
57104f784Smrgthis software and associated documentation files (the "Software"), to deal in
67104f784Smrgthe Software without restriction, including without limitation the rights to
77104f784Smrguse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
87104f784Smrgof the Software, and to permit persons to whom the Software is furnished to do
97104f784Smrgso, subject to the following conditions:
107104f784Smrg
117104f784SmrgThe above copyright notice and this permission notice shall be included in all
127104f784Smrgcopies or substantial portions of the Software.
137104f784Smrg
147104f784SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157104f784SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
167104f784SmrgNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
177104f784SmrgXFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
187104f784SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
197104f784SmrgWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
207104f784Smrg*/
217104f784Smrg
227104f784Smrg#ifndef _SMI_LYNX_H
237104f784Smrg#define _SMI_LYNX_H
247104f784Smrg
257104f784Smrg/* smilynx_hw.c */
267104f784Smrg/* Initialize the CRTC-independent hardware registers */
277104f784SmrgBool SMILynx_HWInit(ScrnInfoPtr pScrn);
287104f784Smrgvoid SMILynx_Save (ScrnInfoPtr pScrn);
297104f784Smrgvoid SMILynx_WriteMode (ScrnInfoPtr pScrn, vgaRegPtr, SMIRegPtr);
307104f784Smrgvoid SMILynx_DisplayPowerManagementSet(ScrnInfoPtr pScrn,
317104f784Smrg                                          int PowerManagementMode, int flags);
327104f784Smrgxf86MonPtr SMILynx_ddc1(ScrnInfoPtr pScrn);
337104f784Smrgvoid SMILynx_PrintRegs(ScrnInfoPtr);
347104f784Smrg
357104f784Smrg/* smilynx_crtc.c */
367104f784SmrgBool SMILynx_CrtcPreInit(ScrnInfoPtr pScrn);
377104f784Smrg
387104f784Smrg/* smilynx_output.c */
397104f784SmrgBool SMILynx_OutputPreInit(ScrnInfoPtr pScrn);
407104f784Smrg
417104f784Smrg#endif
42