Lines Matching refs:channel
77 int (*dpi_select_source)(int port, enum omap_channel channel);
206 enum omap_channel channel) in dss_ctrl_pll_set_control_mux() argument
213 switch (channel) { in dss_ctrl_pll_set_control_mux()
460 void dss_select_lcd_clk_source(enum omap_channel channel, in dss_select_lcd_clk_source() argument
475 BUG_ON(channel != OMAP_DSS_CHANNEL_LCD); in dss_select_lcd_clk_source()
479 BUG_ON(channel != OMAP_DSS_CHANNEL_LCD2 && in dss_select_lcd_clk_source()
480 channel != OMAP_DSS_CHANNEL_LCD3); in dss_select_lcd_clk_source()
488 pos = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_select_lcd_clk_source()
489 (channel == OMAP_DSS_CHANNEL_LCD2 ? 12 : 19); in dss_select_lcd_clk_source()
492 ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_select_lcd_clk_source()
493 (channel == OMAP_DSS_CHANNEL_LCD2 ? 1 : 2); in dss_select_lcd_clk_source()
507 enum omap_dss_clk_source dss_get_lcd_clk_source(enum omap_channel channel) in dss_get_lcd_clk_source() argument
510 int ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_get_lcd_clk_source()
511 (channel == OMAP_DSS_CHANNEL_LCD2 ? 1 : 2); in dss_get_lcd_clk_source()
662 static int dss_dpi_select_source_omap2_omap3(int port, enum omap_channel channel) in dss_dpi_select_source_omap2_omap3() argument
664 if (channel != OMAP_DSS_CHANNEL_LCD) in dss_dpi_select_source_omap2_omap3()
670 static int dss_dpi_select_source_omap4(int port, enum omap_channel channel) in dss_dpi_select_source_omap4() argument
674 switch (channel) { in dss_dpi_select_source_omap4()
690 static int dss_dpi_select_source_omap5(int port, enum omap_channel channel) in dss_dpi_select_source_omap5() argument
694 switch (channel) { in dss_dpi_select_source_omap5()
716 static int dss_dpi_select_source_dra7xx(int port, enum omap_channel channel) in dss_dpi_select_source_dra7xx() argument
720 return dss_dpi_select_source_omap5(port, channel); in dss_dpi_select_source_dra7xx()
722 if (channel != OMAP_DSS_CHANNEL_LCD2) in dss_dpi_select_source_dra7xx()
726 if (channel != OMAP_DSS_CHANNEL_LCD3) in dss_dpi_select_source_dra7xx()
736 int dss_dpi_select_source(int port, enum omap_channel channel) in dss_dpi_select_source() argument
738 return dss.feat->dpi_select_source(port, channel); in dss_dpi_select_source()