Lines Matching refs:htotal
205 unsigned int hdisplay, hsyncstart, hsyncend, htotal;
212 htotal = mode->htotal / 8 - 1;
215 if ((htotal & 0x07) == 0x06 || (htotal & 0x07) == 0x04)
216 htotal++;
235 crtcext1 = (((htotal - 4) & 0x100) >> 8) |
238 (htotal & 0x40);
250 WREG_CRT(0, htotal - 4);
253 WREG_CRT(3, (htotal & 0x1F) | 0x80);
255 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F));
561 (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) {
766 if (!mode->htotal || !mode->vtotal || !mode->clock)
770 total_area = mode->htotal * mode->vtotal;