Lines Matching refs:dsp_ctrl
1351 static void vop2_dither_setup(struct drm_crtc *crtc, u32 *dsp_ctrl) in vop2_dither_setup() argument
1357 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1362 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; in vop2_dither_setup()
1363 *dsp_ctrl |= RGB888_TO_RGB666; in vop2_dither_setup()
1367 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1374 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; in vop2_dither_setup()
1376 *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL, in vop2_dither_setup()
1531 u32 dsp_ctrl = 0; in vop2_crtc_atomic_enable() local
1578 dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__OUT_MODE, out_mode); in vop2_crtc_atomic_enable()
1581 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_RB_SWAP; in vop2_crtc_atomic_enable()
1584 dsp_ctrl |= RK3568_VP_DSP_CTRL__POST_DSP_OUT_R2Y; in vop2_crtc_atomic_enable()
1586 vop2_dither_setup(crtc, &dsp_ctrl); in vop2_crtc_atomic_enable()
1606 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_INTERLACE; in vop2_crtc_atomic_enable()
1607 dsp_ctrl |= RK3568_VP_DSP_CTRL__DSP_FILED_POL; in vop2_crtc_atomic_enable()
1608 dsp_ctrl |= RK3568_VP_DSP_CTRL__P2I_EN; in vop2_crtc_atomic_enable()
1621 dsp_ctrl |= RK3568_VP_DSP_CTRL__CORE_DCLK_DIV; in vop2_crtc_atomic_enable()
1633 vop2_vp_write(vp, RK3568_VP_DSP_CTRL, dsp_ctrl); in vop2_crtc_atomic_enable()