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