• Home
  • Raw
  • Download

Lines Matching refs:ivideo

88 SiS300Sync(struct sis_video_info *ivideo)  in SiS300Sync()  argument
94 SiS300SetupForScreenToScreenCopy(struct sis_video_info *ivideo, int xdir, int ydir, in SiS300SetupForScreenToScreenCopy() argument
97 SiS300SetupDSTColorDepth(ivideo->DstColor); in SiS300SetupForScreenToScreenCopy()
98 SiS300SetupSRCPitch(ivideo->video_linelength) in SiS300SetupForScreenToScreenCopy()
99 SiS300SetupDSTRect(ivideo->video_linelength, 0xffff) in SiS300SetupForScreenToScreenCopy()
117 SiS300SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, in SiS300SubsequentScreenToScreenCopy() argument
123 srcbase = ivideo->video_linelength * src_y; in SiS300SubsequentScreenToScreenCopy()
127 dstbase = ivideo->video_linelength * dst_y; in SiS300SubsequentScreenToScreenCopy()
134 if(!(ivideo->CommandReg & X_INC)) { in SiS300SubsequentScreenToScreenCopy()
138 if(!(ivideo->CommandReg & Y_INC)) { in SiS300SubsequentScreenToScreenCopy()
149 SiS300SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS300SetupForSolidFill() argument
152 SiS300SetupDSTRect(ivideo->video_linelength, 0xffff) in SiS300SetupForSolidFill()
153 SiS300SetupDSTColorDepth(ivideo->DstColor); in SiS300SetupForSolidFill()
159 SiS300SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h) in SiS300SubsequentSolidFillRect() argument
164 dstbase = ivideo->video_linelength * y; in SiS300SubsequentSolidFillRect()
179 SiS310Sync(struct sis_video_info *ivideo) in SiS310Sync() argument
185 SiS310SetupForScreenToScreenCopy(struct sis_video_info *ivideo, int rop, int trans_color) in SiS310SetupForScreenToScreenCopy() argument
187 SiS310SetupDSTColorDepth(ivideo->DstColor); in SiS310SetupForScreenToScreenCopy()
188 SiS310SetupSRCPitch(ivideo->video_linelength) in SiS310SetupForScreenToScreenCopy()
189 SiS310SetupDSTRect(ivideo->video_linelength, 0x0fff) in SiS310SetupForScreenToScreenCopy()
199 SiS310SetupCMDFlag(ivideo->SiS310_AccelDepth) in SiS310SetupForScreenToScreenCopy()
204 SiS310SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, in SiS310SubsequentScreenToScreenCopy() argument
223 srcbase = ivideo->video_linelength * mymin; in SiS310SubsequentScreenToScreenCopy()
224 dstbase = ivideo->video_linelength * mymin; in SiS310SubsequentScreenToScreenCopy()
230 srcbase = ivideo->video_linelength * src_y; in SiS310SubsequentScreenToScreenCopy()
234 dstbase = ivideo->video_linelength * dst_y; in SiS310SubsequentScreenToScreenCopy()
239 srcbase += ivideo->video_offset; in SiS310SubsequentScreenToScreenCopy()
240 dstbase += ivideo->video_offset; in SiS310SubsequentScreenToScreenCopy()
251 SiS310SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS310SetupForSolidFill() argument
254 SiS310SetupDSTRect(ivideo->video_linelength, 0x0fff) in SiS310SetupForSolidFill()
255 SiS310SetupDSTColorDepth(ivideo->DstColor); in SiS310SetupForSolidFill()
257 SiS310SetupCMDFlag(PATFG | ivideo->SiS310_AccelDepth) in SiS310SetupForSolidFill()
261 SiS310SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h) in SiS310SubsequentSolidFillRect() argument
266 dstbase = ivideo->video_linelength * y; in SiS310SubsequentSolidFillRect()
269 dstbase += ivideo->video_offset; in SiS310SubsequentSolidFillRect()
282 int sisfb_initaccel(struct sis_video_info *ivideo) in sisfb_initaccel() argument
285 spin_lock_init(&ivideo->lockaccel); in sisfb_initaccel()
290 void sisfb_syncaccel(struct sis_video_info *ivideo) in sisfb_syncaccel() argument
292 if(ivideo->sisvga_engine == SIS_300_VGA) { in sisfb_syncaccel()
294 SiS300Sync(ivideo); in sisfb_syncaccel()
298 SiS310Sync(ivideo); in sisfb_syncaccel()
305 struct sis_video_info *ivideo = (struct sis_video_info *)info->par; in fbcon_sis_sync() local
308 if((!ivideo->accel) || (!ivideo->engineok)) in fbcon_sis_sync()
312 sisfb_syncaccel(ivideo); in fbcon_sis_sync()
320 struct sis_video_info *ivideo = (struct sis_video_info *)info->par; in fbcon_sis_fillrect() local
330 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_fillrect()
350 if(ivideo->sisvga_engine == SIS_300_VGA) { in fbcon_sis_fillrect()
353 SiS300SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
354 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
360 SiS310SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
361 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
366 sisfb_syncaccel(ivideo); in fbcon_sis_fillrect()
371 struct sis_video_info *ivideo = (struct sis_video_info *)info->par; in fbcon_sis_copyarea() local
381 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_copyarea()
397 if(ivideo->sisvga_engine == SIS_300_VGA) { in fbcon_sis_copyarea()
407 SiS300SetupForScreenToScreenCopy(ivideo, xdir, ydir, 3, -1); in fbcon_sis_copyarea()
408 SiS300SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
415 SiS310SetupForScreenToScreenCopy(ivideo, 3, -1); in fbcon_sis_copyarea()
416 SiS310SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
422 sisfb_syncaccel(ivideo); in fbcon_sis_copyarea()