Lines Matching refs:mtk_ddp_comp

49 struct mtk_ddp_comp;
95 struct mtk_ddp_comp { struct
103 static inline int mtk_ddp_comp_power_on(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_on() argument
112 static inline void mtk_ddp_comp_power_off(struct mtk_ddp_comp *comp) in mtk_ddp_comp_power_off()
120 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable()
128 static inline void mtk_ddp_comp_clk_disable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_disable()
135 enum drm_mode_status mtk_ddp_comp_mode_valid(struct mtk_ddp_comp *comp, in mtk_ddp_comp_mode_valid()
143 static inline void mtk_ddp_comp_config(struct mtk_ddp_comp *comp, in mtk_ddp_comp_config()
152 static inline void mtk_ddp_comp_start(struct mtk_ddp_comp *comp) in mtk_ddp_comp_start()
158 static inline void mtk_ddp_comp_stop(struct mtk_ddp_comp *comp) in mtk_ddp_comp_stop()
164 static inline void mtk_ddp_comp_register_vblank_cb(struct mtk_ddp_comp *comp, in mtk_ddp_comp_register_vblank_cb()
173 static inline void mtk_ddp_comp_unregister_vblank_cb(struct mtk_ddp_comp *comp) in mtk_ddp_comp_unregister_vblank_cb()
179 static inline void mtk_ddp_comp_enable_vblank(struct mtk_ddp_comp *comp) in mtk_ddp_comp_enable_vblank()
185 static inline void mtk_ddp_comp_disable_vblank(struct mtk_ddp_comp *comp) in mtk_ddp_comp_disable_vblank()
192 unsigned int mtk_ddp_comp_supported_rotations(struct mtk_ddp_comp *comp) in mtk_ddp_comp_supported_rotations()
204 static inline unsigned int mtk_ddp_comp_layer_nr(struct mtk_ddp_comp *comp) in mtk_ddp_comp_layer_nr()
212 static inline int mtk_ddp_comp_layer_check(struct mtk_ddp_comp *comp, in mtk_ddp_comp_layer_check()
221 static inline void mtk_ddp_comp_layer_config(struct mtk_ddp_comp *comp, in mtk_ddp_comp_layer_config()
230 static inline unsigned int mtk_ddp_gamma_get_lut_size(struct mtk_ddp_comp *comp) in mtk_ddp_gamma_get_lut_size()
238 static inline void mtk_ddp_gamma_set(struct mtk_ddp_comp *comp, in mtk_ddp_gamma_set()
245 static inline void mtk_ddp_comp_bgclr_in_on(struct mtk_ddp_comp *comp) in mtk_ddp_comp_bgclr_in_on()
251 static inline void mtk_ddp_comp_bgclr_in_off(struct mtk_ddp_comp *comp) in mtk_ddp_comp_bgclr_in_off()
257 static inline void mtk_ddp_ctm_set(struct mtk_ddp_comp *comp, in mtk_ddp_ctm_set()
264 static inline struct device *mtk_ddp_comp_dma_dev_get(struct mtk_ddp_comp *comp) in mtk_ddp_comp_dma_dev_get()
272 u32 mtk_ddp_comp_get_blend_modes(struct mtk_ddp_comp *comp) in mtk_ddp_comp_get_blend_modes()
281 const u32 *mtk_ddp_comp_get_formats(struct mtk_ddp_comp *comp) in mtk_ddp_comp_get_formats()
290 size_t mtk_ddp_comp_get_num_formats(struct mtk_ddp_comp *comp) in mtk_ddp_comp_get_num_formats()
298 static inline bool mtk_ddp_comp_is_afbc_supported(struct mtk_ddp_comp *comp) in mtk_ddp_comp_is_afbc_supported()
306 static inline bool mtk_ddp_comp_add(struct mtk_ddp_comp *comp, struct mtk_mutex *mutex) in mtk_ddp_comp_add()
315 static inline bool mtk_ddp_comp_remove(struct mtk_ddp_comp *comp, struct mtk_mutex *mutex) in mtk_ddp_comp_remove()
324 static inline bool mtk_ddp_comp_connect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_connect()
334 static inline bool mtk_ddp_comp_disconnect(struct mtk_ddp_comp *comp, struct device *mmsys_dev, in mtk_ddp_comp_disconnect()
344 static inline void mtk_ddp_comp_encoder_index_set(struct mtk_ddp_comp *comp) in mtk_ddp_comp_encoder_index_set()
353 int mtk_ddp_comp_init(struct device_node *comp_node, struct mtk_ddp_comp *comp,