Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9002_phy.c69 u32 freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9002_hw_set_channel() local
86 channelSel = CHANSEL_2G(freq); in ar9002_hw_set_channel()
132 channelSel = CHANSEL_5G(freq); in ar9002_hw_set_channel()
143 channelSel = ndiv & 0x1ff; in ar9002_hw_set_channel()
145 channelSel = (channelSel << 17) | channelFrac; in ar9002_hw_set_channel()
151 (fracMode << 28) | (aModeRefSel << 26) | (channelSel); in ar9002_hw_set_channel()
Dar9003_phy.c152 u32 freq, chan_frac, div, channelSel = 0, reg32 = 0; in ar9003_hw_set_channel() local
168 channelSel = (freq * 4) / div; in ar9003_hw_set_channel()
170 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()
173 channelSel = (freq * 2) / 75; in ar9003_hw_set_channel()
175 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()
177 channelSel = CHANSEL_2G(freq) >> 1; in ar9003_hw_set_channel()
180 channelSel = CHANSEL_2G(freq); in ar9003_hw_set_channel()
188 channelSel = freq / 75; in ar9003_hw_set_channel()
190 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()
192 channelSel = CHANSEL_5G(freq); in ar9003_hw_set_channel()
[all …]
Dar5008_phy.c213 u32 channelSel = 0; in ar5008_hw_set_channel() local
227 channelSel = ((freq - 672) * 2 - 3040) / 10; in ar5008_hw_set_channel()
230 channelSel = ((freq - 704) * 2 - 3040) / 10; in ar5008_hw_set_channel()
237 channelSel = (channelSel << 2) & 0xff; in ar5008_hw_set_channel()
238 channelSel = ath9k_hw_reverse_bits(channelSel, 8); in ar5008_hw_set_channel()
251 channelSel = in ar5008_hw_set_channel()
255 channelSel = in ar5008_hw_set_channel()
262 channelSel = ath9k_hw_reverse_bits((freq - 4800) / 5, 8); in ar5008_hw_set_channel()
272 (channelSel << 8) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar5008_hw_set_channel()