Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/mediatek/
Dmtk_dpi.c204 struct mtk_dpi_polarities *dpi_pol) in mtk_dpi_config_pol() argument
208 pol = (dpi_pol->ck_pol == MTK_DPI_POLARITY_RISING ? 0 : CK_POL) | in mtk_dpi_config_pol()
209 (dpi_pol->de_pol == MTK_DPI_POLARITY_RISING ? 0 : DE_POL) | in mtk_dpi_config_pol()
210 (dpi_pol->hsync_pol == MTK_DPI_POLARITY_RISING ? 0 : HSYNC_POL) | in mtk_dpi_config_pol()
211 (dpi_pol->vsync_pol == MTK_DPI_POLARITY_RISING ? 0 : VSYNC_POL); in mtk_dpi_config_pol()
433 struct mtk_dpi_polarities dpi_pol; in mtk_dpi_set_display_mode() local
472 dpi_pol.ck_pol = MTK_DPI_POLARITY_FALLING; in mtk_dpi_set_display_mode()
473 dpi_pol.de_pol = MTK_DPI_POLARITY_RISING; in mtk_dpi_set_display_mode()
474 dpi_pol.hsync_pol = vm.flags & DISPLAY_FLAGS_HSYNC_HIGH ? in mtk_dpi_set_display_mode()
476 dpi_pol.vsync_pol = vm.flags & DISPLAY_FLAGS_VSYNC_HIGH ? in mtk_dpi_set_display_mode()
[all …]