dsi.h (ef2cd4273f5392c47ed5cc87f83ec55c15354ee6) dsi.h (858c595a3f5d66db1ed003fdefef374ea4a8c961)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#ifndef __DSI_CONNECTOR_H__
7#define __DSI_CONNECTOR_H__
8

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

104int msm_dsi_host_cmd_rx(struct mipi_dsi_host *host,
105 const struct mipi_dsi_msg *msg);
106void msm_dsi_host_cmd_xfer_commit(struct mipi_dsi_host *host,
107 u32 dma_base, u32 len);
108int msm_dsi_host_enable(struct mipi_dsi_host *host);
109int msm_dsi_host_disable(struct mipi_dsi_host *host);
110int msm_dsi_host_power_on(struct mipi_dsi_host *host,
111 struct msm_dsi_phy_shared_timings *phy_shared_timings,
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#ifndef __DSI_CONNECTOR_H__
7#define __DSI_CONNECTOR_H__
8

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

104int msm_dsi_host_cmd_rx(struct mipi_dsi_host *host,
105 const struct mipi_dsi_msg *msg);
106void msm_dsi_host_cmd_xfer_commit(struct mipi_dsi_host *host,
107 u32 dma_base, u32 len);
108int msm_dsi_host_enable(struct mipi_dsi_host *host);
109int msm_dsi_host_disable(struct mipi_dsi_host *host);
110int msm_dsi_host_power_on(struct mipi_dsi_host *host,
111 struct msm_dsi_phy_shared_timings *phy_shared_timings,
112 bool is_bonded_dsi);
112 bool is_bonded_dsi, struct msm_dsi_phy *phy);
113int msm_dsi_host_power_off(struct mipi_dsi_host *host);
114int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host,
115 const struct drm_display_mode *mode);
116struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host);
117unsigned long msm_dsi_host_get_mode_flags(struct mipi_dsi_host *host);
118struct drm_bridge *msm_dsi_host_get_bridge(struct mipi_dsi_host *host);
119int msm_dsi_host_register(struct mipi_dsi_host *host, bool check_defer);
120void msm_dsi_host_unregister(struct mipi_dsi_host *host);

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

171void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
172void msm_dsi_phy_set_usecase(struct msm_dsi_phy *phy,
173 enum msm_dsi_phy_usecase uc);
174int msm_dsi_phy_get_clk_provider(struct msm_dsi_phy *phy,
175 struct clk **byte_clk_provider, struct clk **pixel_clk_provider);
176void msm_dsi_phy_pll_save_state(struct msm_dsi_phy *phy);
177int msm_dsi_phy_pll_restore_state(struct msm_dsi_phy *phy);
178void msm_dsi_phy_snapshot(struct msm_disp_state *disp_state, struct msm_dsi_phy *phy);
113int msm_dsi_host_power_off(struct mipi_dsi_host *host);
114int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host,
115 const struct drm_display_mode *mode);
116struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host);
117unsigned long msm_dsi_host_get_mode_flags(struct mipi_dsi_host *host);
118struct drm_bridge *msm_dsi_host_get_bridge(struct mipi_dsi_host *host);
119int msm_dsi_host_register(struct mipi_dsi_host *host, bool check_defer);
120void msm_dsi_host_unregister(struct mipi_dsi_host *host);

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

171void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
172void msm_dsi_phy_set_usecase(struct msm_dsi_phy *phy,
173 enum msm_dsi_phy_usecase uc);
174int msm_dsi_phy_get_clk_provider(struct msm_dsi_phy *phy,
175 struct clk **byte_clk_provider, struct clk **pixel_clk_provider);
176void msm_dsi_phy_pll_save_state(struct msm_dsi_phy *phy);
177int msm_dsi_phy_pll_restore_state(struct msm_dsi_phy *phy);
178void msm_dsi_phy_snapshot(struct msm_disp_state *disp_state, struct msm_dsi_phy *phy);
179bool msm_dsi_phy_set_continuous_clock(struct msm_dsi_phy *phy, bool enable);
179
180#endif /* __DSI_CONNECTOR_H__ */
181
180
181#endif /* __DSI_CONNECTOR_H__ */
182