Home
last modified time | relevance | path

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

/drivers/video/fbdev/sis/
Dsis_main.c68 static void sisfb_handle_command(struct sis_video_info *ivideo,
345 static void sisfb_detect_custom_timing(struct sis_video_info *ivideo) in sisfb_detect_custom_timing() argument
353 if(ivideo->SiS_Pr.UseROM) { in sisfb_detect_custom_timing()
354 biosver = ivideo->SiS_Pr.VirtualRomBase + 0x06; in sisfb_detect_custom_timing()
355 biosdate = ivideo->SiS_Pr.VirtualRomBase + 0x2c; in sisfb_detect_custom_timing()
357 chksum += ivideo->SiS_Pr.VirtualRomBase[i]; in sisfb_detect_custom_timing()
362 if( (mycustomttable[i].chipID == ivideo->chip) && in sisfb_detect_custom_timing()
364 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
368 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
372 (ivideo->SiS_Pr.UseROM && in sisfb_detect_custom_timing()
[all …]
Dsis_accel.c88 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()
[all …]
Dsis_accel.h41 #define CRITBEGIN spin_lock_irqsave(&ivideo->lockaccel, critflags);
42 #define CRITEND spin_unlock_irqrestore(&ivideo->lockaccel, critflags);
140 #define CmdQueLen ivideo->cmdqueuelength
156 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
157 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
158 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \
159 CmdQueLen = MMIO_IN16(ivideo->mmio_vbase, 0x8240); \
165 MMIO_OUT32(ivideo->mmio_vbase, BR(0), base);\
170 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\
175 MMIO_OUT32(ivideo->mmio_vbase, BR(2), (x)<<16 | (y) );\
[all …]
Dsis.h152 #define SISSR ivideo->SiS_Pr.SiS_P3c4
153 #define SISCR ivideo->SiS_Pr.SiS_P3d4
154 #define SISDACA ivideo->SiS_Pr.SiS_P3c8
155 #define SISDACD ivideo->SiS_Pr.SiS_P3c9
156 #define SISPART1 ivideo->SiS_Pr.SiS_Part1Port
157 #define SISPART2 ivideo->SiS_Pr.SiS_Part2Port
158 #define SISPART3 ivideo->SiS_Pr.SiS_Part3Port
159 #define SISPART4 ivideo->SiS_Pr.SiS_Part4Port
160 #define SISPART5 ivideo->SiS_Pr.SiS_Part5Port
163 #define SISMISCR (ivideo->SiS_Pr.RelIO + 0x1c)
[all …]
Dsis_main.h690 extern int sisfb_initaccel(struct sis_video_info *ivideo);
691 extern void sisfb_syncaccel(struct sis_video_info *ivideo);
695 static int sisfb_validate_mode(struct sis_video_info *ivideo, int modeindex, u32 vbflags);
696 static u8 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate,
703 static void sisfb_pre_setmode(struct sis_video_info *ivideo);
704 static void sisfb_post_setmode(struct sis_video_info *ivideo);
705 static bool sisfb_CheckVBRetrace(struct sis_video_info *ivideo);
706 static bool sisfbcheckvretracecrt2(struct sis_video_info *ivideo);
707 static bool sisfbcheckvretracecrt1(struct sis_video_info *ivideo);
708 static bool sisfb_bridgeisslave(struct sis_video_info *ivideo);
[all …]
Dvstruct.h236 void *ivideo; member