Lines Matching refs:cfg_hnd
128 const struct msm_dsi_cfg_handler *cfg_hnd; member
201 const struct msm_dsi_cfg_handler *cfg_hnd = NULL; in dsi_get_config() local
240 cfg_hnd = msm_dsi_cfg_get(major, minor); in dsi_get_config()
252 return cfg_hnd; in dsi_get_config()
263 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_disable()
264 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_disable()
279 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_enable()
280 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_enable()
313 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_regulator_init()
314 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_regulator_init()
381 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_clk_init() local
382 const struct msm_dsi_config *cfg = cfg_hnd->cfg; in dsi_clk_init()
439 if (cfg_hnd->ops->clk_init_ver) in dsi_clk_init()
440 ret = cfg_hnd->ops->clk_init_ver(msm_host); in dsi_clk_init()
447 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_bus_clk_enable()
471 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_bus_clk_disable()
487 if (!msm_host->cfg_hnd) in msm_dsi_runtime_suspend()
502 if (!msm_host->cfg_hnd) in msm_dsi_runtime_resume()
820 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_ctrl_config() local
874 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
875 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) in dsi_ctrl_config()
883 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
884 (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && in dsi_ctrl_config()
1148 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_add() local
1166 data = cfg_hnd->ops->tx_buf_get(msm_host); in dsi_cmd_dma_add()
1191 if (cfg_hnd->ops->tx_buf_put) in dsi_cmd_dma_add()
1192 cfg_hnd->ops->tx_buf_put(msm_host); in dsi_cmd_dma_add()
1262 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_tx() local
1267 ret = cfg_hnd->ops->dma_base_get(msm_host, &dma_base); in dsi_cmd_dma_tx()
1782 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_host_get_id()
1830 msm_host->cfg_hnd = dsi_get_config(msm_host); in msm_dsi_host_init()
1831 if (!msm_host->cfg_hnd) { in msm_dsi_host_init()
1845 msm_host->ctrl_base += msm_host->cfg_hnd->cfg->io_offset; in msm_dsi_host_init()
1908 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_modeset_init() local
1929 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); in msm_dsi_host_modeset_init()
1987 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_prepare() local
2000 cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_xfer_prepare()
2021 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_restore() local
2031 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_xfer_restore()
2047 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_cmd_rx() local
2089 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in msm_dsi_host_cmd_rx()
2090 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { in msm_dsi_host_cmd_rx()
2260 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_get_phy_clk_req() local
2263 ret = cfg_hnd->ops->calc_clk_rate(msm_host, is_dual_dsi); in msm_dsi_host_get_phy_clk_req()
2329 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_on() local
2348 ret = cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_power_on()
2375 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_on()
2387 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_off() local
2402 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_off()