riva_proto.h revision fc5a983d
1#ifndef __RIVA_PROTO_H__ 2#define __RIVA_PROTO_H__ 3 4/* in riva_driver.c */ 5Bool RivaSwitchMode(int scrnIndex, DisplayModePtr mode, int flags); 6void RivaAdjustFrame(int scrnIndex, int x, int y, int flags); 7Bool RivaI2CInit(ScrnInfoPtr pScrn); 8const OptionInfoRec * RivaAvailableOptions(int chipid, int busid); 9Bool RivaGetScrnInfoRec(PciChipsets *chips, int chip); 10 11/* in riva_dac.c */ 12Bool RivaDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode); 13void RivaDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, 14 RivaRegPtr rivaReg, Bool saveFonts); 15void RivaDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, 16 RivaRegPtr rivaReg, Bool restoreFonts); 17void RivaDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, 18 LOCO *colors, VisualPtr pVisual ); 19Bool RivaDACi2cInit(ScrnInfoPtr pScrn); 20 21 22/* in riva_setup.c */ 23void RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter); 24void Riva3Setup(ScrnInfoPtr pScrn); 25 26/* in riva_cursor.c */ 27Bool RivaCursorInit(ScreenPtr pScreen); 28 29/* in riva_xaa.c */ 30Bool RivaAccelInit(ScreenPtr pScreen); 31void RivaSync(ScrnInfoPtr pScrn); 32void RivaResetGraphics(ScrnInfoPtr pScrn); 33 34/* in riva_dga.c */ 35Bool RivaDGAInit(ScreenPtr pScreen); 36 37 38#endif /* __RIVA_PROTO_H__ */ 39