dsi.h (6e0eb52eba9e2c8d56e4e6826faa2bd6fd5dcf0c) | dsi.h (4ff9d4cbc15a1ac169eaabf2e3d282b7d2d3799d) |
---|---|
1/* 2 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 and 6 * only version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 77 unchanged lines hidden (view full) --- 86void msm_dsi_manager_bridge_destroy(struct drm_bridge *bridge); 87struct drm_connector *msm_dsi_manager_connector_init(u8 id); 88struct drm_connector *msm_dsi_manager_ext_bridge_init(u8 id); 89int msm_dsi_manager_phy_enable(int id, 90 const unsigned long bit_rate, const unsigned long esc_rate, 91 u32 *clk_pre, u32 *clk_post); 92void msm_dsi_manager_phy_disable(int id); 93int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg); | 1/* 2 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 and 6 * only version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 77 unchanged lines hidden (view full) --- 86void msm_dsi_manager_bridge_destroy(struct drm_bridge *bridge); 87struct drm_connector *msm_dsi_manager_connector_init(u8 id); 88struct drm_connector *msm_dsi_manager_ext_bridge_init(u8 id); 89int msm_dsi_manager_phy_enable(int id, 90 const unsigned long bit_rate, const unsigned long esc_rate, 91 u32 *clk_pre, u32 *clk_post); 92void msm_dsi_manager_phy_disable(int id); 93int msm_dsi_manager_cmd_xfer(int id, const struct mipi_dsi_msg *msg); |
94bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 iova, u32 len); | 94bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len); |
95int msm_dsi_manager_register(struct msm_dsi *msm_dsi); 96void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi); 97 98/* msm dsi */ 99static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) 100{ 101 return msm_dsi->panel || msm_dsi->external_bridge; 102} --- 37 unchanged lines hidden (view full) --- 140 const struct mipi_dsi_msg *msg); 141void msm_dsi_host_xfer_restore(struct mipi_dsi_host *host, 142 const struct mipi_dsi_msg *msg); 143int msm_dsi_host_cmd_tx(struct mipi_dsi_host *host, 144 const struct mipi_dsi_msg *msg); 145int msm_dsi_host_cmd_rx(struct mipi_dsi_host *host, 146 const struct mipi_dsi_msg *msg); 147void msm_dsi_host_cmd_xfer_commit(struct mipi_dsi_host *host, | 95int msm_dsi_manager_register(struct msm_dsi *msm_dsi); 96void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi); 97 98/* msm dsi */ 99static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) 100{ 101 return msm_dsi->panel || msm_dsi->external_bridge; 102} --- 37 unchanged lines hidden (view full) --- 140 const struct mipi_dsi_msg *msg); 141void msm_dsi_host_xfer_restore(struct mipi_dsi_host *host, 142 const struct mipi_dsi_msg *msg); 143int msm_dsi_host_cmd_tx(struct mipi_dsi_host *host, 144 const struct mipi_dsi_msg *msg); 145int msm_dsi_host_cmd_rx(struct mipi_dsi_host *host, 146 const struct mipi_dsi_msg *msg); 147void msm_dsi_host_cmd_xfer_commit(struct mipi_dsi_host *host, |
148 u32 iova, u32 len); | 148 u32 dma_base, u32 len); |
149int msm_dsi_host_enable(struct mipi_dsi_host *host); 150int msm_dsi_host_disable(struct mipi_dsi_host *host); 151int msm_dsi_host_power_on(struct mipi_dsi_host *host); 152int msm_dsi_host_power_off(struct mipi_dsi_host *host); 153int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host, 154 struct drm_display_mode *mode); 155struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host, 156 unsigned long *panel_flags); --- 23 unchanged lines hidden --- | 149int msm_dsi_host_enable(struct mipi_dsi_host *host); 150int msm_dsi_host_disable(struct mipi_dsi_host *host); 151int msm_dsi_host_power_on(struct mipi_dsi_host *host); 152int msm_dsi_host_power_off(struct mipi_dsi_host *host); 153int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host, 154 struct drm_display_mode *mode); 155struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host, 156 unsigned long *panel_flags); --- 23 unchanged lines hidden --- |