Home
last modified time | relevance | path

Searched refs:msm_dsi (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/msm/dsi/
Ddsi.c8 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) in msm_dsi_is_cmd_mode() argument
10 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); in msm_dsi_is_cmd_mode()
15 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) in msm_dsi_get_dsc_config() argument
17 return msm_dsi_host_get_dsc_config(msm_dsi->host); in msm_dsi_get_dsc_config()
20 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument
22 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()
34 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()
35 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy()
44 if (!msm_dsi->phy) { in dsi_get_phy()
53 static void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument
[all …]
Ddsi_manager.c24 struct msm_dsi *dsi[DSI_MAX];
37 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()
42 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()
70 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components() local
71 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()
72 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_setup_components()
73 struct msm_dsi *clk_slave_dsi = dsi_mgr_get_dsi(DSI_CLOCK_SLAVE); in dsi_mgr_setup_components()
77 ret = msm_dsi_host_register(msm_dsi->host); in dsi_mgr_setup_components()
81 msm_dsi_phy_set_usecase(msm_dsi->phy, MSM_DSI_PHY_STANDALONE); in dsi_mgr_setup_components()
82 msm_dsi_host_set_phy_mode(msm_dsi->host, msm_dsi->phy); in dsi_mgr_setup_components()
[all …]
Ddsi.h34 struct msm_dsi { struct
64 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument
65 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);
69 static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) in msm_dsi_device_connected() argument
71 return msm_dsi->external_bridge; in msm_dsi_device_connected()
112 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
Ddsi_host.c340 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local
341 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()
355 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local
356 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()
1841 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument
1844 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()
1854 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()
1943 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
/drivers/gpu/drm/msm/
Dmsm_drv.h113 struct msm_dsi *dsi[MSM_DSI_CONTROLLER_COUNT];
322 struct msm_dsi;
328 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,
330 void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi);
331 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi);
332 bool msm_dsi_is_bonded_dsi(struct msm_dsi *msm_dsi);
333 bool msm_dsi_is_master_dsi(struct msm_dsi *msm_dsi);
334 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi);
342 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument
348 static inline void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi) in msm_dsi_snapshot() argument
[all …]