Lines Matching refs:mtk_dpi
62 struct mtk_dpi { struct
86 static inline struct mtk_dpi *bridge_to_dpi(struct drm_bridge *b) in bridge_to_dpi() argument
88 return container_of(b, struct mtk_dpi, bridge); in bridge_to_dpi()
157 static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) in mtk_dpi_mask()
165 static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) in mtk_dpi_sw_reset()
170 static void mtk_dpi_enable(struct mtk_dpi *dpi) in mtk_dpi_enable()
175 static void mtk_dpi_disable(struct mtk_dpi *dpi) in mtk_dpi_disable()
180 static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, in mtk_dpi_config_hsync()
191 static void mtk_dpi_config_vsync(struct mtk_dpi *dpi, in mtk_dpi_config_vsync()
209 static void mtk_dpi_config_vsync_lodd(struct mtk_dpi *dpi, in mtk_dpi_config_vsync_lodd()
215 static void mtk_dpi_config_vsync_leven(struct mtk_dpi *dpi, in mtk_dpi_config_vsync_leven()
222 static void mtk_dpi_config_vsync_rodd(struct mtk_dpi *dpi, in mtk_dpi_config_vsync_rodd()
229 static void mtk_dpi_config_vsync_reven(struct mtk_dpi *dpi, in mtk_dpi_config_vsync_reven()
236 static void mtk_dpi_config_pol(struct mtk_dpi *dpi, in mtk_dpi_config_pol()
256 static void mtk_dpi_config_3d(struct mtk_dpi *dpi, bool en_3d) in mtk_dpi_config_3d()
261 static void mtk_dpi_config_interface(struct mtk_dpi *dpi, bool inter) in mtk_dpi_config_interface()
266 static void mtk_dpi_config_fb_size(struct mtk_dpi *dpi, u32 width, u32 height) in mtk_dpi_config_fb_size()
274 static void mtk_dpi_config_channel_limit(struct mtk_dpi *dpi) in mtk_dpi_config_channel_limit()
301 static void mtk_dpi_config_bit_num(struct mtk_dpi *dpi, in mtk_dpi_config_bit_num()
327 static void mtk_dpi_config_yc_map(struct mtk_dpi *dpi, in mtk_dpi_config_yc_map()
356 static void mtk_dpi_config_channel_swap(struct mtk_dpi *dpi, in mtk_dpi_config_channel_swap()
390 static void mtk_dpi_config_yuv422_enable(struct mtk_dpi *dpi, bool enable) in mtk_dpi_config_yuv422_enable()
396 static void mtk_dpi_config_csc_enable(struct mtk_dpi *dpi, bool enable) in mtk_dpi_config_csc_enable()
402 static void mtk_dpi_config_swap_input(struct mtk_dpi *dpi, bool enable) in mtk_dpi_config_swap_input()
407 static void mtk_dpi_config_2n_h_fre(struct mtk_dpi *dpi) in mtk_dpi_config_2n_h_fre()
412 static void mtk_dpi_config_disable_edge(struct mtk_dpi *dpi) in mtk_dpi_config_disable_edge()
418 static void mtk_dpi_config_color_format(struct mtk_dpi *dpi, in mtk_dpi_config_color_format()
442 static void mtk_dpi_dual_edge(struct mtk_dpi *dpi) in mtk_dpi_dual_edge()
456 static void mtk_dpi_power_off(struct mtk_dpi *dpi) in mtk_dpi_power_off()
472 static int mtk_dpi_power_on(struct mtk_dpi *dpi) in mtk_dpi_power_on()
503 static int mtk_dpi_set_display_mode(struct mtk_dpi *dpi, in mtk_dpi_set_display_mode()
626 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_atomic_get_output_bus_fmts()
676 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_atomic_check()
704 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_attach()
714 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_mode_set()
721 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_disable()
728 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_enable()
740 struct mtk_dpi *dpi = bridge_to_dpi(bridge); in mtk_dpi_bridge_mode_valid()
764 struct mtk_dpi *dpi = dev_get_drvdata(dev); in mtk_dpi_start()
771 struct mtk_dpi *dpi = dev_get_drvdata(dev); in mtk_dpi_stop()
778 struct mtk_dpi *dpi = dev_get_drvdata(dev); in mtk_dpi_bind()
814 struct mtk_dpi *dpi = dev_get_drvdata(dev); in mtk_dpi_unbind()
966 struct mtk_dpi *dpi; in mtk_dpi_probe()
1064 struct mtk_dpi *dpi = platform_get_drvdata(pdev); in mtk_dpi_remove()