Searched refs:msm_dsi (Results 1 – 5 of 5) sorted by relevance
9 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) in msm_dsi_is_cmd_mode() argument11 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); in msm_dsi_is_cmd_mode()16 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) in msm_dsi_get_dsc_config() argument18 return msm_dsi_host_get_dsc_config(msm_dsi->host); in msm_dsi_get_dsc_config()21 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument23 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()35 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()36 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy()45 if (!msm_dsi->phy) { in dsi_get_phy()54 static void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument[all …]
24 struct msm_dsi *dsi[DSI_MAX];63 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()68 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()96 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components() local97 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()98 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_setup_components()99 struct msm_dsi *clk_slave_dsi = dsi_mgr_get_dsi(DSI_CLOCK_SLAVE); in dsi_mgr_setup_components()103 ret = msm_dsi_host_register(msm_dsi->host); in dsi_mgr_setup_components()107 msm_dsi_phy_set_usecase(msm_dsi->phy, MSM_DSI_PHY_STANDALONE); in dsi_mgr_setup_components()108 msm_dsi_host_set_phy_mode(msm_dsi->host, msm_dsi->phy); in dsi_mgr_setup_components()[all …]
34 struct msm_dsi { struct64 int msm_dsi_manager_register(struct msm_dsi *msm_dsi); argument65 void msm_dsi_manager_unregister(struct msm_dsi *msm_dsi);69 static inline bool msm_dsi_device_connected(struct msm_dsi *msm_dsi) in msm_dsi_device_connected() argument71 return msm_dsi->external_bridge; in msm_dsi_device_connected()112 int msm_dsi_host_init(struct msm_dsi *msm_dsi);
374 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local375 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()389 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local390 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()1877 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1880 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1891 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1982 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
121 struct msm_dsi *dsi[2];314 struct msm_dsi;320 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,322 void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi);323 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi);324 bool msm_dsi_is_bonded_dsi(struct msm_dsi *msm_dsi);325 bool msm_dsi_is_master_dsi(struct msm_dsi *msm_dsi);326 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi);334 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument340 static inline void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi) in msm_dsi_snapshot() argument[all …]