Lines Matching refs:channelSel
152 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()
194 channelSel >>= 1; in ar9003_hw_set_channel()
213 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel()
219 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel()