Lines Matching refs:dsp_ctrl
1353 static void vop2_dither_setup(struct drm_crtc *crtc, u32 *dsp_ctrl)
1359 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN;
1364 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN;
1365 *dsp_ctrl |= RGB888_TO_RGB666;
1369 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN;
1376 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN;
1378 *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL,
1533 u32 dsp_ctrl = 0;
1580 dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__OUT_MODE, out_mode);
1583 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_RB_SWAP;
1586 dsp_ctrl |= RK3568_VP_DSP_CTRL__POST_DSP_OUT_R2Y;
1588 vop2_dither_setup(crtc, &dsp_ctrl);
1608 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_INTERLACE;
1609 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_FILED_POL;
1610 dsp_ctrl |= RK3568_VP_DSP_CTRL__P2I_EN;
1623 dsp_ctrl |= RK3568_VP_DSP_CTRL__CORE_DCLK_DIV;
1635 vop2_vp_write(vp, RK3568_VP_DSP_CTRL, dsp_ctrl);