Lines Matching refs:rf
221 .rf = {
655 * FIXME: Antenna selection for the rf 2529 is very confusing
774 struct rf_channel *rf, const int txpower)
780 rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower));
781 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset);
796 rt61pci_rf_write(rt2x00dev, 1, rf->rf1);
797 rt61pci_rf_write(rt2x00dev, 2, rf->rf2);
798 rt61pci_rf_write(rt2x00dev, 3, rf->rf3 & ~0x00000004);
799 rt61pci_rf_write(rt2x00dev, 4, rf->rf4);
803 rt61pci_rf_write(rt2x00dev, 1, rf->rf1);
804 rt61pci_rf_write(rt2x00dev, 2, rf->rf2);
805 rt61pci_rf_write(rt2x00dev, 3, rf->rf3 | 0x00000004);
806 rt61pci_rf_write(rt2x00dev, 4, rf->rf4);
810 rt61pci_rf_write(rt2x00dev, 1, rf->rf1);
811 rt61pci_rf_write(rt2x00dev, 2, rf->rf2);
812 rt61pci_rf_write(rt2x00dev, 3, rf->rf3 & ~0x00000004);
813 rt61pci_rf_write(rt2x00dev, 4, rf->rf4);
821 struct rf_channel rf;
823 rf.rf1 = rt2x00_rf_read(rt2x00dev, 1);
824 rf.rf2 = rt2x00_rf_read(rt2x00dev, 2);
825 rf.rf3 = rt2x00_rf_read(rt2x00dev, 3);
826 rf.rf4 = rt2x00_rf_read(rt2x00dev, 4);
828 rt61pci_config_channel(rt2x00dev, &rf, txpower);
901 rt61pci_config_channel(rt2x00dev, &libconf->rf,