Lines Matching refs:cfg_hnd
141 const struct msm_dsi_cfg_handler *cfg_hnd; member
204 const struct msm_dsi_cfg_handler *cfg_hnd = NULL; in dsi_get_config() local
231 cfg_hnd = msm_dsi_cfg_get(major, minor); in dsi_get_config()
240 return cfg_hnd; in dsi_get_config()
316 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_clk_init() local
317 const struct msm_dsi_config *cfg = cfg_hnd->cfg; in dsi_clk_init()
348 if (cfg_hnd->ops->clk_init_ver) in dsi_clk_init()
349 ret = cfg_hnd->ops->clk_init_ver(msm_host); in dsi_clk_init()
361 if (!msm_host->cfg_hnd) in msm_dsi_runtime_suspend()
376 if (!msm_host->cfg_hnd) in msm_dsi_runtime_resume()
773 (msm_host->cfg_hnd->major == MSM_DSI_VER_MAJOR_6G && in msm_dsi_host_is_wide_bus_enabled()
774 msm_host->cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V2_5_0); in msm_dsi_host_is_wide_bus_enabled()
782 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_ctrl_enable() local
822 if (cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) { in dsi_ctrl_enable()
825 if (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_3) in dsi_ctrl_enable()
845 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_enable()
846 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) in dsi_ctrl_enable()
854 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_enable()
855 (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && in dsi_ctrl_enable()
1289 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_add() local
1307 data = cfg_hnd->ops->tx_buf_get(msm_host); in dsi_cmd_dma_add()
1332 if (cfg_hnd->ops->tx_buf_put) in dsi_cmd_dma_add()
1333 cfg_hnd->ops->tx_buf_put(msm_host); in dsi_cmd_dma_add()
1405 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_tx() local
1410 ret = cfg_hnd->ops->dma_base_get(msm_host, &dma_base); in dsi_cmd_dma_tx()
1925 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_host_get_id()
1967 msm_host->cfg_hnd = dsi_get_config(msm_host); in msm_dsi_host_init()
1968 if (!msm_host->cfg_hnd) in msm_dsi_host_init()
1971 cfg = msm_host->cfg_hnd->cfg; in msm_dsi_host_init()
2055 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_modeset_init() local
2060 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); in msm_dsi_host_modeset_init()
2104 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_prepare() local
2117 cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_xfer_prepare()
2118 cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_xfer_prepare()
2139 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_restore() local
2149 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_xfer_restore()
2165 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_cmd_rx() local
2207 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in msm_dsi_host_cmd_rx()
2208 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { in msm_dsi_host_cmd_rx()
2338 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_get_phy_clk_req() local
2341 ret = cfg_hnd->ops->calc_clk_rate(msm_host, is_bonded_dsi); in msm_dsi_host_get_phy_clk_req()
2428 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_on() local
2443 ret = regulator_bulk_enable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_on()
2452 ret = cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_power_on()
2454 ret = cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_power_on()
2478 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_on()
2481 regulator_bulk_disable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_on()
2491 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_off() local
2503 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_off()
2506 regulator_bulk_disable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_off()