Searched refs:msm_dsi (Results 1 – 5 of 5) sorted by relevance
16 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi) in msm_dsi_get_encoder() argument18 if (!msm_dsi || !msm_dsi_device_connected(msm_dsi)) in msm_dsi_get_encoder()21 return (msm_dsi->device_flags & MIPI_DSI_MODE_VIDEO) ? in msm_dsi_get_encoder()22 msm_dsi->encoders[MSM_DSI_VIDEO_ENCODER_ID] : in msm_dsi_get_encoder()23 msm_dsi->encoders[MSM_DSI_CMD_ENCODER_ID]; in msm_dsi_get_encoder()26 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument28 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()40 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()44 if (!phy_pdev || !msm_dsi->phy) { in dsi_get_phy()49 msm_dsi->phy_dev = get_device(&phy_pdev->dev); in dsi_get_phy()[all …]
30 struct msm_dsi *dsi[DSI_MAX];43 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()48 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()77 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_host_register() local78 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_host_register()79 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_host_register()84 ret = msm_dsi_host_register(msm_dsi->host, true); in dsi_mgr_host_register()88 src_pll = msm_dsi_phy_get_pll(msm_dsi->phy); in dsi_mgr_host_register()89 ret = msm_dsi_host_set_src_pll(msm_dsi->host, src_pll); in dsi_mgr_host_register()93 struct msm_dsi *mdsi = IS_MASTER_DSI_LINK(id) ? in dsi_mgr_host_register()[all …]
53 struct msm_dsi { struct93 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument94 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);163 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
1686 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1689 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1762 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1763 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
103 struct msm_dsi *dsi[2];258 struct msm_dsi;267 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,276 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument