Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/
Dclk-versaclock5.c142 u32 div_int; member
406 u32 div_int, div_frc; in vc5_pll_recalc_rate() local
411 div_int = (fb[0] << 4) | (fb[1] >> 4); in vc5_pll_recalc_rate()
415 return (parent_rate * div_int) + ((parent_rate * div_frc) >> 24); in vc5_pll_recalc_rate()
422 u32 div_int; in vc5_pll_round_rate() local
431 div_int = rate / *parent_rate; in vc5_pll_round_rate()
432 if (div_int > 0xfff) in vc5_pll_round_rate()
440 hwdata->div_int = div_int; in vc5_pll_round_rate()
443 return (*parent_rate * div_int) + ((*parent_rate * div_frc) >> 24); in vc5_pll_round_rate()
453 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate()
[all …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1669 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local
1763 div_int = ((fvco3 * (PLL_2064_MHZ >> 4)) / fref3) << 4; in wlc_lcnphy_radio_2064_channel_tune_4313()
1767 div_int++; in wlc_lcnphy_radio_2064_channel_tune_4313()
1773 (u8) (div_int >> 4)); in wlc_lcnphy_radio_2064_channel_tune_4313()
1775 (u8) (div_int << 4)); in wlc_lcnphy_radio_2064_channel_tune_4313()