Lines Matching refs:templ
2392 unsigned int templ, datal;
2439 templ = SiS_CalcDelay2(SiS_Pr, queuedata[i]) * VCLK * colorth;
2441 datal = templ % MCLK16;
2442 templ = (templ / MCLK16) + 1;
2443 if(datal) templ++;
2445 if(templ > 0x13) {
2452 ThresholdLow = templ;
2481 templ = sisfb_read_nbridge_pci_dword(SiS_Pr, 0x50);
2483 templ = pciReadLong(0x00000000, 0x50);
2488 templ &= 0xfffff9ff;
2489 templ |= ((queuedata[i] & 0xc0) << 3);
2493 templ &= 0xf0ffffff;
2497 templ |= 0x0b000000;
2499 templ |= ((queuedata[i] & 0xf0) << 20);
2505 sisfb_write_nbridge_pci_dword(SiS_Pr, 0x50, templ);
2506 templ = sisfb_read_nbridge_pci_dword(SiS_Pr, 0xA0);
2508 pciWriteLong(0x00000000, 0x50, templ);
2509 templ = pciReadLong(0x00000000, 0xA0);
2515 templ &= 0x00ffffff;
2517 templ |= (((datal & 0x0f00) | ((datal & 0x3000) >> 8)) << 20);
2521 templ &= 0xf0ffffff;
2522 templ |= ((queuedata[i] & 0x0f) << 24);
2527 sisfb_write_nbridge_pci_dword(SiS_Pr, 0xA0, templ);
2529 pciWriteLong(0x00000000, 0xA0, templ);