Searched refs:chan_frac (Results 1 – 1 of 1) sorted by relevance
152 u32 freq, chan_frac, div, channelSel = 0, reg32 = 0; in ar9003_hw_set_channel() local169 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()