diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 8da5ac42151b..2bcb1245d6c2 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -240,6 +240,7 @@ int dsi_init(struct platform_device *pdev); | |||
240 | void dsi_exit(void); | 240 | void dsi_exit(void); |
241 | 241 | ||
242 | void dsi_dump_clocks(struct seq_file *s); | 242 | void dsi_dump_clocks(struct seq_file *s); |
243 | void dsi_dump_irqs(struct seq_file *s); | ||
243 | void dsi_dump_regs(struct seq_file *s); | 244 | void dsi_dump_regs(struct seq_file *s); |
244 | 245 | ||
245 | void dsi_save_context(void); | 246 | void dsi_save_context(void); |
@@ -268,6 +269,7 @@ int dpi_init_display(struct omap_dss_device *dssdev); | |||
268 | int dispc_init(void); | 269 | int dispc_init(void); |
269 | void dispc_exit(void); | 270 | void dispc_exit(void); |
270 | void dispc_dump_clocks(struct seq_file *s); | 271 | void dispc_dump_clocks(struct seq_file *s); |
272 | void dispc_dump_irqs(struct seq_file *s); | ||
271 | void dispc_dump_regs(struct seq_file *s); | 273 | void dispc_dump_regs(struct seq_file *s); |
272 | void dispc_irq_handler(void); | 274 | void dispc_irq_handler(void); |
273 | void dispc_fake_vsync_irq(void); | 275 | void dispc_fake_vsync_irq(void); |
@@ -367,4 +369,16 @@ void rfbi_set_timings(int rfbi_module, struct rfbi_timings *t); | |||
367 | unsigned long rfbi_get_max_tx_rate(void); | 369 | unsigned long rfbi_get_max_tx_rate(void); |
368 | int rfbi_init_display(struct omap_dss_device *display); | 370 | int rfbi_init_display(struct omap_dss_device *display); |
369 | 371 | ||
372 | |||
373 | #ifdef CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS | ||
374 | static inline void dss_collect_irq_stats(u32 irqstatus, unsigned *irq_arr) | ||
375 | { | ||
376 | int b; | ||
377 | for (b = 0; b < 32; ++b) { | ||
378 | if (irqstatus & (1 << b)) | ||
379 | irq_arr[b]++; | ||
380 | } | ||
381 | } | ||
382 | #endif | ||
383 | |||
370 | #endif | 384 | #endif |