Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-versaclock5.c171 u32 div_int; member
419 u32 div_int, div_frc; in vc5_pll_recalc_rate() local
424 div_int = (fb[0] << 4) | (fb[1] >> 4); in vc5_pll_recalc_rate()
428 return (parent_rate * div_int) + ((parent_rate * div_frc) >> 24); in vc5_pll_recalc_rate()
435 u32 div_int; in vc5_pll_round_rate() local
444 div_int = rate / *parent_rate; in vc5_pll_round_rate()
445 if (div_int > 0xfff) in vc5_pll_round_rate()
453 hwdata->div_int = div_int; in vc5_pll_round_rate()
456 return (*parent_rate * div_int) + ((*parent_rate * div_frc) >> 24); in vc5_pll_round_rate()
466 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1614 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local
1705 div_int = ((fvco3 * (PLL_2064_MHZ >> 4)) / fref3) << 4; in wlc_lcnphy_radio_2064_channel_tune_4313()
1709 div_int++; in wlc_lcnphy_radio_2064_channel_tune_4313()
1715 (u8) (div_int >> 4)); in wlc_lcnphy_radio_2064_channel_tune_4313()
1717 (u8) (div_int << 4)); in wlc_lcnphy_radio_2064_channel_tune_4313()