Lines Matching refs:rfprog
189 static const struct rfprog {
1913 const struct rfprog *rfprog;
1922 rfprog = (sc->rfprog == 0) ? rt2661_rf5225_1 : rt2661_rf5225_2;
1925 for (i = 0; rfprog[i].chan != chan; i++);
1946 rt2661_rf_write(sc, RAL_RF1, rfprog[i].r1);
1947 rt2661_rf_write(sc, RAL_RF2, rfprog[i].r2);
1948 rt2661_rf_write(sc, RAL_RF3, rfprog[i].r3 | power << 7);
1949 rt2661_rf_write(sc, RAL_RF4, rfprog[i].r4 | sc->rffreq << 10);
1953 rt2661_rf_write(sc, RAL_RF1, rfprog[i].r1);
1954 rt2661_rf_write(sc, RAL_RF2, rfprog[i].r2);
1955 rt2661_rf_write(sc, RAL_RF3, rfprog[i].r3 | power << 7 | 1);
1956 rt2661_rf_write(sc, RAL_RF4, rfprog[i].r4 | sc->rffreq << 10);
1960 rt2661_rf_write(sc, RAL_RF1, rfprog[i].r1);
1961 rt2661_rf_write(sc, RAL_RF2, rfprog[i].r2);
1962 rt2661_rf_write(sc, RAL_RF3, rfprog[i].r3 | power << 7);
1963 rt2661_rf_write(sc, RAL_RF4, rfprog[i].r4 | sc->rffreq << 10);
2162 sc->rfprog = (val >> 8) & 0x3;
2166 DPRINTF(sc, "RF prog=%d\nRF freq=%d\n", sc->rfprog, sc->rffreq);