Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c241 struct mtk_dpi_polarities *dpi_pol) in mtk_dpi_config_pol() argument
247 pol = (dpi_pol->hsync_pol == MTK_DPI_POLARITY_RISING ? 0 : HSYNC_POL) | in mtk_dpi_config_pol()
248 (dpi_pol->vsync_pol == MTK_DPI_POLARITY_RISING ? 0 : VSYNC_POL); in mtk_dpi_config_pol()
251 pol |= (dpi_pol->ck_pol == MTK_DPI_POLARITY_RISING ? in mtk_dpi_config_pol()
253 (dpi_pol->de_pol == MTK_DPI_POLARITY_RISING ? in mtk_dpi_config_pol()
508 struct mtk_dpi_polarities dpi_pol; in mtk_dpi_set_display_mode() local
549 dpi_pol.ck_pol = MTK_DPI_POLARITY_FALLING; in mtk_dpi_set_display_mode()
550 dpi_pol.de_pol = MTK_DPI_POLARITY_RISING; in mtk_dpi_set_display_mode()
551 dpi_pol.hsync_pol = vm.flags & DISPLAY_FLAGS_HSYNC_HIGH ? in mtk_dpi_set_display_mode()
553 dpi_pol.vsync_pol = vm.flags & DISPLAY_FLAGS_VSYNC_HIGH ? in mtk_dpi_set_display_mode()
[all …]