Searched refs:div_frac (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/thermal/ |
D | gov_power_allocator.c | 47 static inline s64 div_frac(s64 x, s64 y) in div_frac() function 261 d = div_frac(d, jiffies_to_msecs(tz->passive_delay_jiffies)); in pid_controller()
|
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
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-v5.15/arch/x86/kvm/ |
D | x86.c | 2175 static uint32_t div_frac(uint32_t dividend, uint32_t divisor) in div_frac() function 2206 *pmultiplier = div_frac(scaled64, tps32); in kvm_get_time_scale()
|