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 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) in msm_dsi_is_cmd_mode() argument18 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); in msm_dsi_is_cmd_mode()23 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument25 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()37 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()38 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy()47 if (!msm_dsi->phy) { in dsi_get_phy()[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()68 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components() local69 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()70 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_setup_components()71 struct msm_dsi *clk_slave_dsi = dsi_mgr_get_dsi(DSI_CLOCK_SLAVE); in dsi_mgr_setup_components()75 ret = msm_dsi_host_register(msm_dsi->host, true); in dsi_mgr_setup_components()79 msm_dsi_phy_set_usecase(msm_dsi->phy, MSM_DSI_PHY_STANDALONE); in dsi_mgr_setup_components()80 ret = msm_dsi_host_set_src_pll(msm_dsi->host, msm_dsi->phy); in dsi_mgr_setup_components()[all …]
48 struct msm_dsi { struct83 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument84 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);88 static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) in msm_dsi_device_connected() argument90 return msm_dsi->panel || msm_dsi->external_bridge; in msm_dsi_device_connected()93 struct drm_encoder *msm_dsi_get_encoder(struct msm_dsi *msm_dsi);131 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
474 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local475 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()489 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local490 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()1842 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1845 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1855 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1948 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
154 struct msm_dsi *dsi[2];336 struct msm_dsi;340 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,342 void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi);343 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi);344 bool msm_dsi_is_bonded_dsi(struct msm_dsi *msm_dsi);345 bool msm_dsi_is_master_dsi(struct msm_dsi *msm_dsi);353 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument359 static inline void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi) in msm_dsi_snapshot() argument362 static inline bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) in msm_dsi_is_cmd_mode() argument[all …]