Searched refs:s32_div_u32_round_down (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | util.h | 43 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() function 64 return s32_div_u32_round_down(dividend + divisor / 2, divisor, NULL); in s32_div_u32_round_closest()
|
D | rtw8851b.c | 1218 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8851b_set_csi_tone_idx() 1264 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, in rtw8851b_set_nbi_tone_idx() 1268 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8851b_set_nbi_tone_idx() 1273 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8851b_set_nbi_tone_idx()
|
D | rtw8922a.c | 1299 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8922a_set_csi_tone_idx() 1357 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, in rtw8922a_set_nbi_tone_idx() 1361 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8922a_set_nbi_tone_idx() 1366 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8922a_set_nbi_tone_idx()
|
D | rtw8852c.c | 1291 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8852c_set_csi_tone_idx() 1345 nbi_idx = s32_div_u32_round_down(freq_diff, CARRIER_SPACING_312_5, &nbi_frac_idx); in rtw8852c_set_nbi_tone_idx() 1348 s32_div_u32_round_down(nbi_idx + 32, 64, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx() 1353 s32_div_u32_round_down(nbi_idx, tone_para, &nbi_tone_idx); in rtw8852c_set_nbi_tone_idx()
|
D | rtw8852b_common.c | 1164 s32_div_u32_round_down(csi_idx, MAX_TONE_NUM, &csi_tone_idx); in rtw8852bt_set_csi_tone_idx()
|