Lines Matching refs:hdisplay
43 adjusted_mode->hdisplay = fixed_mode->hdisplay;
71 if (adjusted_mode->hdisplay == mode->hdisplay &&
77 width = mode->hdisplay;
79 x = (adjusted_mode->hdisplay - width + 1)/2;
86 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
87 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
92 x = (adjusted_mode->hdisplay - width + 1) / 2;
96 height = scaled_width / mode->hdisplay;
101 width = adjusted_mode->hdisplay;
104 width = adjusted_mode->hdisplay;
112 width = adjusted_mode->hdisplay;
137 border = (mode->hdisplay - width + 1) / 2;
194 if (adjusted_mode->hdisplay == mode->hdisplay &&
207 centre_horizontally(adjusted_mode, mode->hdisplay);
214 u32 scaled_width = adjusted_mode->hdisplay *
216 u32 scaled_height = mode->hdisplay *
226 else if (adjusted_mode->hdisplay != mode->hdisplay)
229 u32 scaled_width = adjusted_mode->hdisplay *
231 u32 scaled_height = mode->hdisplay *
255 mode->hdisplay);
258 if (mode->hdisplay != adjusted_mode->hdisplay) {
259 u32 bits = panel_fitter_scaling(mode->hdisplay, adjusted_mode->hdisplay);
281 mode->hdisplay != adjusted_mode->hdisplay) {