Home
last modified time | relevance | path

Searched refs:DisplayUnit (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/video/sis/
Dinit.c2145 unsigned short temp, DisplayUnit, infoflag; in SiS_SetCRT1Offset() local
2153 DisplayUnit = SiS_GetOffset(SiS_Pr, ModeNo, ModeIdIndex, RRTI); in SiS_SetCRT1Offset()
2155 temp = (DisplayUnit >> 8) & 0x0f; in SiS_SetCRT1Offset()
2158 SiS_SetReg(SiS_Pr->SiS_P3d4,0x13,DisplayUnit & 0xFF); in SiS_SetCRT1Offset()
2160 if(infoflag & InterlaceMode) DisplayUnit >>= 1; in SiS_SetCRT1Offset()
2162 DisplayUnit <<= 5; in SiS_SetCRT1Offset()
2163 temp = (DisplayUnit >> 8) + 1; in SiS_SetCRT1Offset()
2164 if(DisplayUnit & 0xff) temp++; in SiS_SetCRT1Offset()
/linux-2.6.39/drivers/staging/xgifb/
Dvb_setmode.c1171 unsigned short temp, ah, al, temp2, i, DisplayUnit; in XGI_SetCRT1Offset() local
1215 DisplayUnit = temp; in XGI_SetCRT1Offset()
1232 DisplayUnit >>= 1; in XGI_SetCRT1Offset()
1234 DisplayUnit = DisplayUnit << 5; in XGI_SetCRT1Offset()
1235 ah = (DisplayUnit & 0xff00) >> 8; in XGI_SetCRT1Offset()
1236 al = DisplayUnit & 0x00ff; in XGI_SetCRT1Offset()