Lines Matching refs:yres
741 unsigned short DDCdatatype, paneltype, adapternum, flag, xres=0, yres=0;
854 if(prefy) SiS_Pr->CP_PreferredY = yres = prefy;
864 if(!yres) SiS_Pr->CP_PreferredY = yres = buffer[0x3b] | ((buffer[0x3d] & 0xf0) << 4);
868 if(yres == 768) {
874 if(yres == 1024) {
877 } else if(yres == 960) {
879 } else if(yres == 768) {
887 } else if(yres == 800) {
897 if(yres == 1050) {
905 if(yres == 1200) {
1013 yres = buffer[base+5] | ((buffer[base+7] & 0xf0) << 4);
1022 SiS_Pr->CP_VDisplay[i] = yres;
1023 SiS_Pr->CP_VSyncStart[i] = yres + (((buffer[base+10] & 0xf0) >> 4) | ((buffer[base+11] & 0x0c) << 2));
1025 SiS_Pr->CP_VTotal[i] = yres + (buffer[base+6] | ((buffer[base+7] & 0x0f) << 8));
1026 SiS_Pr->CP_VBlankStart[i] = yres + 1;
1061 if(yres > SiS_Pr->CP_MaxY) SiS_Pr->CP_MaxY = yres;
1064 if((SiS_Pr->CP_PreferredX == xres) && (SiS_Pr->CP_PreferredY == yres)) {
1157 SiS_Pr->CP_MaxY = SiS_Pr->CP_PreferredY = yres = buffer[0x78] | (buffer[0x79] << 8);
1161 if(yres == 768) {
1167 if(yres == 960) {
1169 } else if(yres == 1024) {
1177 if(yres == 1050) {
1270 yres = buffer[index+5] | ((buffer[index+7] & 0xf0) << 4);
1279 SiS_Pr->CP_VDisplay[i] = yres;
1280 SiS_Pr->CP_VSyncStart[i] = yres + (((buffer[index+10] & 0xf0) >> 4) | ((buffer[index+11] & 0x0c) << 2));
1282 SiS_Pr->CP_VTotal[i] = yres + (buffer[index+6] | ((buffer[index+7] & 0x0f) << 8));
1283 SiS_Pr->CP_VBlankStart[i] = yres + 1;
1318 if((SiS_Pr->CP_PreferredX == xres) && (SiS_Pr->CP_PreferredY == yres)) {