Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dutil.h41 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() function
62 return s32_div_u32_round_down(dividend + divisor / 2, divisor, NULL); in s32_div_u32_round_closest()
H A Drtw8851b.c1190 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8851b_set_csi_tone_idx()
1236 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, in rtw8851b_set_nbi_tone_idx()
1240 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8851b_set_nbi_tone_idx()
1245 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8851b_set_nbi_tone_idx()
H A Drtw8852c.c1229 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8852c_set_csi_tone_idx()
1283 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, &nbi_frac_idx); in rtw8852c_set_nbi_tone_idx()
1286 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx()
1291 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx()