Lines Matching refs:htotal
206 unsigned int hdisplay, hsyncstart, hsyncend, htotal;
213 htotal = mode->htotal / 8 - 1;
216 if ((htotal & 0x07) == 0x06 || (htotal & 0x07) == 0x04)
217 htotal++;
236 crtcext1 = (((htotal - 4) & 0x100) >> 8) |
239 (htotal & 0x40);
251 WREG_CRT(0, htotal - 4);
254 WREG_CRT(3, (htotal & 0x1F) | 0x80);
256 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F));
569 (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) {
780 if (!mode->htotal || !mode->vtotal || !mode->clock)
784 total_area = mode->htotal * mode->vtotal;