Lines Matching defs:idx1
2212 SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1,
2222 (*idx1) = (unsigned short)(SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6) & 0x03;
2223 (*idx1) |= (unsigned short)(((SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) >> 4) & 0x0c));
2224 (*idx1) <<= 1;
2228 SiS_GetFIFOThresholdA300(unsigned short idx1, unsigned short idx2)
2236 return (unsigned short)((ThLowA[idx1 + 1] * idx2) + ThLowA[idx1]);
2240 SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2)
2248 return (unsigned short)((ThLowB[idx1 + 1] * idx2) + ThLowB[idx1]);
2255 unsigned short idx1, idx2;
2258 SiS_GetFIFOThresholdIndex300(SiS_Pr, &idx1, &idx2);
2261 longtemp *= SiS_GetFIFOThresholdA300(idx1, idx2);
2263 longtemp *= SiS_GetFIFOThresholdB300(idx1, idx2);
2265 idx1 = longtemp % (MCLK * 16);
2267 if(idx1) longtemp++;