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
|
#ifndef __NV_PROTO_H__
#define __NV_PROTO_H__
/* in nv_driver.c */
Bool NVSwitchMode(SWITCH_MODE_ARGS_DECL);
void NVAdjustFrame(ADJUST_FRAME_ARGS_DECL);
Bool NVI2CInit(ScrnInfoPtr pScrn);
/* in nv_dac.c */
Bool NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
void NVDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
NVRegPtr nvReg, Bool saveFonts);
void NVDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
NVRegPtr nvReg, Bool restoreFonts);
void NVDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
LOCO *colors, VisualPtr pVisual );
Bool NVDACi2cInit(ScrnInfoPtr pScrn);
/* in nv_video.c */
void NVInitVideo(ScreenPtr);
void NVResetVideo (ScrnInfoPtr pScrnInfo);
/* in nv_setup.c */
void RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter);
void NVCommonSetup(ScrnInfoPtr pScrn);
/* in nv_cursor.c */
Bool NVCursorInit(ScreenPtr pScreen);
/* in nv_xaa.c */
Bool NVAccelInit(ScreenPtr pScreen);
void NVSync(ScrnInfoPtr pScrn);
void NVResetGraphics(ScrnInfoPtr pScrn);
void NVDmaKickoff(NVPtr pNv);
void NVDmaWait(NVPtr pNv, int size);
void NVWaitVSync(NVPtr pNv);
/* in nv_dga.c */
Bool NVDGAInit(ScreenPtr pScreen);
/* in riva_hw.c */
void NVCalcStateExt(NVPtr,struct _riva_hw_state *,int,int,int,int,int,int);
void NVLoadStateExt(NVPtr,struct _riva_hw_state *);
void NVUnloadStateExt(NVPtr,struct _riva_hw_state *);
void NVSetStartAddress(NVPtr,CARD32);
int NVShowHideCursor(NVPtr,int);
void NVLockUnlock(NVPtr,int);
/* in nv_shadow.c */
void NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVRefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
void NVPointerMoved(SCRN_ARG_TYPE arg, int x, int y);
#endif /* __NV_PROTO_H__ */
|