Lines Matching refs:spur_freq
1178 u32 spur_freq; in rtw8851b_set_csi_tone_idx() local
1181 spur_freq = rtw8851b_spur_freq(rtwdev, chan); in rtw8851b_set_csi_tone_idx()
1182 if (spur_freq == 0) { in rtw8851b_set_csi_tone_idx()
1188 freq_diff = (spur_freq - chan->freq) * 1000000; in rtw8851b_set_csi_tone_idx()
1213 u32 spur_freq, fc; in rtw8851b_set_nbi_tone_idx() local
1216 spur_freq = rtw8851b_spur_freq(rtwdev, chan); in rtw8851b_set_nbi_tone_idx()
1217 if (spur_freq == 0) { in rtw8851b_set_nbi_tone_idx()
1227 fc = (spur_freq > fc) ? fc + 40 : fc - 40; in rtw8851b_set_nbi_tone_idx()
1228 if ((fc > spur_freq && in rtw8851b_set_nbi_tone_idx()
1230 (fc < spur_freq && in rtw8851b_set_nbi_tone_idx()
1235 freq_diff = (spur_freq - fc) * 1000000; in rtw8851b_set_nbi_tone_idx()