Lines Matching defs:rfprog
130 static const struct rfprog {
1121 const struct rfprog *rfprog;
1131 rfprog = (sc->rf_rev == RT2573_RF_5225 ||
1135 for (i = 0; rfprog[i].chan != chan; i++) {
1157 rum_rf_write(sc, RT2573_RF1, rfprog[i].r1);
1158 rum_rf_write(sc, RT2573_RF2, rfprog[i].r2);
1159 rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7);
1160 rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10);
1162 rum_rf_write(sc, RT2573_RF1, rfprog[i].r1);
1163 rum_rf_write(sc, RT2573_RF2, rfprog[i].r2);
1164 rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7 | 1);
1165 rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10);
1167 rum_rf_write(sc, RT2573_RF1, rfprog[i].r1);
1168 rum_rf_write(sc, RT2573_RF2, rfprog[i].r2);
1169 rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7);
1170 rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10);