Searched refs:DisplayUnit (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dinit.c576 USHORT temp, DisplayUnit, infoflag; local in function:XGI_New_SetCRT1Offset
580 DisplayUnit = XGI_New_GetOffset(XGI_Pr,ModeNo,ModeIdIndex,
583 temp = (DisplayUnit >> 8) & 0x0f;
586 temp = DisplayUnit & 0xFF;
589 if(infoflag & InterlaceMode) DisplayUnit >>= 1;
591 DisplayUnit <<= 5;
592 temp = (DisplayUnit & 0xff00) >> 8;
593 if(DisplayUnit & 0xff) temp++;
H A Dvb_setmode.c2544 USHORT temp, ah, al, temp2, i, DisplayUnit; local in function:XGI_SetCRT1Offset
2588 DisplayUnit = temp;
2605 DisplayUnit >>= 1;
2607 DisplayUnit = DisplayUnit << 5;
2608 ah = (DisplayUnit & 0xff00) >> 8;
2609 al = DisplayUnit & 0x00ff;
/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dinit.c2154 unsigned short temp, DisplayUnit, infoflag; local in function:SiS_SetCRT1Offset
2162 DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI);
2164 temp = (DisplayUnit >> 8) & 0x0f;
2167 SiS_SetReg(SiS_Pr->SiS_P3d4,0x13,DisplayUnit & 0xFF);
2169 if(infoflag & InterlaceMode) DisplayUnit >>= 1;
2171 DisplayUnit <<= 5;
2172 temp = (DisplayUnit >> 8) + 1;
2173 if(DisplayUnit & 0xff) temp++;

Completed in 17 milliseconds