diff options
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index ab7d6564e29b..e8e27caac190 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -214,18 +214,26 @@ int omap_rfbi_setup_te(enum omap_rfbi_te_mode mode, | |||
214 | int hs_pol_inv, int vs_pol_inv, int extif_div); | 214 | int hs_pol_inv, int vs_pol_inv, int extif_div); |
215 | 215 | ||
216 | /* DSI */ | 216 | /* DSI */ |
217 | void dsi_bus_lock(void); | 217 | void dsi_bus_lock(struct omap_dss_device *dssdev); |
218 | void dsi_bus_unlock(void); | 218 | void dsi_bus_unlock(struct omap_dss_device *dssdev); |
219 | int dsi_vc_dcs_write(int channel, u8 *data, int len); | 219 | int dsi_vc_dcs_write(struct omap_dss_device *dssdev, int channel, u8 *data, |
220 | int dsi_vc_dcs_write_0(int channel, u8 dcs_cmd); | 220 | int len); |
221 | int dsi_vc_dcs_write_1(int channel, u8 dcs_cmd, u8 param); | 221 | int dsi_vc_dcs_write_0(struct omap_dss_device *dssdev, int channel, |
222 | int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); | 222 | u8 dcs_cmd); |
223 | int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); | 223 | int dsi_vc_dcs_write_1(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, |
224 | int dsi_vc_dcs_read_1(int channel, u8 dcs_cmd, u8 *data); | 224 | u8 param); |
225 | int dsi_vc_dcs_read_2(int channel, u8 dcs_cmd, u8 *data1, u8 *data2); | 225 | int dsi_vc_dcs_write_nosync(struct omap_dss_device *dssdev, int channel, |
226 | int dsi_vc_set_max_rx_packet_size(int channel, u16 len); | 226 | u8 *data, int len); |
227 | int dsi_vc_send_null(int channel); | 227 | int dsi_vc_dcs_read(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, |
228 | int dsi_vc_send_bta_sync(int channel); | 228 | u8 *buf, int buflen); |
229 | int dsi_vc_dcs_read_1(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, | ||
230 | u8 *data); | ||
231 | int dsi_vc_dcs_read_2(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, | ||
232 | u8 *data1, u8 *data2); | ||
233 | int dsi_vc_set_max_rx_packet_size(struct omap_dss_device *dssdev, int channel, | ||
234 | u16 len); | ||
235 | int dsi_vc_send_null(struct omap_dss_device *dssdev, int channel); | ||
236 | int dsi_vc_send_bta_sync(struct omap_dss_device *dssdev, int channel); | ||
229 | 237 | ||
230 | /* Board specific data */ | 238 | /* Board specific data */ |
231 | struct omap_dss_board_info { | 239 | struct omap_dss_board_info { |
@@ -575,7 +583,8 @@ int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask, | |||
575 | #define to_dss_driver(x) container_of((x), struct omap_dss_driver, driver) | 583 | #define to_dss_driver(x) container_of((x), struct omap_dss_driver, driver) |
576 | #define to_dss_device(x) container_of((x), struct omap_dss_device, dev) | 584 | #define to_dss_device(x) container_of((x), struct omap_dss_device, dev) |
577 | 585 | ||
578 | void omapdss_dsi_vc_enable_hs(int channel, bool enable); | 586 | void omapdss_dsi_vc_enable_hs(struct omap_dss_device *dssdev, int channel, |
587 | bool enable); | ||
579 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); | 588 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); |
580 | 589 | ||
581 | int omap_dsi_prepare_update(struct omap_dss_device *dssdev, | 590 | int omap_dsi_prepare_update(struct omap_dss_device *dssdev, |