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->panel) in msm_dsi_get_encoder()21 return (msm_dsi->panel_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 void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument28 if (!msm_dsi) in dsi_destroy()31 msm_dsi_manager_unregister(msm_dsi); in dsi_destroy()32 if (msm_dsi->host) { in dsi_destroy()33 msm_dsi_host_destroy(msm_dsi->host); in dsi_destroy()[all …]
18 struct msm_dsi *dsi[DSI_MAX];31 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()36 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()92 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_connector_detect() local93 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_connector_detect()98 if (!msm_dsi->panel) { in dsi_mgr_connector_detect()99 msm_dsi->panel = msm_dsi_host_get_panel(msm_dsi->host, in dsi_mgr_connector_detect()100 &msm_dsi->panel_flags); in dsi_mgr_connector_detect()107 if (!msm_dsi->panel && IS_DUAL_PANEL() && in dsi_mgr_connector_detect()109 msm_dsi->panel = msm_dsi_host_get_panel( in dsi_mgr_connector_detect()[all …]
41 struct msm_dsi { struct70 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument71 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);74 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);100 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
1444 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1447 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1511 msm_dsi->phy = msm_dsi_phy_init(pdev, msm_host->cfg->phy_type, in msm_dsi_host_init()1513 if (!msm_dsi->phy) { in msm_dsi_host_init()1518 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1519 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
86 struct msm_dsi *dsi[2];242 struct msm_dsi;251 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,260 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument