Lines Matching defs:xres
741 unsigned short DDCdatatype, paneltype, adapternum, flag, xres=0, yres=0;
853 if(prefx) SiS_Pr->CP_PreferredX = xres = prefx;
863 if(!xres) SiS_Pr->CP_PreferredX = xres = buffer[0x38] | ((buffer[0x3a] & 0xf0) << 4);
866 switch(xres) {
1012 xres = buffer[base+2] | ((buffer[base+4] & 0xf0) << 4);
1015 SiS_Pr->CP_HDisplay[i] = xres;
1016 SiS_Pr->CP_HSyncStart[i] = xres + (buffer[base+8] | ((buffer[base+11] & 0xc0) << 2));
1018 SiS_Pr->CP_HTotal[i] = xres + (buffer[base+3] | ((buffer[base+4] & 0x0f) << 8));
1019 SiS_Pr->CP_HBlankStart[i] = xres + 1;
1060 if(xres > SiS_Pr->CP_MaxX) SiS_Pr->CP_MaxX = xres;
1064 if((SiS_Pr->CP_PreferredX == xres) && (SiS_Pr->CP_PreferredY == yres)) {
1156 SiS_Pr->CP_MaxX = SiS_Pr->CP_PreferredX = xres = buffer[0x76] | (buffer[0x77] << 8);
1159 switch(xres) {
1229 seekcode = (xres - 256) / 16;
1269 xres = buffer[index+2] | ((buffer[index+4] & 0xf0) << 4);
1272 SiS_Pr->CP_HDisplay[i] = xres;
1273 SiS_Pr->CP_HSyncStart[i] = xres + (buffer[index+8] | ((buffer[index+11] & 0xc0) << 2));
1275 SiS_Pr->CP_HTotal[i] = xres + (buffer[index+3] | ((buffer[index+4] & 0x0f) << 8));
1276 SiS_Pr->CP_HBlankStart[i] = xres + 1;
1318 if((SiS_Pr->CP_PreferredX == xres) && (SiS_Pr->CP_PreferredY == yres)) {