Searched refs:refclk_rate (Results 1 – 5 of 5) sorted by relevance
37 static int ahci_dm816_get_mpy_bits(unsigned long refclk_rate) in ahci_dm816_get_mpy_bits() argument47 pll_multiplier = AHCI_DM816_PLL_OUT / (refclk_rate / 100); in ahci_dm816_get_mpy_bits()63 unsigned long refclk_rate; in ahci_dm816_phy_init() local77 refclk_rate = clk_get_rate(hpriv->clks[1].clk); in ahci_dm816_phy_init()78 if ((refclk_rate % 100) != 0) { in ahci_dm816_phy_init()83 mpy = ahci_dm816_get_mpy_bits(refclk_rate); in ahci_dm816_phy_init()
44 static u32 ahci_da850_calculate_mpy(unsigned long refclk_rate) in ahci_da850_calculate_mpy() argument56 WARN((refclk_rate % 10) != 0, "refclk must be divisible by 10"); in ahci_da850_calculate_mpy()57 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
156 unsigned long refclk_rate; member280 fin = icn->refclk_rate; in chipone_configure_pll()640 icn->refclk_rate = clk_get_rate(icn->refclk); in chipone_parse_dt()641 if (icn->refclk_rate < 10000000 || icn->refclk_rate > 154000000) { in chipone_parse_dt()643 icn->refclk_rate); in chipone_parse_dt()
281 u32 refclk_rate; in ti_sn_bridge_set_refclk_freq() local286 refclk_rate = clk_get_rate(pdata->refclk); in ti_sn_bridge_set_refclk_freq()291 refclk_rate = ti_sn_bridge_get_dsi_freq(pdata) * 1000; in ti_sn_bridge_set_refclk_freq()298 if (refclk_lut[i] == refclk_rate) in ti_sn_bridge_set_refclk_freq()
191 u32 refclk_rate; member958 unsigned long error = ssc_lookup[i].refclk_rate / 10000; in xpsgtr_get_ref_clocks()960 if (abs(rate - ssc_lookup[i].refclk_rate) < error) { in xpsgtr_get_ref_clocks()