Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/clk/
Dclk-versaclock5.c172 u32 div_int; member
434 u32 div_int, div_frc; in vc5_pll_recalc_rate() local
439 div_int = (fb[0] << 4) | (fb[1] >> 4); in vc5_pll_recalc_rate()
443 return (parent_rate * div_int) + ((parent_rate * div_frc) >> 24); in vc5_pll_recalc_rate()
450 u32 div_int; in vc5_pll_round_rate() local
459 div_int = rate / *parent_rate; in vc5_pll_round_rate()
460 if (div_int > 0xfff) in vc5_pll_round_rate()
468 hwdata->div_int = div_int; in vc5_pll_round_rate()
471 return (*parent_rate * div_int) + ((*parent_rate * div_frc) >> 24); in vc5_pll_round_rate()
481 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate()
[all …]
Dclk-versaclock7.c772 u32 *div_int, u64 *div_frac) in vc7_calc_fod_1st_stage() argument
776 *div_int = (u32)div64_u64_rem(parent_rate, rate, &rem); in vc7_calc_fod_1st_stage()
/Linux-v6.1/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()