Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9003_phy.c152 u32 freq, chan_frac, div, channelSel = 0, reg32 = 0; in ar9003_hw_set_channel() local
169 chan_frac = (((freq * 4) % div) * 0x20000) / div; in ar9003_hw_set_channel()
170 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()
174 chan_frac = (((freq * 2) % 75) * 0x20000) / 75; in ar9003_hw_set_channel()
175 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()
189 chan_frac = ((freq % 75) * 0x20000) / 75; in ar9003_hw_set_channel()
190 channelSel = (channelSel << 17) | chan_frac; in ar9003_hw_set_channel()