Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/bridge/
Dcdns-dsi.c557 u64 dlane_bps, dlane_bps_max, fbdiv, fbdiv_max, adj_dsi_htotal; in cdns_dsi_get_dphy_pll_cfg() local
584 dlane_bps = (u64)dpi_hz * adj_dsi_htotal; in cdns_dsi_get_dphy_pll_cfg()
587 if (do_div(dlane_bps, dsi_nlanes * dpi_htotal)) in cdns_dsi_get_dphy_pll_cfg()
591 dlane_bps *= 8; in cdns_dsi_get_dphy_pll_cfg()
593 if (dlane_bps > 2500000000UL || dlane_bps < 160000000UL) in cdns_dsi_get_dphy_pll_cfg()
595 else if (dlane_bps >= 1250000000) in cdns_dsi_get_dphy_pll_cfg()
597 else if (dlane_bps >= 630000000) in cdns_dsi_get_dphy_pll_cfg()
599 else if (dlane_bps >= 320000000) in cdns_dsi_get_dphy_pll_cfg()
601 else if (dlane_bps >= 160000000) in cdns_dsi_get_dphy_pll_cfg()
608 dlane_bps_max = dlane_bps + DIV_ROUND_DOWN_ULL(dlane_bps, 500); in cdns_dsi_get_dphy_pll_cfg()
[all …]