Lines Matching refs:cfg_hnd

133 	const struct msm_dsi_cfg_handler *cfg_hnd;  member
209 const struct msm_dsi_cfg_handler *cfg_hnd = NULL; in dsi_get_config() local
235 cfg_hnd = msm_dsi_cfg_get(major, minor); in dsi_get_config()
244 return cfg_hnd; in dsi_get_config()
255 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_disable()
256 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_disable()
271 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_enable()
272 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_enable()
305 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_regulator_init()
306 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_regulator_init()
373 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_clk_init() local
374 const struct msm_dsi_config *cfg = cfg_hnd->cfg; in dsi_clk_init()
430 if (cfg_hnd->ops->clk_init_ver) in dsi_clk_init()
431 ret = cfg_hnd->ops->clk_init_ver(msm_host); in dsi_clk_init()
443 if (!msm_host->cfg_hnd) in msm_dsi_runtime_suspend()
458 if (!msm_host->cfg_hnd) in msm_dsi_runtime_resume()
801 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_ctrl_config() local
855 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
856 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) in dsi_ctrl_config()
864 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
865 (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && in dsi_ctrl_config()
1138 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_add() local
1156 data = cfg_hnd->ops->tx_buf_get(msm_host); in dsi_cmd_dma_add()
1181 if (cfg_hnd->ops->tx_buf_put) in dsi_cmd_dma_add()
1182 cfg_hnd->ops->tx_buf_put(msm_host); in dsi_cmd_dma_add()
1252 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_tx() local
1257 ret = cfg_hnd->ops->dma_base_get(msm_host, &dma_base); in dsi_cmd_dma_tx()
1773 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_host_get_id()
1819 msm_host->cfg_hnd = dsi_get_config(msm_host); in msm_dsi_host_init()
1820 if (!msm_host->cfg_hnd) { in msm_dsi_host_init()
1834 msm_host->ctrl_base += msm_host->cfg_hnd->cfg->io_offset; in msm_dsi_host_init()
1923 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_modeset_init() local
1927 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); in msm_dsi_host_modeset_init()
1985 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_prepare() local
1998 cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_xfer_prepare()
1999 cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_xfer_prepare()
2020 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_restore() local
2030 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_xfer_restore()
2046 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_cmd_rx() local
2088 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in msm_dsi_host_cmd_rx()
2089 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { in msm_dsi_host_cmd_rx()
2261 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_get_phy_clk_req() local
2264 ret = cfg_hnd->ops->calc_clk_rate(msm_host, is_bonded_dsi); in msm_dsi_host_get_phy_clk_req()
2351 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_on() local
2370 ret = cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_power_on()
2372 ret = cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_power_on()
2399 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_on()
2411 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_off() local
2426 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_off()