Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h72 struct mtk_ddp_comp;
75 void (*config)(struct mtk_ddp_comp *comp, unsigned int w,
77 void (*start)(struct mtk_ddp_comp *comp);
78 void (*stop)(struct mtk_ddp_comp *comp);
79 void (*enable_vblank)(struct mtk_ddp_comp *comp, struct drm_crtc *crtc);
80 void (*disable_vblank)(struct mtk_ddp_comp *comp);
81 unsigned int (*layer_nr)(struct mtk_ddp_comp *comp);
82 void (*layer_on)(struct mtk_ddp_comp *comp, unsigned int idx);
83 void (*layer_off)(struct mtk_ddp_comp *comp, unsigned int idx);
84 void (*layer_config)(struct mtk_ddp_comp *comp, unsigned int idx,
[all …]
Dmtk_drm_ddp_comp.c75 void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, in mtk_dither_set()
98 static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_od_config()
107 static void mtk_od_start(struct mtk_ddp_comp *comp) in mtk_od_start()
112 static void mtk_ufoe_start(struct mtk_ddp_comp *comp) in mtk_ufoe_start()
117 static void mtk_aal_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_aal_config()
124 static void mtk_aal_start(struct mtk_ddp_comp *comp) in mtk_aal_start()
129 static void mtk_aal_stop(struct mtk_ddp_comp *comp) in mtk_aal_stop()
134 static void mtk_gamma_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_gamma_config()
142 static void mtk_gamma_start(struct mtk_ddp_comp *comp) in mtk_gamma_start()
147 static void mtk_gamma_stop(struct mtk_ddp_comp *comp) in mtk_gamma_stop()
[all …]
Dmtk_disp_rdma.c70 struct mtk_ddp_comp ddp_comp;
75 static inline struct mtk_disp_rdma *comp_to_rdma(struct mtk_ddp_comp *comp) in comp_to_rdma()
83 struct mtk_ddp_comp *rdma = &priv->ddp_comp; in mtk_disp_rdma_irq_handler()
96 static void rdma_update_bits(struct mtk_ddp_comp *comp, unsigned int reg, in rdma_update_bits()
105 static void mtk_rdma_enable_vblank(struct mtk_ddp_comp *comp, in mtk_rdma_enable_vblank()
115 static void mtk_rdma_disable_vblank(struct mtk_ddp_comp *comp) in mtk_rdma_disable_vblank()
123 static void mtk_rdma_start(struct mtk_ddp_comp *comp) in mtk_rdma_start()
129 static void mtk_rdma_stop(struct mtk_ddp_comp *comp) in mtk_rdma_stop()
134 static void mtk_rdma_config(struct mtk_ddp_comp *comp, unsigned int width, in mtk_rdma_config()
195 static unsigned int mtk_rdma_layer_nr(struct mtk_ddp_comp *comp) in mtk_rdma_layer_nr()
[all …]
Dmtk_disp_ovl.c69 struct mtk_ddp_comp ddp_comp;
74 static inline struct mtk_disp_ovl *comp_to_ovl(struct mtk_ddp_comp *comp) in comp_to_ovl()
82 struct mtk_ddp_comp *ovl = &priv->ddp_comp; in mtk_disp_ovl_irq_handler()
95 static void mtk_ovl_enable_vblank(struct mtk_ddp_comp *comp, in mtk_ovl_enable_vblank()
105 static void mtk_ovl_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ovl_disable_vblank()
113 static void mtk_ovl_start(struct mtk_ddp_comp *comp) in mtk_ovl_start()
118 static void mtk_ovl_stop(struct mtk_ddp_comp *comp) in mtk_ovl_stop()
123 static void mtk_ovl_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_ovl_config()
135 static unsigned int mtk_ovl_layer_nr(struct mtk_ddp_comp *comp) in mtk_ovl_layer_nr()
140 static void mtk_ovl_layer_on(struct mtk_ddp_comp *comp, unsigned int idx) in mtk_ovl_layer_on()
[all …]
Dmtk_disp_color.c44 struct mtk_ddp_comp ddp_comp;
49 static inline struct mtk_disp_color *comp_to_color(struct mtk_ddp_comp *comp) in comp_to_color()
54 static void mtk_color_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_color_config()
64 static void mtk_color_start(struct mtk_ddp_comp *comp) in mtk_color_start()
Dmtk_drm_crtc.c55 struct mtk_ddp_comp **ddp_comp;
175 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_enable_vblank()
185 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_disable_vblank()
283 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init()
338 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_crtc_ddp_config()
374 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_enable()
399 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_disable()
520 void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp) in mtk_crtc_ddp_irq()
580 struct mtk_ddp_comp *comp; in mtk_drm_crtc_create()
Dmtk_drm_crtc.h26 void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp);
Dmtk_drm_drv.h52 struct mtk_ddp_comp *ddp_comp[DDP_COMPONENT_ID_MAX];
Dmtk_dpi.c65 struct mtk_ddp_comp ddp_comp;
581 static void mtk_dpi_start(struct mtk_ddp_comp *comp) in mtk_dpi_start()
588 static void mtk_dpi_stop(struct mtk_ddp_comp *comp) in mtk_dpi_stop()
Dmtk_dsi.c160 struct mtk_ddp_comp ddp_comp;
846 static void mtk_dsi_ddp_start(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_start()
853 static void mtk_dsi_ddp_stop(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_stop()
Dmtk_drm_drv.c518 struct mtk_ddp_comp *comp; in mtk_drm_probe()