Lines Matching refs:i

512 	int i;  in intel_atomic_setup_scalers()  local
537 for (i = 0; i < sizeof(scaler_state->scaler_users) * 8; i++) { in intel_atomic_setup_scalers()
544 if (!(scaler_state->scaler_users & (1 << i))) in intel_atomic_setup_scalers()
547 if (i == SKL_CRTC_INDEX) { in intel_atomic_setup_scalers()
558 plane = drm_state->planes[i].ptr; in intel_atomic_setup_scalers()
575 plane = drm_plane_from_index(&dev_priv->drm, i); in intel_atomic_setup_scalers()
608 static int glk_coef_tap(int i) in glk_coef_tap() argument
610 return i % 7; in glk_coef_tap()
658 int i; in glk_program_nearest_filter_coefs() local
663 for (i = 0; i < 17 * 7; i += 2) { in glk_program_nearest_filter_coefs()
667 t = glk_coef_tap(i); in glk_program_nearest_filter_coefs()
670 t = glk_coef_tap(i + 1); in glk_program_nearest_filter_coefs()
842 int i; in skl_detach_scalers() local
845 for (i = 0; i < crtc->num_scalers; i++) { in skl_detach_scalers()
846 if (!scaler_state->scalers[i].in_use) in skl_detach_scalers()
847 skl_detach_scaler(crtc, i); in skl_detach_scalers()
854 int i; in skl_scaler_disable() local
856 for (i = 0; i < crtc->num_scalers; i++) in skl_scaler_disable()
857 skl_detach_scaler(crtc, i); in skl_scaler_disable()
866 int i; in skl_scaler_get_config() local
869 for (i = 0; i < crtc->num_scalers; i++) { in skl_scaler_get_config()
872 ctl = intel_de_read(dev_priv, SKL_PS_CTRL(crtc->pipe, i)); in skl_scaler_get_config()
876 id = i; in skl_scaler_get_config()
879 pos = intel_de_read(dev_priv, SKL_PS_WIN_POS(crtc->pipe, i)); in skl_scaler_get_config()
880 size = intel_de_read(dev_priv, SKL_PS_WIN_SZ(crtc->pipe, i)); in skl_scaler_get_config()
888 scaler_state->scalers[i].in_use = true; in skl_scaler_get_config()