Lines Matching refs:width
79 u16 width, u16 height, u16 out_width, u16 out_height,
84 u16 width, u16 height, u16 out_width, u16 out_height,
754 static void dispc_ovl_set_input_size(enum omap_plane plane, int width, in dispc_ovl_set_input_size() argument
757 u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); in dispc_ovl_set_input_size()
765 static void dispc_ovl_set_output_size(enum omap_plane plane, int width, in dispc_ovl_set_output_size() argument
772 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); in dispc_ovl_set_output_size()
1124 static void dispc_mgr_set_size(enum omap_channel channel, u16 width, in dispc_mgr_set_size() argument
1130 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1809 u16 width, u16 height, in calc_vrfb_rotation_offset() argument
1835 width, height); in calc_vrfb_rotation_offset()
1850 width = width >> 1; in calc_vrfb_rotation_offset()
1860 (y_predecim * screen_width - x_predecim * width) + in calc_vrfb_rotation_offset()
1872 width = width >> 1; in calc_vrfb_rotation_offset()
1881 (y_predecim * screen_width + x_predecim * width) - in calc_vrfb_rotation_offset()
1894 u16 width, u16 height, in calc_dma_rotation_offset() argument
1917 width, height); in calc_dma_rotation_offset()
1922 fbw = width; in calc_dma_rotation_offset()
1926 fbh = width; in calc_dma_rotation_offset()
2048 static void calc_tiler_rotation_offset(u16 screen_width, u16 width, in calc_tiler_rotation_offset() argument
2067 DSSDBG("scrw %d, width %d\n", screen_width, width); in calc_tiler_rotation_offset()
2078 *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) + in calc_tiler_rotation_offset()
2093 u16 width, u16 height, u16 out_width, u16 out_height, in check_horiz_timing_omap3() argument
2107 if (out_width < width) in check_horiz_timing_omap3()
2125 val, max(0, ds - 2) * width); in check_horiz_timing_omap3()
2126 if (val < max(0, ds - 2) * width) in check_horiz_timing_omap3()
2136 val, max(0, ds - 1) * width); in check_horiz_timing_omap3()
2137 if (val < max(0, ds - 1) * width) in check_horiz_timing_omap3()
2144 const struct omap_video_timings *mgr_timings, u16 width, in calc_core_clk_five_taps() argument
2151 if (height <= out_height && width <= out_width) in calc_core_clk_five_taps()
2171 if (width > out_width) { in calc_core_clk_five_taps()
2172 tmp = pclk * width; in calc_core_clk_five_taps()
2183 static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, in calc_core_clk_24xx() argument
2186 if (height > out_height && width > out_width) in calc_core_clk_24xx()
2192 static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, in calc_core_clk_34xx() argument
2202 if (width > 3 * out_width) in calc_core_clk_34xx()
2204 else if (width > 2 * out_width) in calc_core_clk_34xx()
2206 else if (width > out_width) in calc_core_clk_34xx()
2218 static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, in calc_core_clk_44xx() argument
2230 if (width > out_width) in calc_core_clk_44xx()
2231 return DIV_ROUND_UP(pclk, out_width) * width; in calc_core_clk_44xx()
2238 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_24xx() argument
2253 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2279 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_34xx() argument
2292 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2332 if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, width, in dispc_ovl_calc_scaling_34xx()
2353 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_44xx() argument
2372 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2379 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2396 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling() argument
2406 if (width == out_width && height == out_height) in dispc_ovl_calc_scaling()
2436 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); in dispc_ovl_calc_scaling()
2439 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2445 ret = dispc.feat->calc_scaling(pclk, lclk, mgr_timings, width, height, in dispc_ovl_calc_scaling()
2477 u16 in_width = oi->width; in dispc_ovl_check()
2484 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2511 u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, in dispc_ovl_setup_common() argument
2527 u16 in_width = width; in dispc_ovl_setup_common()
2536 out_width = out_width == 0 ? width : out_width; in dispc_ovl_setup_common()
2678 oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, in dispc_ovl_setup()
2682 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, in dispc_ovl_setup()
2708 in_height, wi->width, wi->height, wi->color_mode, wi->rotation, in dispc_wb_setup()
2712 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, in dispc_wb_setup()
2946 static bool _dispc_mgr_size_ok(u16 width, u16 height) in _dispc_mgr_size_ok() argument
2948 return width <= dispc.feat->mgr_width_max && in _dispc_mgr_size_ok()