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()34 if (!phy_pdev || !msm_dsi->phy) { in dsi_get_phy()39 msm_dsi->phy_dev = get_device(&phy_pdev->dev); in dsi_get_phy()44 static void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument46 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 …]
56 struct msm_dsi { struct92 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument93 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);97 static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) in msm_dsi_device_connected() argument99 return msm_dsi->panel || msm_dsi->external_bridge; in msm_dsi_device_connected()102 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);177 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
483 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local484 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()498 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local499 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()1798 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1801 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1813 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1877 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
160 struct msm_dsi *dsi[2];357 struct msm_dsi;361 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,370 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument