Lines Matching refs:hdisplay
207 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes()
219 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes()
237 int hdisplay; in nv17_tv_get_hd_modes() member
253 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes()
257 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes()
263 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes()
270 if (output_mode->hdisplay <= 720 in nv17_tv_get_hd_modes()
271 || output_mode->hdisplay >= 1920) { in nv17_tv_get_hd_modes()
273 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes()
274 - mode->hdisplay) * 9 / 10) & ~7; in nv17_tv_get_hd_modes()
315 if (mode->hdisplay > output_mode->hdisplay || in nv17_tv_mode_valid()
533 regs->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv17_tv_mode_set()
538 regs->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay + in nv17_tv_mode_set()
539 max((output_mode->hdisplay-600)/40 - 1, 1); in nv17_tv_mode_set()