Lines Matching refs:ddp_comp

57 	struct mtk_ddp_comp		**ddp_comp;  member
172 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_enable_vblank()
182 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_disable_vblank()
193 ret = clk_prepare_enable(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_enable()
203 clk_disable_unprepare(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_enable()
212 clk_disable_unprepare(mtk_crtc->ddp_comp[i]->clk); in mtk_crtc_ddp_clk_disable()
226 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_ddp_comp_for_plane()
297 mtk_crtc->ddp_comp[i]->id, in mtk_crtc_ddp_hw_init()
298 mtk_crtc->ddp_comp[i + 1]->id); in mtk_crtc_ddp_hw_init()
300 mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_init()
302 mtk_disp_mutex_add_comp(mtk_crtc->mutex, mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_init()
306 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init()
345 mtk_ddp_comp_stop(mtk_crtc->ddp_comp[i]); in mtk_crtc_ddp_hw_fini()
347 mtk_ddp_comp_bgclr_in_off(mtk_crtc->ddp_comp[i]); in mtk_crtc_ddp_hw_fini()
352 mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_fini()
356 mtk_crtc->ddp_comp[i]->id, in mtk_crtc_ddp_hw_fini()
357 mtk_crtc->ddp_comp[i + 1]->id); in mtk_crtc_ddp_hw_fini()
359 mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_fini()
361 mtk_disp_mutex_remove_comp(mtk_crtc->mutex, mtk_crtc->ddp_comp[i]->id); in mtk_crtc_ddp_hw_fini()
380 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_crtc_ddp_config()
523 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_enable()
548 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_disable()
604 mtk_ddp_gamma_set(mtk_crtc->ddp_comp[i], crtc->state); in mtk_drm_crtc_atomic_flush()
605 mtk_ddp_ctm_set(mtk_crtc->ddp_comp[i], crtc->state); in mtk_drm_crtc_atomic_flush()
683 comp = mtk_crtc->ddp_comp[comp_idx]; in mtk_drm_crtc_num_comp_planes()
711 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[comp_idx]; in mtk_drm_crtc_init_comp_planes()
764 mtk_crtc->ddp_comp = devm_kmalloc_array(dev, mtk_crtc->ddp_comp_nr, in mtk_drm_crtc_create()
765 sizeof(*mtk_crtc->ddp_comp), in mtk_drm_crtc_create()
767 if (!mtk_crtc->ddp_comp) in mtk_drm_crtc_create()
783 comp = priv->ddp_comp[comp_id]; in mtk_drm_crtc_create()
790 mtk_crtc->ddp_comp[i] = comp; in mtk_drm_crtc_create()