Lines Matching refs:cfg_hnd
132 const struct msm_dsi_cfg_handler *cfg_hnd; member
195 const struct msm_dsi_cfg_handler *cfg_hnd = NULL; in dsi_get_config() local
221 cfg_hnd = msm_dsi_cfg_get(major, minor); in dsi_get_config()
230 return cfg_hnd; in dsi_get_config()
274 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_clk_init() local
275 const struct msm_dsi_config *cfg = cfg_hnd->cfg; in dsi_clk_init()
317 if (cfg_hnd->ops->clk_init_ver) in dsi_clk_init()
318 ret = cfg_hnd->ops->clk_init_ver(msm_host); in dsi_clk_init()
330 if (!msm_host->cfg_hnd) in msm_dsi_runtime_suspend()
345 if (!msm_host->cfg_hnd) in msm_dsi_runtime_resume()
724 (msm_host->cfg_hnd->major == MSM_DSI_VER_MAJOR_6G && in msm_dsi_host_is_wide_bus_enabled()
725 msm_host->cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V2_5_0); in msm_dsi_host_is_wide_bus_enabled()
733 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_ctrl_enable() local
773 if (cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) { in dsi_ctrl_enable()
776 if (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_3) in dsi_ctrl_enable()
796 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_enable()
797 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) in dsi_ctrl_enable()
805 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_enable()
806 (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && in dsi_ctrl_enable()
1240 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_add() local
1258 data = cfg_hnd->ops->tx_buf_get(msm_host); in dsi_cmd_dma_add()
1283 if (cfg_hnd->ops->tx_buf_put) in dsi_cmd_dma_add()
1284 cfg_hnd->ops->tx_buf_put(msm_host); in dsi_cmd_dma_add()
1354 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_tx() local
1359 ret = cfg_hnd->ops->dma_base_get(msm_host, &dma_base); in dsi_cmd_dma_tx()
1853 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_host_get_id()
1898 msm_host->cfg_hnd = dsi_get_config(msm_host); in msm_dsi_host_init()
1899 if (!msm_host->cfg_hnd) { in msm_dsi_host_init()
1903 cfg = msm_host->cfg_hnd->cfg; in msm_dsi_host_init()
1997 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_modeset_init() local
2002 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); in msm_dsi_host_modeset_init()
2046 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_prepare() local
2059 cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_xfer_prepare()
2060 cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_xfer_prepare()
2081 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_restore() local
2091 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_xfer_restore()
2107 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_cmd_rx() local
2149 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in msm_dsi_host_cmd_rx()
2150 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { in msm_dsi_host_cmd_rx()
2280 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_get_phy_clk_req() local
2283 ret = cfg_hnd->ops->calc_clk_rate(msm_host, is_bonded_dsi); in msm_dsi_host_get_phy_clk_req()
2370 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_on() local
2385 ret = regulator_bulk_enable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_on()
2394 ret = cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_power_on()
2396 ret = cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_power_on()
2420 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_on()
2423 regulator_bulk_disable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_on()
2433 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_off() local
2445 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_off()
2448 regulator_bulk_disable(msm_host->cfg_hnd->cfg->num_regulators, in msm_dsi_host_power_off()