Lines Matching refs:dsp_ctrl
1485 static void vop2_dither_setup(struct drm_crtc *crtc, u32 *dsp_ctrl) in vop2_dither_setup() argument
1491 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1496 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1497 *dsp_ctrl |= RGB888_TO_RGB666; in vop2_dither_setup()
1501 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1508 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1510 *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL, in vop2_dither_setup()
1942 u32 dsp_ctrl = 0; in vop2_crtc_atomic_enable() local
2001 dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__OUT_MODE, out_mode); in vop2_crtc_atomic_enable()
2004 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_RB_SWAP; in vop2_crtc_atomic_enable()
2006 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_RG_SWAP; in vop2_crtc_atomic_enable()
2009 dsp_ctrl |= RK3568_VP_DSP_CTRL__POST_DSP_OUT_R2Y; in vop2_crtc_atomic_enable()
2011 vop2_dither_setup(crtc, &dsp_ctrl); in vop2_crtc_atomic_enable()
2031 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_INTERLACE; in vop2_crtc_atomic_enable()
2032 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_FILED_POL; in vop2_crtc_atomic_enable()
2033 dsp_ctrl |= RK3568_VP_DSP_CTRL__P2I_EN; in vop2_crtc_atomic_enable()
2046 dsp_ctrl |= RK3568_VP_DSP_CTRL__CORE_DCLK_DIV; in vop2_crtc_atomic_enable()
2058 vop2_vp_write(vp, RK3568_VP_DSP_CTRL, dsp_ctrl); in vop2_crtc_atomic_enable()