Lines Matching refs:dsp_ctrl
1345 static void vop2_dither_setup(struct drm_crtc *crtc, u32 *dsp_ctrl) in vop2_dither_setup() argument
1351 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1356 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1357 *dsp_ctrl |= RGB888_TO_RGB666; in vop2_dither_setup()
1361 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1368 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1370 *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL, in vop2_dither_setup()
1523 u32 dsp_ctrl = 0; in vop2_crtc_atomic_enable() local
1570 dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__OUT_MODE, out_mode); in vop2_crtc_atomic_enable()
1573 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_RB_SWAP; in vop2_crtc_atomic_enable()
1576 dsp_ctrl |= RK3568_VP_DSP_CTRL__POST_DSP_OUT_R2Y; in vop2_crtc_atomic_enable()
1578 vop2_dither_setup(crtc, &dsp_ctrl); in vop2_crtc_atomic_enable()
1598 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_INTERLACE; in vop2_crtc_atomic_enable()
1599 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_FILED_POL; in vop2_crtc_atomic_enable()
1600 dsp_ctrl |= RK3568_VP_DSP_CTRL__P2I_EN; in vop2_crtc_atomic_enable()
1613 dsp_ctrl |= RK3568_VP_DSP_CTRL__CORE_DCLK_DIV; in vop2_crtc_atomic_enable()
1625 vop2_vp_write(vp, RK3568_VP_DSP_CTRL, dsp_ctrl); in vop2_crtc_atomic_enable()