Searched refs:s32_div_u32_round_down (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/ |
D | util.h | 23 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() function 44 return s32_div_u32_round_down(dividend + divisor / 2, divisor, NULL); in s32_div_u32_round_closest()
|
D | rtw8852c.c | 1330 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8852c_set_csi_tone_idx() 1384 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, &nbi_frac_idx); in rtw8852c_set_nbi_tone_idx() 1387 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx() 1392 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx()
|