dss.h (9e1305d0d1fd8f1b47203eac4fb3eb05d64a5ffd) dss.h (493b683b8a1d578028a808cee52eef769454a583)
1/*
2 * linux/drivers/video/omap2/dss/dss.h
3 *
4 * Copyright (C) 2009 Nokia Corporation
5 * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com>
6 *
7 * Some code and ideas taken from drivers/video/omap/ driver
8 * by Imre Deak.

--- 205 unchanged lines hidden (view full) ---

214
215 int lcden_sig_polarity;
216};
217
218struct seq_file;
219struct platform_device;
220
221/* core */
1/*
2 * linux/drivers/video/omap2/dss/dss.h
3 *
4 * Copyright (C) 2009 Nokia Corporation
5 * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com>
6 *
7 * Some code and ideas taken from drivers/video/omap/ driver
8 * by Imre Deak.

--- 205 unchanged lines hidden (view full) ---

214
215 int lcden_sig_polarity;
216};
217
218struct seq_file;
219struct platform_device;
220
221/* core */
222int dss_set_min_bus_tput(struct device *dev, unsigned long tput);
222static inline int dss_set_min_bus_tput(struct device *dev, unsigned long tput)
223{
224 /* To be implemented when the OMAP platform will provide this feature */
225 return 0;
226}
227
223int dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *));
224
225static inline bool dss_mgr_is_lcd(enum omap_channel id)
226{
227 if (id == OMAP_DSS_CHANNEL_LCD || id == OMAP_DSS_CHANNEL_LCD2 ||
228 id == OMAP_DSS_CHANNEL_LCD3)
229 return true;
230 else

--- 197 unchanged lines hidden ---
228int dss_debugfs_create_file(const char *name, void (*write)(struct seq_file *));
229
230static inline bool dss_mgr_is_lcd(enum omap_channel id)
231{
232 if (id == OMAP_DSS_CHANNEL_LCD || id == OMAP_DSS_CHANNEL_LCD2 ||
233 id == OMAP_DSS_CHANNEL_LCD3)
234 return true;
235 else

--- 197 unchanged lines hidden ---