Searched refs:msm_dsi (Results 1 – 5 of 5) sorted by relevance
8 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi) in msm_dsi_is_cmd_mode() argument10 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); in msm_dsi_is_cmd_mode()15 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi) in msm_dsi_get_dsc_config() argument17 return msm_dsi_host_get_dsc_config(msm_dsi->host); in msm_dsi_get_dsc_config()20 static int dsi_get_phy(struct msm_dsi *msm_dsi) in dsi_get_phy() argument22 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy()34 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy()35 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy()44 if (!msm_dsi->phy) { in dsi_get_phy()53 static void dsi_destroy(struct msm_dsi *msm_dsi) in dsi_destroy() argument[all …]
24 struct msm_dsi *dsi[DSI_MAX];37 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi()42 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi()70 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_setup_components() local71 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_setup_components()72 struct msm_dsi *clk_master_dsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_setup_components()73 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); in dsi_mgr_setup_components()81 msm_dsi_phy_set_usecase(msm_dsi->phy, MSM_DSI_PHY_STANDALONE); in dsi_mgr_setup_components()82 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);
340 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_suspend() local341 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_suspend()355 struct msm_dsi *msm_dsi = platform_get_drvdata(pdev); in msm_dsi_runtime_resume() local356 struct mipi_dsi_host *host = msm_dsi->host; in msm_dsi_runtime_resume()1841 int msm_dsi_host_init(struct msm_dsi *msm_dsi) in msm_dsi_host_init() argument1844 struct platform_device *pdev = msm_dsi->pdev; in msm_dsi_host_init()1854 msm_dsi->host = &msm_host->base; in msm_dsi_host_init()1943 msm_dsi->id = msm_host->id; in msm_dsi_host_init()
113 struct msm_dsi *dsi[MSM_DSI_CONTROLLER_COUNT];322 struct msm_dsi;328 int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, struct drm_device *dev,330 void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi);331 bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi);332 bool msm_dsi_is_bonded_dsi(struct msm_dsi *msm_dsi);333 bool msm_dsi_is_master_dsi(struct msm_dsi *msm_dsi);334 struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi);342 static inline int msm_dsi_modeset_init(struct msm_dsi *msm_dsi, in msm_dsi_modeset_init() argument348 static inline void msm_dsi_snapshot(struct msm_disp_state *disp_state, struct msm_dsi *msm_dsi) in msm_dsi_snapshot() argument[all …]