Lines Matching refs:width

80 		u16 width, u16 height, u16 out_width, u16 out_height,
85 u16 width, u16 height, u16 out_width, u16 out_height,
758 static void dispc_ovl_set_input_size(enum omap_plane plane, int width, in dispc_ovl_set_input_size() argument
761 u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); in dispc_ovl_set_input_size()
769 static void dispc_ovl_set_output_size(enum omap_plane plane, int width, in dispc_ovl_set_output_size() argument
776 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); in dispc_ovl_set_output_size()
1128 static void dispc_mgr_set_size(enum omap_channel channel, u16 width, in dispc_mgr_set_size() argument
1134 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1822 u16 width, u16 height, in calc_vrfb_rotation_offset() argument
1848 width, height); in calc_vrfb_rotation_offset()
1863 width = width >> 1; in calc_vrfb_rotation_offset()
1873 (y_predecim * screen_width - x_predecim * width) + in calc_vrfb_rotation_offset()
1885 width = width >> 1; in calc_vrfb_rotation_offset()
1894 (y_predecim * screen_width + x_predecim * width) - in calc_vrfb_rotation_offset()
1907 u16 width, u16 height, in calc_dma_rotation_offset() argument
1930 width, height); in calc_dma_rotation_offset()
1935 fbw = width; in calc_dma_rotation_offset()
1939 fbh = width; in calc_dma_rotation_offset()
2061 static void calc_tiler_rotation_offset(u16 screen_width, u16 width, in calc_tiler_rotation_offset() argument
2080 DSSDBG("scrw %d, width %d\n", screen_width, width); in calc_tiler_rotation_offset()
2091 *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) + in calc_tiler_rotation_offset()
2106 u16 width, u16 height, u16 out_width, u16 out_height, in check_horiz_timing_omap3() argument
2120 if (out_width < width) in check_horiz_timing_omap3()
2138 val, max(0, ds - 2) * width); in check_horiz_timing_omap3()
2139 if (val < max(0, ds - 2) * width) in check_horiz_timing_omap3()
2149 val, max(0, ds - 1) * width); in check_horiz_timing_omap3()
2150 if (val < max(0, ds - 1) * width) in check_horiz_timing_omap3()
2157 const struct omap_video_timings *mgr_timings, u16 width, in calc_core_clk_five_taps() argument
2164 if (height <= out_height && width <= out_width) in calc_core_clk_five_taps()
2184 if (width > out_width) { in calc_core_clk_five_taps()
2185 tmp = (u64)pclk * width; in calc_core_clk_five_taps()
2196 static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, in calc_core_clk_24xx() argument
2199 if (height > out_height && width > out_width) in calc_core_clk_24xx()
2205 static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, in calc_core_clk_34xx() argument
2215 if (width > 3 * out_width) in calc_core_clk_34xx()
2217 else if (width > 2 * out_width) in calc_core_clk_34xx()
2219 else if (width > out_width) in calc_core_clk_34xx()
2231 static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, in calc_core_clk_44xx() argument
2243 if (width > out_width) in calc_core_clk_44xx()
2244 return DIV_ROUND_UP(pclk, out_width) * width; in calc_core_clk_44xx()
2251 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_24xx() argument
2266 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2297 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_34xx() argument
2309 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2382 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling_44xx() argument
2401 *decim_x = DIV_ROUND_UP(width, in_width_max); in dispc_ovl_calc_scaling_44xx()
2408 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2428 u16 width, u16 height, u16 out_width, u16 out_height, in dispc_ovl_calc_scaling() argument
2438 if (width == out_width && height == out_height) in dispc_ovl_calc_scaling()
2468 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); in dispc_ovl_calc_scaling()
2471 if (decim_x > *x_predecim || out_width > width * 8) in dispc_ovl_calc_scaling()
2477 ret = dispc.feat->calc_scaling(pclk, lclk, mgr_timings, width, height, in dispc_ovl_calc_scaling()
2485 width, height, in dispc_ovl_calc_scaling()
2487 out_width / width, DIV_FRAC(out_width, width), in dispc_ovl_calc_scaling()
2491 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2492 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), in dispc_ovl_calc_scaling()
2520 u16 in_width = oi->width; in dispc_ovl_check()
2527 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2554 u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, in dispc_ovl_setup_common() argument
2570 u16 in_width = width; in dispc_ovl_setup_common()
2594 out_width = out_width == 0 ? width : out_width; in dispc_ovl_setup_common()
2760 oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, in dispc_ovl_setup()
2764 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, in dispc_ovl_setup()
2790 in_height, wi->width, wi->height, wi->color_mode, wi->rotation, in dispc_wb_setup()
2794 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, in dispc_wb_setup()
3028 static bool _dispc_mgr_size_ok(u16 width, u16 height) in _dispc_mgr_size_ok() argument
3030 return width <= dispc.feat->mgr_width_max && in _dispc_mgr_size_ok()