Lines Matching refs:cfg_hnd
132 const struct msm_dsi_cfg_handler *cfg_hnd; member
208 const struct msm_dsi_cfg_handler *cfg_hnd = NULL; in dsi_get_config() local
234 cfg_hnd = msm_dsi_cfg_get(major, minor); in dsi_get_config()
243 return cfg_hnd; in dsi_get_config()
254 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_disable()
255 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_disable()
270 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_host_regulator_enable()
271 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_host_regulator_enable()
304 const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs; in dsi_regulator_init()
305 int num = msm_host->cfg_hnd->cfg->reg_cfg.num; in dsi_regulator_init()
372 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_clk_init() local
373 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()
438 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_bus_clk_enable()
462 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_bus_clk_disable()
478 if (!msm_host->cfg_hnd) in msm_dsi_runtime_suspend()
493 if (!msm_host->cfg_hnd) in msm_dsi_runtime_resume()
839 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_ctrl_config() local
893 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
894 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) in dsi_ctrl_config()
902 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in dsi_ctrl_config()
903 (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && in dsi_ctrl_config()
1176 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_add() local
1194 data = cfg_hnd->ops->tx_buf_get(msm_host); in dsi_cmd_dma_add()
1219 if (cfg_hnd->ops->tx_buf_put) in dsi_cmd_dma_add()
1220 cfg_hnd->ops->tx_buf_put(msm_host); in dsi_cmd_dma_add()
1290 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in dsi_cmd_dma_tx() local
1295 ret = cfg_hnd->ops->dma_base_get(msm_host, &dma_base); in dsi_cmd_dma_tx()
1809 const struct msm_dsi_config *cfg = msm_host->cfg_hnd->cfg; in dsi_host_get_id()
1855 msm_host->cfg_hnd = dsi_get_config(msm_host); in msm_dsi_host_init()
1856 if (!msm_host->cfg_hnd) { in msm_dsi_host_init()
1870 msm_host->ctrl_base += msm_host->cfg_hnd->cfg->io_offset; in msm_dsi_host_init()
1943 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_modeset_init() local
1964 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); in msm_dsi_host_modeset_init()
2022 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_prepare() local
2035 cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_xfer_prepare()
2036 cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_xfer_prepare()
2057 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_xfer_restore() local
2067 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_xfer_restore()
2083 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_cmd_rx() local
2125 if ((cfg_hnd->major == MSM_DSI_VER_MAJOR_6G) && in msm_dsi_host_cmd_rx()
2126 (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { in msm_dsi_host_cmd_rx()
2298 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_get_phy_clk_req() local
2301 ret = cfg_hnd->ops->calc_clk_rate(msm_host, is_bonded_dsi); in msm_dsi_host_get_phy_clk_req()
2374 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_on() local
2393 ret = cfg_hnd->ops->link_clk_set_rate(msm_host); in msm_dsi_host_power_on()
2395 ret = cfg_hnd->ops->link_clk_enable(msm_host); in msm_dsi_host_power_on()
2422 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_on()
2434 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; in msm_dsi_host_power_off() local
2449 cfg_hnd->ops->link_clk_disable(msm_host); in msm_dsi_host_power_off()