Home
last modified time | relevance | path

Searched refs:scaled_width (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/i915/
Dintel_panel.c80 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; in intel_pch_panel_fitting() local
82 if (scaled_width > scaled_height) { /* pillar */ in intel_pch_panel_fitting()
89 } else if (scaled_width < scaled_height) { /* letter */ in intel_pch_panel_fitting()
90 height = scaled_width / mode->hdisplay; in intel_pch_panel_fitting()
Dintel_lvds.c306 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; in intel_lvds_mode_fixup() local
310 if (scaled_width > scaled_height) in intel_lvds_mode_fixup()
312 else if (scaled_width < scaled_height) in intel_lvds_mode_fixup()
317 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; in intel_lvds_mode_fixup() local
324 if (scaled_width > scaled_height) { /* pillar */ in intel_lvds_mode_fixup()
336 } else if (scaled_width < scaled_height) { /* letter */ in intel_lvds_mode_fixup()
337 centre_vertically(adjusted_mode, scaled_width / mode->hdisplay); in intel_lvds_mode_fixup()
/drivers/video/mbx/
Dmbxfb.c342 if (set->scaled_width==0 || set->scaled_height==0) in mbxfb_setupOverlay()
431 sssize = Sssize_Sc_Width(set->scaled_width-1) | in mbxfb_setupOverlay()
440 if (set->scaled_width == set->width) in mbxfb_setupOverlay()
446 shctrl |= Shctrl_Hpitch((set->width<<11)/set->scaled_width); in mbxfb_setupOverlay()