Lines Matching refs:in_width
2301 u16 in_width, in_height; in dispc_ovl_calc_scaling_24xx() local
2309 in_width = width / *decim_x; in dispc_ovl_calc_scaling_24xx()
2310 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2312 error = (in_width > maxsinglelinewidth || !*core_clk || in dispc_ovl_calc_scaling_24xx()
2331 if (in_width > maxsinglelinewidth) { in dispc_ovl_calc_scaling_24xx()
2350 u16 in_width, in_height; in dispc_ovl_calc_scaling_34xx() local
2355 in_width = width / *decim_x; in dispc_ovl_calc_scaling_34xx()
2358 if (in_width > maxsinglelinewidth) in dispc_ovl_calc_scaling_34xx()
2365 in_width, in_height, out_width, in dispc_ovl_calc_scaling_34xx()
2368 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_34xx()
2373 pos_x, in_width, in_height, out_width, in dispc_ovl_calc_scaling_34xx()
2380 error = (error || in_width > maxsinglelinewidth * 2 || in dispc_ovl_calc_scaling_34xx()
2381 (in_width > maxsinglelinewidth && *five_taps) || in dispc_ovl_calc_scaling_34xx()
2386 if (in_width / 4 > out_width) in dispc_ovl_calc_scaling_34xx()
2407 if (check_horiz_timing_omap3(pclk, lclk, vm, pos_x, in_width, in dispc_ovl_calc_scaling_34xx()
2413 if (in_width > (maxsinglelinewidth * 2)) { in dispc_ovl_calc_scaling_34xx()
2419 if (in_width > maxsinglelinewidth && *five_taps) { in dispc_ovl_calc_scaling_34xx()
2437 u16 in_width, in_width_max; in dispc_ovl_calc_scaling_44xx() local
2457 in_width = width / *decim_x; in dispc_ovl_calc_scaling_44xx()
2459 in_width > maxsinglelinewidth && ++*decim_x); in dispc_ovl_calc_scaling_44xx()
2461 if (in_width > maxsinglelinewidth) { in dispc_ovl_calc_scaling_44xx()
2485 *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in_height, in dispc_ovl_calc_scaling_44xx()
2626 u16 in_width = width; in dispc_ovl_setup_common() local
2642 if (info->is_yuv && (in_width & 1)) { in dispc_ovl_setup_common()
2643 DSSERR("input width %d is not even for YUV format\n", in_width); in dispc_ovl_setup_common()
2668 r = dispc_ovl_calc_scaling(dispc, plane, pclk, lclk, caps, vm, in_width, in dispc_ovl_setup_common()
2675 in_width = in_width / x_predecim; in dispc_ovl_setup_common()
2680 x_predecim, y_predecim, in_width, in_height); in dispc_ovl_setup_common()
2682 if (info->is_yuv && (in_width & 1)) { in dispc_ovl_setup_common()
2685 in_width, in_width & ~1); in dispc_ovl_setup_common()
2687 in_width &= ~1; in dispc_ovl_setup_common()
2719 frame_width = in_width; in dispc_ovl_setup_common()
2751 DSSDBG("%d,%d %dx%d -> %dx%d\n", pos_x, pos_y, in_width, in dispc_ovl_setup_common()
2756 dispc_ovl_set_input_size(dispc, plane, in_width, in_height); in dispc_ovl_setup_common()
2759 dispc_ovl_set_scaling(dispc, plane, in_width, in_height, in dispc_ovl_setup_common()
2821 int in_width = vm->hactive; in dispc_wb_setup() local
2830 "rot %d\n", wi->paddr, wi->p_uv_addr, in_width, in dispc_wb_setup()
2834 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, in dispc_wb_setup()