Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/
Ddsi.c8 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi) in msm_dsi_get_encoder() argument
10 if (!msm_dsi || !msm_dsi_device_connected(msm_dsi)) in msm_dsi_get_encoder()
13 return msm_dsi->encoder; in msm_dsi_get_encoder()
16 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument
18 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()
30 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()
31 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy()
40 if (!msm_dsi->phy) { in dsi_get_phy()
49 static void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument
51 if (!msm_dsi) in dsi_destroy()
[all …]
Ddsi_manager.c22 struct msm_dsi *dsi[DSI_MAX];
35 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()
40 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()
69 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components() local
70 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()
71 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_setup_components()
72 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, true); in dsi_mgr_setup_components()
81 msm_dsi_phy_set_usecase(msm_dsi->phy, MSM_DSI_PHY_STANDALONE); in dsi_mgr_setup_components()
82 src_pll = msm_dsi_phy_get_pll(msm_dsi->phy); in dsi_mgr_setup_components()
[all …]
Ddsi.h59 struct msm_dsi { struct
95 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument
96 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);
100 static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) in msm_dsi_device_connected() argument
102 return msm_dsi->panel || msm_dsi->external_bridge; in msm_dsi_device_connected()
105 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);
180 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
Ddsi_host.c487 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local
488 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()
502 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local
503 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()
1827 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument
1830 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()
1842 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()
1919 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_drv.h162 struct msm_dsi *dsi[2];
367 struct msm_dsi;
371 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,
380 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument