Lines Matching refs:num_w
51 unsigned int num_w, num_h, denom_w, denom_h; member
514 upscaling_w = ipu_state->num_w > ipu_state->denom_w; in ingenic_ipu_plane_atomic_update()
518 if (ipu_state->num_w != 1 || ipu_state->denom_w != 1) { in ingenic_ipu_plane_atomic_update()
522 coef_index |= (ipu_state->num_w - 1) << 16; in ingenic_ipu_plane_atomic_update()
545 if (ipu_state->num_w != 1 || ipu_state->denom_w != 1) in ingenic_ipu_plane_atomic_update()
547 ipu_state->num_w, ipu_state->denom_w); in ingenic_ipu_plane_atomic_update()
563 ipu_state->num_w, ipu_state->denom_w, in ingenic_ipu_plane_atomic_update()
574 unsigned int num_w, denom_w, num_h, denom_h, xres, yres, max_w, max_h; in ingenic_ipu_plane_atomic_check() local
631 for (denom_w = xres, num_w = new_plane_state->crtc_w; num_w <= max_w; num_w++) in ingenic_ipu_plane_atomic_check()
632 if (!reduce_fraction(&num_w, &denom_w)) in ingenic_ipu_plane_atomic_check()
634 if (num_w > max_w) in ingenic_ipu_plane_atomic_check()
643 ipu_state->num_w = num_w; in ingenic_ipu_plane_atomic_check()