Home
last modified time | relevance | path

Searched refs:mtk_ddp_comp (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h64 struct mtk_ddp_comp;
67 void (*config)(struct mtk_ddp_comp *comp, unsigned int w,
69 void (*start)(struct mtk_ddp_comp *comp);
70 void (*stop)(struct mtk_ddp_comp *comp);
71 void (*enable_vblank)(struct mtk_ddp_comp *comp, struct drm_crtc *crtc);
72 void (*disable_vblank)(struct mtk_ddp_comp *comp);
73 unsigned int (*layer_nr)(struct mtk_ddp_comp *comp);
74 void (*layer_on)(struct mtk_ddp_comp *comp, unsigned int idx);
75 void (*layer_off)(struct mtk_ddp_comp *comp, unsigned int idx);
76 void (*layer_config)(struct mtk_ddp_comp *comp, unsigned int idx,
[all …]
Dmtk_drm_ddp_comp.c67 void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, in mtk_dither_set()
90 static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_od_config()
99 static void mtk_od_start(struct mtk_ddp_comp *comp) in mtk_od_start()
104 static void mtk_ufoe_start(struct mtk_ddp_comp *comp) in mtk_ufoe_start()
109 static void mtk_aal_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_aal_config()
116 static void mtk_aal_start(struct mtk_ddp_comp *comp) in mtk_aal_start()
121 static void mtk_aal_stop(struct mtk_ddp_comp *comp) in mtk_aal_stop()
126 static void mtk_gamma_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_gamma_config()
134 static void mtk_gamma_start(struct mtk_ddp_comp *comp) in mtk_gamma_start()
139 static void mtk_gamma_stop(struct mtk_ddp_comp *comp) in mtk_gamma_stop()
[all …]
Dmtk_disp_rdma.c62 struct mtk_ddp_comp ddp_comp;
67 static inline struct mtk_disp_rdma *comp_to_rdma(struct mtk_ddp_comp *comp) in comp_to_rdma()
75 struct mtk_ddp_comp *rdma = &priv->ddp_comp; in mtk_disp_rdma_irq_handler()
88 static void rdma_update_bits(struct mtk_ddp_comp *comp, unsigned int reg, in rdma_update_bits()
97 static void mtk_rdma_enable_vblank(struct mtk_ddp_comp *comp, in mtk_rdma_enable_vblank()
107 static void mtk_rdma_disable_vblank(struct mtk_ddp_comp *comp) in mtk_rdma_disable_vblank()
115 static void mtk_rdma_start(struct mtk_ddp_comp *comp) in mtk_rdma_start()
121 static void mtk_rdma_stop(struct mtk_ddp_comp *comp) in mtk_rdma_stop()
126 static void mtk_rdma_config(struct mtk_ddp_comp *comp, unsigned int width, in mtk_rdma_config()
187 static unsigned int mtk_rdma_layer_nr(struct mtk_ddp_comp *comp) in mtk_rdma_layer_nr()
[all …]
Dmtk_disp_ovl.c61 struct mtk_ddp_comp ddp_comp;
66 static inline struct mtk_disp_ovl *comp_to_ovl(struct mtk_ddp_comp *comp) in comp_to_ovl()
74 struct mtk_ddp_comp *ovl = &priv->ddp_comp; in mtk_disp_ovl_irq_handler()
87 static void mtk_ovl_enable_vblank(struct mtk_ddp_comp *comp, in mtk_ovl_enable_vblank()
97 static void mtk_ovl_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ovl_disable_vblank()
105 static void mtk_ovl_start(struct mtk_ddp_comp *comp) in mtk_ovl_start()
110 static void mtk_ovl_stop(struct mtk_ddp_comp *comp) in mtk_ovl_stop()
115 static void mtk_ovl_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_ovl_config()
127 static unsigned int mtk_ovl_layer_nr(struct mtk_ddp_comp *comp) in mtk_ovl_layer_nr()
132 static void mtk_ovl_layer_on(struct mtk_ddp_comp *comp, unsigned int idx) in mtk_ovl_layer_on()
[all …]
Dmtk_disp_color.c36 struct mtk_ddp_comp ddp_comp;
41 static inline struct mtk_disp_color *comp_to_color(struct mtk_ddp_comp *comp) in comp_to_color()
46 static void mtk_color_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_color_config()
56 static void mtk_color_start(struct mtk_ddp_comp *comp) in mtk_color_start()
Dmtk_drm_crtc.c49 struct mtk_ddp_comp **ddp_comp;
165 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_enable_vblank()
175 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_disable_vblank()
273 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init()
328 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_crtc_ddp_config()
364 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_enable()
389 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_disable()
510 void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp) in mtk_crtc_ddp_irq()
570 struct mtk_ddp_comp *comp; in mtk_drm_crtc_create()
Dmtk_drm_crtc.h18 void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp);
Dmtk_drm_drv.h44 struct mtk_ddp_comp *ddp_comp[DDP_COMPONENT_ID_MAX];
Dmtk_dpi.c61 struct mtk_ddp_comp ddp_comp;
566 static void mtk_dpi_start(struct mtk_ddp_comp *comp) in mtk_dpi_start()
573 static void mtk_dpi_stop(struct mtk_ddp_comp *comp) in mtk_dpi_stop()
Dmtk_dsi.c154 struct mtk_ddp_comp ddp_comp;
853 static void mtk_dsi_ddp_start(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_start()
860 static void mtk_dsi_ddp_stop(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_stop()
Dmtk_drm_drv.c558 struct mtk_ddp_comp *comp; in mtk_drm_probe()