Lines Matching refs:htotal
887 int hdisplay, hsyncstart, hsyncend, htotal; in mga_crtc_mode_set() local
1013 htotal = mode->htotal / 8 - 1; in mga_crtc_mode_set()
1016 if ((htotal & 0x07) == 0x06 || (htotal & 0x07) == 0x04) in mga_crtc_mode_set()
1017 htotal++; in mga_crtc_mode_set()
1034 WREG_CRT(0, htotal - 4); in mga_crtc_mode_set()
1037 WREG_CRT(3, (htotal & 0x1F) | 0x80); in mga_crtc_mode_set()
1039 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); in mga_crtc_mode_set()
1073 ext_vga[1] = (((htotal - 4) & 0x100) >> 8) | in mga_crtc_mode_set()
1076 (htotal & 0x40); in mga_crtc_mode_set()
1572 if (!mode->htotal || !mode->vtotal || !mode->clock) in mga_vga_calculate_mode_bandwidth()
1576 total_area = mode->htotal * mode->vtotal; in mga_vga_calculate_mode_bandwidth()
1637 (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) { in mga_vga_mode_valid()