dsi.h (9d30a4bcf43c255498a537169c9bf279e6ec55de) | dsi.h (eb9d6c7ebe44df4bf077e71de809bb7b216da38c) |
---|---|
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 --- 77 unchanged lines hidden (view full) --- 86bool msm_dsi_manager_validate_current_config(u8 id); 87 88/* msm dsi */ 89static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) 90{ 91 return msm_dsi->panel || msm_dsi->external_bridge; 92} 93 | 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 --- 77 unchanged lines hidden (view full) --- 86bool msm_dsi_manager_validate_current_config(u8 id); 87 88/* msm dsi */ 89static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) 90{ 91 return msm_dsi->panel || msm_dsi->external_bridge; 92} 93 |
94void msm_dsi_snapshot(struct msm_dsi *msm_dsi); | 94void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi); |
95 96struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi); 97 98/* dsi host */ 99struct msm_dsi_host; 100int msm_dsi_host_xfer_prepare(struct mipi_dsi_host *host, 101 const struct mipi_dsi_msg *msg); 102void msm_dsi_host_xfer_restore(struct mipi_dsi_host *host, --- 41 unchanged lines hidden (view full) --- 144void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host); 145void dsi_tx_buf_put_6g(struct msm_dsi_host *msm_host); 146int dsi_dma_base_get_6g(struct msm_dsi_host *msm_host, uint64_t *iova); 147int dsi_dma_base_get_v2(struct msm_dsi_host *msm_host, uint64_t *iova); 148int dsi_clk_init_v2(struct msm_dsi_host *msm_host); 149int dsi_clk_init_6g_v2(struct msm_dsi_host *msm_host); 150int dsi_calc_clk_rate_v2(struct msm_dsi_host *msm_host, bool is_dual_dsi); 151int dsi_calc_clk_rate_6g(struct msm_dsi_host *msm_host, bool is_dual_dsi); | 95 96struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi); 97 98/* dsi host */ 99struct msm_dsi_host; 100int msm_dsi_host_xfer_prepare(struct mipi_dsi_host *host, 101 const struct mipi_dsi_msg *msg); 102void msm_dsi_host_xfer_restore(struct mipi_dsi_host *host, --- 41 unchanged lines hidden (view full) --- 144void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host); 145void dsi_tx_buf_put_6g(struct msm_dsi_host *msm_host); 146int dsi_dma_base_get_6g(struct msm_dsi_host *msm_host, uint64_t *iova); 147int dsi_dma_base_get_v2(struct msm_dsi_host *msm_host, uint64_t *iova); 148int dsi_clk_init_v2(struct msm_dsi_host *msm_host); 149int dsi_clk_init_6g_v2(struct msm_dsi_host *msm_host); 150int dsi_calc_clk_rate_v2(struct msm_dsi_host *msm_host, bool is_dual_dsi); 151int dsi_calc_clk_rate_6g(struct msm_dsi_host *msm_host, bool is_dual_dsi); |
152void msm_dsi_host_snapshot(struct mipi_dsi_host *host); | 152void msm_dsi_host_snapshot(struct msm_disp_state *disp_state, struct mipi_dsi_host *host); |
153/* dsi phy */ 154struct msm_dsi_phy; 155struct msm_dsi_phy_shared_timings { 156 u32 clk_post; 157 u32 clk_pre; 158 bool clk_pre_inc_by_2; 159}; 160 --- 21 unchanged lines hidden --- | 153/* dsi phy */ 154struct msm_dsi_phy; 155struct msm_dsi_phy_shared_timings { 156 u32 clk_post; 157 u32 clk_pre; 158 bool clk_pre_inc_by_2; 159}; 160 --- 21 unchanged lines hidden --- |