Lines Matching defs:chansel
168 uint8_t chansel;
173 chansel = ((freq - 672) * 2 - 3040) / 10;
176 chansel = ((freq - 704) * 2 - 3040) / 10;
181 chansel <<= 2;
196 chansel = (freq - 4800) / 20;
197 chansel <<= 2;
201 chansel = (freq - 4800) / 10;
202 chansel <<= 1;
209 chansel = (freq - 4800) / 5;
215 chansel = ar5416_reverse_bits(chansel, 8);
216 phy |= chansel << 8 | 1 << 5 | 1;