Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h71 struct mtk_ddp_comp;
74 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 (*supported_rotations)(struct mtk_ddp_comp *comp);
82 unsigned int (*layer_nr)(struct mtk_ddp_comp *comp);
83 int (*layer_check)(struct mtk_ddp_comp *comp,
86 void (*layer_config)(struct mtk_ddp_comp *comp, unsigned int idx,
[all …]
Dmtk_drm_ddp_comp.c90 struct mtk_ddp_comp *comp, unsigned int offset) in mtk_ddp_write()
102 struct mtk_ddp_comp *comp, in mtk_ddp_write_relaxed()
116 struct mtk_ddp_comp *comp, in mtk_ddp_write_mask()
135 void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, in mtk_dither_set()
160 static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_od_config()
169 static void mtk_od_start(struct mtk_ddp_comp *comp) in mtk_od_start()
174 static void mtk_ufoe_start(struct mtk_ddp_comp *comp) in mtk_ufoe_start()
179 static void mtk_aal_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_aal_config()
186 static void mtk_aal_start(struct mtk_ddp_comp *comp) in mtk_aal_start()
191 static void mtk_aal_stop(struct mtk_ddp_comp *comp) in mtk_aal_stop()
[all …]
Dmtk_disp_ovl.c72 struct mtk_ddp_comp ddp_comp;
77 static inline struct mtk_disp_ovl *comp_to_ovl(struct mtk_ddp_comp *comp) in comp_to_ovl()
85 struct mtk_ddp_comp *ovl = &priv->ddp_comp; in mtk_disp_ovl_irq_handler()
98 static void mtk_ovl_enable_vblank(struct mtk_ddp_comp *comp, in mtk_ovl_enable_vblank()
108 static void mtk_ovl_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ovl_disable_vblank()
116 static void mtk_ovl_start(struct mtk_ddp_comp *comp) in mtk_ovl_start()
121 static void mtk_ovl_stop(struct mtk_ddp_comp *comp) in mtk_ovl_stop()
126 static void mtk_ovl_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_ovl_config()
139 static unsigned int mtk_ovl_layer_nr(struct mtk_ddp_comp *comp) in mtk_ovl_layer_nr()
146 static unsigned int mtk_ovl_supported_rotations(struct mtk_ddp_comp *comp) in mtk_ovl_supported_rotations()
[all …]
Dmtk_disp_rdma.c63 struct mtk_ddp_comp ddp_comp;
68 static inline struct mtk_disp_rdma *comp_to_rdma(struct mtk_ddp_comp *comp) in comp_to_rdma()
76 struct mtk_ddp_comp *rdma = &priv->ddp_comp; in mtk_disp_rdma_irq_handler()
89 static void rdma_update_bits(struct mtk_ddp_comp *comp, unsigned int reg, in rdma_update_bits()
98 static void mtk_rdma_enable_vblank(struct mtk_ddp_comp *comp, in mtk_rdma_enable_vblank()
108 static void mtk_rdma_disable_vblank(struct mtk_ddp_comp *comp) in mtk_rdma_disable_vblank()
116 static void mtk_rdma_start(struct mtk_ddp_comp *comp) in mtk_rdma_start()
122 static void mtk_rdma_stop(struct mtk_ddp_comp *comp) in mtk_rdma_stop()
127 static void mtk_rdma_config(struct mtk_ddp_comp *comp, unsigned int width, in mtk_rdma_config()
190 static unsigned int mtk_rdma_layer_nr(struct mtk_ddp_comp *comp) in mtk_rdma_layer_nr()
[all …]
Dmtk_drm_crtc.c57 struct mtk_ddp_comp **ddp_comp;
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()
216 struct mtk_ddp_comp *mtk_drm_ddp_comp_for_plane(struct drm_crtc *crtc, in mtk_drm_ddp_comp_for_plane()
221 struct mtk_ddp_comp *comp; in mtk_drm_ddp_comp_for_plane()
306 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init()
319 struct mtk_ddp_comp *comp; in mtk_crtc_ddp_hw_init()
380 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_crtc_ddp_config()
497 struct mtk_ddp_comp *comp; in mtk_drm_crtc_plane_check()
523 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[0]; in mtk_drm_crtc_atomic_enable()
[all …]
Dmtk_disp_color.c37 struct mtk_ddp_comp ddp_comp;
42 static inline struct mtk_disp_color *comp_to_color(struct mtk_ddp_comp *comp) in comp_to_color()
47 static void mtk_color_config(struct mtk_ddp_comp *comp, unsigned int w, in mtk_color_config()
57 static void mtk_color_start(struct mtk_ddp_comp *comp) in mtk_color_start()
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.c65 struct mtk_ddp_comp ddp_comp;
565 static void mtk_dpi_start(struct mtk_ddp_comp *comp) in mtk_dpi_start()
572 static void mtk_dpi_stop(struct mtk_ddp_comp *comp) in mtk_dpi_stop()
Dmtk_dsi.c181 struct mtk_ddp_comp ddp_comp;
770 static void mtk_dsi_ddp_start(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_start()
777 static void mtk_dsi_ddp_stop(struct mtk_ddp_comp *comp) in mtk_dsi_ddp_stop()
Dmtk_drm_drv.c532 struct mtk_ddp_comp *comp; in mtk_drm_probe()