Searched refs:div_frac (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 1614 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local 1707 div_frac = ((fvco3 * (PLL_2064_MHZ >> 4)) % fref3) << 4; in wlc_lcnphy_radio_2064_channel_tune_4313() 1708 while (div_frac >= fref3) { in wlc_lcnphy_radio_2064_channel_tune_4313() 1710 div_frac -= fref3; in wlc_lcnphy_radio_2064_channel_tune_4313() 1712 div_frac = wlc_lcnphy_qdiv_roundup(div_frac, fref3, 20); in wlc_lcnphy_radio_2064_channel_tune_4313() 1719 (u8) (div_frac >> 16)); in wlc_lcnphy_radio_2064_channel_tune_4313() 1720 write_radio_reg(pi, RADIO_2064_REG047, (u8) (div_frac >> 8) & 0xff); in wlc_lcnphy_radio_2064_channel_tune_4313() 1721 write_radio_reg(pi, RADIO_2064_REG048, (u8) div_frac & 0xff); in wlc_lcnphy_radio_2064_channel_tune_4313()
|
/linux/drivers/clk/ |
H A D | clk-versaclock7.c | 772 u32 *div_int, u64 *div_frac) in vc7_calc_fod_1st_stage() argument 777 *div_frac = div64_u64(rem << VC7_FOD_DENOMINATOR_BITS, rate); in vc7_calc_fod_1st_stage()
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 2351 static uint32_t div_frac(uint32_t dividend, uint32_t divisor) in div_frac() function 2382 *pmultiplier = div_frac(scaled64, tps32); in kvm_get_time_scale()
|