Home
last modified time | relevance | path

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

/linux/drivers/phy/cadence/
A Dcdns-dphy.c101 u64 dlane_bps; in cdns_dsi_get_dphy_pll_cfg() local
116 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
118 if (dlane_bps > 2500000000UL || dlane_bps < 160000000UL) in cdns_dsi_get_dphy_pll_cfg()
120 else if (dlane_bps >= 1250000000) in cdns_dsi_get_dphy_pll_cfg()
122 else if (dlane_bps >= 630000000) in cdns_dsi_get_dphy_pll_cfg()
124 else if (dlane_bps >= 320000000) in cdns_dsi_get_dphy_pll_cfg()
126 else if (dlane_bps >= 160000000) in cdns_dsi_get_dphy_pll_cfg()
129 cfg->pll_fbdiv = DIV_ROUND_UP_ULL(dlane_bps * 2 * cfg->pll_opdiv * in cdns_dsi_get_dphy_pll_cfg()
/linux/drivers/gpu/drm/bridge/
A Dcdns-dsi.c560 unsigned long long dlane_bps; in cdns_dsi_adjust_phy_config() local
585 dlane_bps = (unsigned long long)dpi_hz * adj_dsi_htotal; in cdns_dsi_adjust_phy_config()
589 if (do_div(dlane_bps, lanes * dpi_htotal)) in cdns_dsi_adjust_phy_config()
593 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config()

Completed in 8 milliseconds