Lines Matching refs:dss_device
73 int (*dpi_select_source)(struct dss_device *dss, int port,
75 int (*select_lcd_source)(struct dss_device *dss,
105 static inline void dss_write_reg(struct dss_device *dss, in dss_write_reg()
111 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg()
121 static void dss_save_context(struct dss_device *dss) in dss_save_context()
137 static void dss_restore_context(struct dss_device *dss) in dss_restore_context()
187 static int dss_ctrl_pll_set_control_mux(struct dss_device *dss, in dss_ctrl_pll_set_control_mux()
254 void dss_sdi_init(struct dss_device *dss, int datapairs) in dss_sdi_init()
273 int dss_sdi_enable(struct dss_device *dss) in dss_sdi_enable()
331 void dss_sdi_disable(struct dss_device *dss) in dss_sdi_disable()
346 static void dss_dump_clocks(struct dss_device *dss, struct seq_file *s) in dss_dump_clocks()
368 struct dss_device *dss = s->private; in dss_dump_regs()
393 struct dss_device *dss = s->private; in dss_debug_dump_clocks()
418 static void dss_select_dispc_clk_source(struct dss_device *dss, in dss_select_dispc_clk_source()
452 void dss_select_dsi_clk_source(struct dss_device *dss, int dsi_module, in dss_select_dsi_clk_source()
480 static int dss_lcd_clk_mux_dra7(struct dss_device *dss, in dss_lcd_clk_mux_dra7()
508 static int dss_lcd_clk_mux_omap5(struct dss_device *dss, in dss_lcd_clk_mux_omap5()
539 static int dss_lcd_clk_mux_omap4(struct dss_device *dss, in dss_lcd_clk_mux_omap4()
568 void dss_select_lcd_clk_source(struct dss_device *dss, in dss_select_lcd_clk_source()
588 enum dss_clk_source dss_get_dispc_clk_source(struct dss_device *dss) in dss_get_dispc_clk_source()
593 enum dss_clk_source dss_get_dsi_clk_source(struct dss_device *dss, in dss_get_dsi_clk_source()
599 enum dss_clk_source dss_get_lcd_clk_source(struct dss_device *dss, in dss_get_lcd_clk_source()
612 bool dss_div_calc(struct dss_device *dss, unsigned long pck, in dss_div_calc()
656 int dss_set_fck_rate(struct dss_device *dss, unsigned long rate) in dss_set_fck_rate()
674 unsigned long dss_get_dispc_clk_rate(struct dss_device *dss) in dss_get_dispc_clk_rate()
679 unsigned long dss_get_max_fck_rate(struct dss_device *dss) in dss_get_max_fck_rate()
684 enum omap_dss_output_id dss_get_supported_outputs(struct dss_device *dss, in dss_get_supported_outputs()
690 static int dss_setup_default_clock(struct dss_device *dss) in dss_setup_default_clock()
717 void dss_set_venc_output(struct dss_device *dss, enum omap_dss_venc_type type) in dss_set_venc_output()
732 void dss_set_dac_pwrdn_bgz(struct dss_device *dss, bool enable) in dss_set_dac_pwrdn_bgz()
738 void dss_select_hdmi_venc_clk_source(struct dss_device *dss, in dss_select_hdmi_venc_clk_source()
756 static int dss_dpi_select_source_omap2_omap3(struct dss_device *dss, int port, in dss_dpi_select_source_omap2_omap3()
765 static int dss_dpi_select_source_omap4(struct dss_device *dss, int port, in dss_dpi_select_source_omap4()
786 static int dss_dpi_select_source_omap5(struct dss_device *dss, int port, in dss_dpi_select_source_omap5()
813 static int dss_dpi_select_source_dra7xx(struct dss_device *dss, int port, in dss_dpi_select_source_dra7xx()
834 int dss_dpi_select_source(struct dss_device *dss, int port, in dss_dpi_select_source()
840 static int dss_get_clocks(struct dss_device *dss) in dss_get_clocks()
868 static void dss_put_clocks(struct dss_device *dss) in dss_put_clocks()
874 int dss_runtime_get(struct dss_device *dss) in dss_runtime_get()
885 void dss_runtime_put(struct dss_device *dss) in dss_runtime_put()
895 struct dss_device *dss_get_device(struct device *dev) in dss_get_device()
902 static int dss_initialize_debugfs(struct dss_device *dss) in dss_initialize_debugfs()
915 static void dss_uninitialize_debugfs(struct dss_device *dss) in dss_uninitialize_debugfs()
941 dss_debugfs_create_file(struct dss_device *dss, const char *name, in dss_debugfs_create_file()
976 static inline int dss_initialize_debugfs(struct dss_device *dss) in dss_initialize_debugfs()
980 static inline void dss_uninitialize_debugfs(struct dss_device *dss) in dss_uninitialize_debugfs()
1181 static int dss_init_ports(struct dss_device *dss) in dss_init_ports()
1208 static void dss_uninit_ports(struct dss_device *dss) in dss_uninit_ports()
1233 static int dss_video_pll_probe(struct dss_device *dss) in dss_video_pll_probe()
1317 struct dss_device *dss = dev_get_drvdata(dev); in dss_bind()
1368 static int dss_probe_hardware(struct dss_device *dss) in dss_probe_hardware()
1408 struct dss_device *dss; in dss_probe()
1511 struct dss_device *dss = platform_get_drvdata(pdev); in dss_remove()
1553 struct dss_device *dss = dev_get_drvdata(dev); in dss_runtime_suspend()
1565 struct dss_device *dss = dev_get_drvdata(dev); in dss_runtime_resume()