Lines Matching refs:pipe
69 int pipe) in rockchip_register_crtc_funcs() argument
73 if (pipe > ROCKCHIP_MAX_CRTC) in rockchip_register_crtc_funcs()
76 priv->crtc_funcs[pipe] = crtc_funcs; in rockchip_register_crtc_funcs()
82 void rockchip_unregister_crtc_funcs(struct drm_device *dev, int pipe) in rockchip_unregister_crtc_funcs() argument
86 if (pipe > ROCKCHIP_MAX_CRTC) in rockchip_unregister_crtc_funcs()
89 priv->crtc_funcs[pipe] = NULL; in rockchip_unregister_crtc_funcs()
94 int pipe) in rockchip_crtc_from_pipe() argument
100 if (i++ == pipe) in rockchip_crtc_from_pipe()
107 unsigned int pipe) in rockchip_drm_crtc_enable_vblank() argument
110 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_enable_vblank()
112 if (crtc && priv->crtc_funcs[pipe] && in rockchip_drm_crtc_enable_vblank()
113 priv->crtc_funcs[pipe]->enable_vblank) in rockchip_drm_crtc_enable_vblank()
114 return priv->crtc_funcs[pipe]->enable_vblank(crtc); in rockchip_drm_crtc_enable_vblank()
120 unsigned int pipe) in rockchip_drm_crtc_disable_vblank() argument
123 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_disable_vblank()
125 if (crtc && priv->crtc_funcs[pipe] && in rockchip_drm_crtc_disable_vblank()
126 priv->crtc_funcs[pipe]->enable_vblank) in rockchip_drm_crtc_disable_vblank()
127 priv->crtc_funcs[pipe]->disable_vblank(crtc); in rockchip_drm_crtc_disable_vblank()