Lines Matching refs:hdisplay
236 if (mode->hdisplay > fixed_mode->hdisplay) in intel_lvds_mode_valid()
255 border = (mode->hdisplay - width + 1) / 2; in centre_horizontally()
355 if (adjusted_mode->hdisplay == mode->hdisplay && in intel_lvds_compute_config()
382 centre_horizontally(adjusted_mode, mode->hdisplay); in intel_lvds_compute_config()
390 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; in intel_lvds_compute_config()
391 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay; in intel_lvds_compute_config()
398 else if (adjusted_mode->hdisplay != mode->hdisplay) in intel_lvds_compute_config()
401 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; in intel_lvds_compute_config()
402 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay; in intel_lvds_compute_config()
421 centre_vertically(adjusted_mode, scaled_width / mode->hdisplay); in intel_lvds_compute_config()
424 if (mode->hdisplay != adjusted_mode->hdisplay) { in intel_lvds_compute_config()
425 u32 bits = panel_fitter_scaling(mode->hdisplay, adjusted_mode->hdisplay); in intel_lvds_compute_config()
447 mode->hdisplay != adjusted_mode->hdisplay) { in intel_lvds_compute_config()
900 if (scan->hdisplay == fixed_mode->hdisplay && in intel_find_lvds_downclock()