Searched refs:div_frac (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/thermal/ |
D | power_allocator.c | 54 static inline s64 div_frac(s64 x, s64 y) in div_frac() function 243 d = div_frac(d, tz->passive_delay); in pid_controller()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 1669 u32 div_int, div_frac, fvco3, fpfd, fref3, fcal_div; in wlc_lcnphy_radio_2064_channel_tune_4313() local 1765 div_frac = ((fvco3 * (PLL_2064_MHZ >> 4)) % fref3) << 4; in wlc_lcnphy_radio_2064_channel_tune_4313() 1766 while (div_frac >= fref3) { in wlc_lcnphy_radio_2064_channel_tune_4313() 1768 div_frac -= fref3; in wlc_lcnphy_radio_2064_channel_tune_4313() 1770 div_frac = wlc_lcnphy_qdiv_roundup(div_frac, fref3, 20); in wlc_lcnphy_radio_2064_channel_tune_4313() 1777 (u8) (div_frac >> 16)); in wlc_lcnphy_radio_2064_channel_tune_4313() 1778 write_radio_reg(pi, RADIO_2064_REG047, (u8) (div_frac >> 8) & 0xff); in wlc_lcnphy_radio_2064_channel_tune_4313() 1779 write_radio_reg(pi, RADIO_2064_REG048, (u8) div_frac & 0xff); in wlc_lcnphy_radio_2064_channel_tune_4313()
|
/Linux-v5.4/arch/x86/kvm/ |
D | x86.c | 1649 static uint32_t div_frac(uint32_t dividend, uint32_t divisor) in div_frac() function 1680 *pmultiplier = div_frac(scaled64, tps32); in kvm_get_time_scale()
|