Home
last modified time | relevance | path

Searched refs:ivideo (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/video/fbdev/sis/
H A Dsis_main.c72 static void sisfb_handle_command(struct sis_video_info *ivideo,
76 static int sisfb_validate_mode(struct sis_video_info *ivideo, int modeindex, u32 vbflags);
77 static u8 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate,
84 static void sisfb_pre_setmode(struct sis_video_info *ivideo);
85 static void sisfb_post_setmode(struct sis_video_info *ivideo);
86 static bool sisfb_CheckVBRetrace(struct sis_video_info *ivideo);
87 static bool sisfbcheckvretracecrt2(struct sis_video_info *ivideo);
88 static bool sisfbcheckvretracecrt1(struct sis_video_info *ivideo);
89 static bool sisfb_bridgeisslave(struct sis_video_info *ivideo);
90 static void sisfb_detect_VB_connect(struct sis_video_info *ivideo);
[all …]
H A Dsis_accel.h28 #define CRITBEGIN spin_lock_irqsave(&ivideo->lockaccel, critflags);
29 #define CRITEND spin_unlock_irqrestore(&ivideo->lockaccel, critflags);
127 #define CmdQueLen ivideo->cmdqueuelength
143 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \
144 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \
145 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \
146 CmdQueLen = MMIO_IN16(ivideo->mmio_vbase, 0x8240); \
152 MMIO_OUT32(ivideo->mmio_vbase, BR(0), base);\
157 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\
162 MMIO_OUT32(ivideo->mmio_vbase, BR(2), (x)<<16 | (y) );\
[all …]
H A Dsis_accel.c75 SiS300Sync(struct sis_video_info *ivideo) in SiS300Sync() argument
81 SiS300SetupForScreenToScreenCopy(struct sis_video_info *ivideo, int xdir, int ydir, in SiS300SetupForScreenToScreenCopy() argument
84 SiS300SetupDSTColorDepth(ivideo->DstColor); in SiS300SetupForScreenToScreenCopy()
85 SiS300SetupSRCPitch(ivideo->video_linelength) in SiS300SetupForScreenToScreenCopy()
86 SiS300SetupDSTRect(ivideo->video_linelength, 0xffff) in SiS300SetupForScreenToScreenCopy()
104 SiS300SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, in SiS300SubsequentScreenToScreenCopy() argument
110 srcbase = ivideo->video_linelength * src_y; in SiS300SubsequentScreenToScreenCopy()
114 dstbase = ivideo->video_linelength * dst_y; in SiS300SubsequentScreenToScreenCopy()
121 if(!(ivideo->CommandReg & X_INC)) { in SiS300SubsequentScreenToScreenCopy()
125 if(!(ivideo->CommandReg & Y_INC)) { in SiS300SubsequentScreenToScreenCopy()
[all …]
H A Dsis.h139 #define SISSR ivideo->SiS_Pr.SiS_P3c4
140 #define SISCR ivideo->SiS_Pr.SiS_P3d4
141 #define SISDACA ivideo->SiS_Pr.SiS_P3c8
142 #define SISDACD ivideo->SiS_Pr.SiS_P3c9
143 #define SISPART1 ivideo->SiS_Pr.SiS_Part1Port
144 #define SISPART2 ivideo->SiS_Pr.SiS_Part2Port
145 #define SISPART3 ivideo->SiS_Pr.SiS_Part3Port
146 #define SISPART4 ivideo->SiS_Pr.SiS_Part4Port
147 #define SISPART5 ivideo->SiS_Pr.SiS_Part5Port
150 #define SISMISCR (ivideo->SiS_Pr.RelIO + 0x1c)
[all …]
H A Dvstruct.h236 void *ivideo; member