Lines Matching defs:temp
190 unsigned short temp;
193 temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb) & 0xf0;
194 temp |= (value >> 4);
195 SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb, temp);
196 temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd) & 0xf0;
197 temp |= (value & 0x0f);
198 SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd, temp);
203 unsigned short temp;
206 temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb) & 0x0f;
207 temp |= (value & 0xf0);
208 SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb, temp);
209 temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd) & 0x0f;
210 temp |= (value << 4);
211 SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd, temp);
228 unsigned short temp = value >> 8;
230 temp &= 0x07;
231 temp |= (temp << 4);
232 SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x1d, temp);
322 unsigned short xres, temp, colordepth, infoflag;
329 temp = xres / 16;
332 temp <<= 1;
334 temp *= colordepth;
337 temp += (colordepth >> 1);
339 return temp;
462 unsigned short rrti, i, index, temp;
479 temp =
481 if (temp < SiS_Pr->SiS_ModeType)
514 unsigned short temp, i, j, modeflag;
539 temp = SiS_Pr->SiS_CRT1Table[index].CR[16] & 0xE0;
540 SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x0E, temp);
542 temp = ((SiS_Pr->SiS_CRT1Table[index].CR[16]) & 0x01) << 5;
544 temp |= 0x80;
545 SiS_SetRegANDOR(SiS_Pr, SiS_Pr->SiS_P3d4, 0x09, 0x5F, temp);
563 unsigned short temp;
565 temp = (du >> 8) & 0x0f;
566 SiS_SetRegANDOR(SiS_Pr, SiS_Pr->SiS_P3c4, 0x0E, 0xF0, temp);
574 temp = (du >> 8) & 0xff;
576 temp++;
577 temp++;
578 SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x10, temp);