Lines Matching refs:src_w
106 u32 src_w, src_h, dst_w, dst_h; in sun8i_vi_layer_update_coord() local
120 src_w = drm_rect_width(&state->src) >> 16; in sun8i_vi_layer_update_coord()
134 src_w = (src_w + remainder) & ~mask; in sun8i_vi_layer_update_coord()
147 insize = SUN8I_MIXER_SIZE(src_w, src_h); in sun8i_vi_layer_update_coord()
154 DRM_DEBUG_DRIVER("Layer source size W: %d H: %d\n", src_w, src_h); in sun8i_vi_layer_update_coord()
181 do_div(ability, mode->vdisplay * fps * max(src_w, dst_w)); in sun8i_vi_layer_update_coord()
195 if (src_w > scanline) { in sun8i_vi_layer_update_coord()
197 hm = src_w; in sun8i_vi_layer_update_coord()
199 src_w = hn; in sun8i_vi_layer_update_coord()
202 hscale = (src_w << 16) / dst_w; in sun8i_vi_layer_update_coord()
205 sun8i_vi_scaler_setup(mixer, channel, src_w, src_h, dst_w, in sun8i_vi_layer_update_coord()