Home
last modified time | relevance | path

Searched refs:bb_spur (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9002_phy.c171 int bb_spur = AR_NO_SPUR; in ar9002_hw_spur_mitigate() local
204 bb_spur = cur_bb_spur; in ar9002_hw_spur_mitigate()
209 bb_spur = cur_bb_spur; in ar9002_hw_spur_mitigate()
214 if (AR_NO_SPUR == bb_spur) { in ar9002_hw_spur_mitigate()
223 bin = bb_spur * 320; in ar9002_hw_spur_mitigate()
243 if (bb_spur < 0) { in ar9002_hw_spur_mitigate()
245 bb_spur_off = bb_spur + 10; in ar9002_hw_spur_mitigate()
248 bb_spur_off = bb_spur - 10; in ar9002_hw_spur_mitigate()
252 bb_spur_off = bb_spur; in ar9002_hw_spur_mitigate()
257 ((bb_spur * 262144) / in ar9002_hw_spur_mitigate()
[all …]
H A Dar5008_phy.c435 int bb_spur = AR_NO_SPUR; in ar5008_hw_spur_mitigate() local
452 bb_spur = cur_bb_spur; in ar5008_hw_spur_mitigate()
457 if (AR_NO_SPUR == bb_spur) in ar5008_hw_spur_mitigate()
460 bin = bb_spur * 32; in ar5008_hw_spur_mitigate()
477 spur_delta_phase = ((bb_spur * 524288) / 100) & in ar5008_hw_spur_mitigate()
481 spur_freq_sd = ((bb_spur * 2048) / denominator) & 0x3ff; in ar5008_hw_spur_mitigate()