Home
last modified time | relevance | path

Searched refs:dlane_bps (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/phy/cadence/
Dcdns-dphy.c126 u64 dlane_bps; in cdns_dsi_get_dphy_pll_cfg() local
141 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
143 if (dlane_bps > 2500000000UL || dlane_bps < 160000000UL) in cdns_dsi_get_dphy_pll_cfg()
145 else if (dlane_bps >= 1250000000) in cdns_dsi_get_dphy_pll_cfg()
147 else if (dlane_bps >= 630000000) in cdns_dsi_get_dphy_pll_cfg()
149 else if (dlane_bps >= 320000000) in cdns_dsi_get_dphy_pll_cfg()
151 else if (dlane_bps >= 160000000) in cdns_dsi_get_dphy_pll_cfg()
154 cfg->pll_fbdiv = DIV_ROUND_UP_ULL(dlane_bps * 2 * cfg->pll_opdiv * in cdns_dsi_get_dphy_pll_cfg()
/Linux-v6.1/drivers/gpu/drm/bridge/
Dcdns-dsi.c561 unsigned long long dlane_bps; in cdns_dsi_adjust_phy_config() local
586 dlane_bps = (unsigned long long)dpi_hz * adj_dsi_htotal; in cdns_dsi_adjust_phy_config()
590 if (do_div(dlane_bps, lanes * dpi_htotal)) in cdns_dsi_adjust_phy_config()
594 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config()