static void vdic_stop_indirect(struct vdic_priv *priv) { /* disable channels */ ipu_idmac_disable_channel(priv->vdi_in_ch_p); ipu_idmac_disable_channel(priv->vdi_in_ch); ipu_idmac_disable_channel(priv->vdi_in_ch_n); }
static void ipu_fb_disable(struct ipu_crtc *ipu_crtc) { if (!ipu_crtc->enabled) return; if (ipu_crtc->dp) ipu_dp_disable_channel(ipu_crtc->dp); ipu_dc_disable_channel(ipu_crtc->dc); ipu_idmac_disable_channel(ipu_crtc->ipu_ch); ipu_dmfc_disable_channel(ipu_crtc->dmfc); ipu_di_disable(ipu_crtc->di); ipu_crtc->enabled = 0; }