Searched refs:ddp_comp (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 54 struct mtk_ddp_comp **ddp_comp; member 103 clk_unprepare(mtk_crtc->ddp_comp[i]->clk); in mtk_drm_crtc_destroy() 175 struct mtk_ddp_comp *ovl = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_enable_vblank() 186 struct mtk_ddp_comp *ovl = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_disable_vblank() 198 ret = clk_enable(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_enable() 208 clk_disable(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_enable() 218 clk_disable(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_disable() 272 mtk_crtc->ddp_comp[i]->id, in mtk_crtc_ddp_hw_init() 273 mtk_crtc->ddp_comp[i + 1]->id); in mtk_crtc_ddp_hw_init() 275 mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_init() [all …]
|
D | mtk_disp_rdma.c | 48 struct mtk_ddp_comp ddp_comp; member 55 struct mtk_ddp_comp *rdma = &priv->ddp_comp; in mtk_disp_rdma_irq_handler() 81 ddp_comp); in mtk_rdma_enable_vblank() 91 ddp_comp); in mtk_rdma_disable_vblank() 146 ret = mtk_ddp_comp_register(drm_dev, &priv->ddp_comp); in mtk_disp_rdma_bind() 163 mtk_ddp_comp_unregister(drm_dev, &priv->ddp_comp); in mtk_disp_rdma_unbind() 193 ret = mtk_ddp_comp_init(dev, dev->of_node, &priv->ddp_comp, comp_id, in mtk_disp_rdma_probe() 201 writel(0x0, priv->ddp_comp.regs + DISP_REG_RDMA_INT_ENABLE); in mtk_disp_rdma_probe() 202 writel(0x0, priv->ddp_comp.regs + DISP_REG_RDMA_INT_STATUS); in mtk_disp_rdma_probe()
|
D | mtk_disp_ovl.c | 56 struct mtk_ddp_comp ddp_comp; member 63 struct mtk_ddp_comp *ovl = &priv->ddp_comp; in mtk_disp_ovl_irq_handler() 80 ddp_comp); in mtk_ovl_enable_vblank() 90 ddp_comp); in mtk_ovl_disable_vblank() 214 ret = mtk_ddp_comp_register(drm_dev, &priv->ddp_comp); in mtk_disp_ovl_bind() 230 mtk_ddp_comp_unregister(drm_dev, &priv->ddp_comp); in mtk_disp_ovl_unbind() 260 ret = mtk_ddp_comp_init(dev, dev->of_node, &priv->ddp_comp, comp_id, in mtk_disp_ovl_probe()
|
D | mtk_dpi.c | 64 struct mtk_ddp_comp ddp_comp; member 582 struct mtk_dpi *dpi = container_of(comp, struct mtk_dpi, ddp_comp); in mtk_dpi_start() 589 struct mtk_dpi *dpi = container_of(comp, struct mtk_dpi, ddp_comp); in mtk_dpi_stop() 605 ret = mtk_ddp_comp_register(drm_dev, &dpi->ddp_comp); in mtk_dpi_bind() 640 mtk_ddp_comp_unregister(drm_dev, &dpi->ddp_comp); in mtk_dpi_bind() 651 mtk_ddp_comp_unregister(drm_dev, &dpi->ddp_comp); in mtk_dpi_unbind() 732 ret = mtk_ddp_comp_init(dev, dev->of_node, &dpi->ddp_comp, comp_id, in mtk_dpi_probe()
|
D | mtk_dsi.c | 120 struct mtk_ddp_comp ddp_comp; member 727 struct mtk_dsi *dsi = container_of(comp, struct mtk_dsi, ddp_comp); in mtk_dsi_ddp_start() 734 struct mtk_dsi *dsi = container_of(comp, struct mtk_dsi, ddp_comp); in mtk_dsi_ddp_stop() 781 ret = mtk_ddp_comp_register(drm, &dsi->ddp_comp); in mtk_dsi_bind() 805 mtk_ddp_comp_unregister(drm, &dsi->ddp_comp); in mtk_dsi_bind() 817 mtk_ddp_comp_unregister(drm, &dsi->ddp_comp); in mtk_dsi_unbind() 900 ret = mtk_ddp_comp_init(dev, dev->of_node, &dsi->ddp_comp, comp_id, in mtk_dsi_probe()
|
D | mtk_drm_ddp_comp.c | 346 if (private->ddp_comp[comp->id]) in mtk_ddp_comp_register() 349 private->ddp_comp[comp->id] = comp; in mtk_ddp_comp_register() 357 private->ddp_comp[comp->id] = NULL; in mtk_ddp_comp_unregister()
|
D | mtk_drm_drv.h | 42 struct mtk_ddp_comp *ddp_comp[DDP_COMPONENT_ID_MAX]; member
|
D | mtk_drm_drv.c | 433 private->ddp_comp[comp_id] = comp; in mtk_drm_probe()
|