Lines Matching defs:temp
540 unsigned short temp, i, realcrtno = crtno;
554 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine,
556 if((!temp) || (temp == 0xffff)) {
563 (temp & 0x1a) ? "" : "[none of the supported]",
564 (temp & 0x02) ? "2 " : "",
565 (temp & 0x08) ? "D&P" : "",
566 (temp & 0x10) ? "FPDI-2" : "");
567 if(temp & 0x02) {
570 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine,
572 } while((temp) && i--);
573 if(!temp) {
781 u8 temp;
783 temp = SiS_GetReg(SISCR, 0x17);
784 if(!(temp & 0x80))
787 temp = SiS_GetReg(SISSR, 0x1f);
788 if(temp & 0xc0)
823 unsigned char temp, reg;
831 temp = SiS_GetReg(SISPART1, reg);
832 if(temp & 0x02)
2070 u8 cr32, temp;
2080 temp = SiS_GetReg(SISSR, 0x17);
2081 if((temp & 0x0F) && (ivideo->chip != SIS_300)) {
2084 temp = SiS_GetReg(SISSR, 0x16);
2085 if(temp & 0x20)
2170 temp = SiS_GetReg(SISSR, 0x38);
2171 if(temp & 0x01) ivideo->vbflags |= TV_PAL;
2174 temp = SiS_GetReg(SISSR, 0x38);
2175 if(temp & 0x01) ivideo->vbflags |= TV_PAL;
2178 temp = SiS_GetReg(SISCR, 0x79);
2179 if(temp & 0x20) ivideo->vbflags |= TV_PAL;
2212 u16 temp = 0xffff;
2252 if ((SiS_GetRegByte(SISMISCW)) & 0x10) temp = 1;
2258 if(temp == 0xffff) {
2261 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags,
2263 } while(((temp == 0) || (temp == 0xffff)) && i--);
2265 if((temp == 0) || (temp == 0xffff)) {
2266 if(sisfb_test_DDC1(ivideo)) temp = 1;
2270 if((temp) && (temp != 0xffff)) {
2289 unsigned short temp, realcrtno, i;
2311 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine,
2314 if((!temp) || (temp == 0xffff) || (!(temp & 0x02)))
2320 temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags,
2323 } while((temp) && i--);
2325 if(temp)
2375 int temp, mytest, result, i, j;
2382 temp = (type >> 8) | (mytest & 0x00ff);
2383 SiS_SetRegANDOR(SISPART4, 0x10, 0xe0, temp);
2387 temp = SiS_GetReg(SISPART4, 0x03);
2388 temp ^= 0x0e;
2389 temp &= mytest;
2390 if(temp == mytest) result++;
2849 u8 temp;
2854 temp = SIS_CMD_QUEUE_SIZE_Z7_64k;
2858 temp = SIS_CMD_QUEUE_SIZE_Z7_128k;
2863 temp = SIS_CMD_QUEUE_SIZE_4M;
2866 temp = SIS_CMD_QUEUE_SIZE_2M;
2869 temp = SIS_CMD_QUEUE_SIZE_1M;
2873 temp = SIS_CMD_QUEUE_SIZE_512k;
2890 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, (temp | SIS_VRAM_CMDQUEUE_ENABLE));
2915 temp |= (SIS_MMIO_CMD_ENABLE | SIS_CMD_AUTO_CORR);
2916 SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, temp);
3735 unsigned short temp;
3743 temp = p2_1f | ((p2_20 & 0xf0) << 4);
3744 temp += (val * 2);
3745 p2_1f = temp & 0xff;
3746 p2_20 = (temp & 0xf00) >> 4;
3748 temp = p2_43 | ((p2_42 & 0xf0) << 4);
3749 temp += (val * 2);
3750 p2_43 = temp & 0xff;
3751 p2_42 = (temp & 0xf00) >> 4;
4035 unsigned long temp = 2;
4036 temp = simple_strtoul(this_opt + 9, NULL, 0);
4037 if((temp == 0) || (temp == 1)) {
4038 sisfb_scalelcd = temp ^ 1;
4041 int temp = 0;
4042 temp = (int)simple_strtol(this_opt + 13, NULL, 0);
4043 if((temp >= -32) && (temp <= 32)) {
4044 sisfb_tvxposoffset = temp;
4047 int temp = 0;
4048 temp = (int)simple_strtol(this_opt + 13, NULL, 0);
4049 if((temp >= -32) && (temp <= 32)) {
4050 sisfb_tvyposoffset = temp;
4055 int temp = 4;
4056 temp = simple_strtoul(this_opt + 7, NULL, 0);
4057 if((temp >= 0) && (temp <= 3)) {
4058 sisfb_lvdshl = temp;
4138 u32 temp;
4140 for (temp = 0x000c0000; temp < 0x000f0000; temp += 0x00001000) {
4142 rom_base = ioremap(temp, 65536);
4194 unsigned short temp;
4204 temp = 0x1234;
4206 writew(temp, FBAddress);
4207 if(readw(FBAddress) == temp)
4215 temp++;
4585 unsigned short temp;
4589 temp = pdev->vendor;
4590 if(temp == pcivendor) {