Searched refs:msm_dsi (Results 1 – 5 of 5) sorted by relevance
8 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi) in msm_dsi_get_encoder() argument10 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() argument18 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() argument51 if (!msm_dsi) in dsi_destroy()[all …]
22 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() local70 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 …]
59 struct msm_dsi { struct95 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument96 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() argument102 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);
487 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local488 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() local503 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() argument1830 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()
162 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