Lines Matching refs:rfvalue

8506 	u8 rfb5r1_org, rfb7r1_org, rfvalue;  in rt2800_rf_self_txdc_cal()  local
8528 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); in rt2800_rf_self_txdc_cal()
8529 if ((rfvalue & 0x04) != 0x4) in rt2800_rf_self_txdc_cal()
8537 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 1); in rt2800_rf_self_txdc_cal()
8538 if ((rfvalue & 0x04) != 0x4) in rt2800_rf_self_txdc_cal()
8573 u8 rfvalue; in rt2800_r_calibration() local
8609 rfvalue = (MAC_RF_BYPASS0 | 0x3004); in rt2800_r_calibration()
8610 rt2800_register_write(rt2x00dev, RF_BYPASS0, rfvalue); in rt2800_r_calibration()
8611 rfvalue = (MAC_RF_CONTROL0 | (~0x3002)); in rt2800_r_calibration()
8612 rt2800_register_write(rt2x00dev, RF_CONTROL0, rfvalue); in rt2800_r_calibration()
8687 u8 saverfb0r2, saverfb5r4, saverfb7r4, rfvalue; in rt2800_rxdcoc_calibration() local
8691 rfvalue = saverfb0r2; in rt2800_rxdcoc_calibration()
8692 rfvalue |= 0x03; in rt2800_rxdcoc_calibration()
8693 rt2800_rfcsr_write_bank(rt2x00dev, 0, 2, rfvalue); in rt2800_rxdcoc_calibration()
9117 u8 rfvalue = 0; in rt2800_rf_configstore() local
9120 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 1); in rt2800_rf_configstore()
9123 rf_reg_record[CHAIN_0][0].value = rfvalue; in rt2800_rf_configstore()
9124 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 2); in rt2800_rf_configstore()
9127 rf_reg_record[CHAIN_0][1].value = rfvalue; in rt2800_rf_configstore()
9128 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 35); in rt2800_rf_configstore()
9131 rf_reg_record[CHAIN_0][2].value = rfvalue; in rt2800_rf_configstore()
9132 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 42); in rt2800_rf_configstore()
9135 rf_reg_record[CHAIN_0][3].value = rfvalue; in rt2800_rf_configstore()
9136 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 4, 0); in rt2800_rf_configstore()
9139 rf_reg_record[CHAIN_0][4].value = rfvalue; in rt2800_rf_configstore()
9140 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 4, 2); in rt2800_rf_configstore()
9143 rf_reg_record[CHAIN_0][5].value = rfvalue; in rt2800_rf_configstore()
9144 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 4, 34); in rt2800_rf_configstore()
9147 rf_reg_record[CHAIN_0][6].value = rfvalue; in rt2800_rf_configstore()
9148 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); in rt2800_rf_configstore()
9151 rf_reg_record[CHAIN_0][7].value = rfvalue; in rt2800_rf_configstore()
9152 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); in rt2800_rf_configstore()
9155 rf_reg_record[CHAIN_0][8].value = rfvalue; in rt2800_rf_configstore()
9156 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 17); in rt2800_rf_configstore()
9159 rf_reg_record[CHAIN_0][9].value = rfvalue; in rt2800_rf_configstore()
9160 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 18); in rt2800_rf_configstore()
9163 rf_reg_record[CHAIN_0][10].value = rfvalue; in rt2800_rf_configstore()
9164 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 19); in rt2800_rf_configstore()
9167 rf_reg_record[CHAIN_0][11].value = rfvalue; in rt2800_rf_configstore()
9168 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 5, 20); in rt2800_rf_configstore()
9171 rf_reg_record[CHAIN_0][12].value = rfvalue; in rt2800_rf_configstore()
9173 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 1); in rt2800_rf_configstore()
9176 rf_reg_record[CHAIN_1][0].value = rfvalue; in rt2800_rf_configstore()
9177 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 2); in rt2800_rf_configstore()
9180 rf_reg_record[CHAIN_1][1].value = rfvalue; in rt2800_rf_configstore()
9181 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 35); in rt2800_rf_configstore()
9184 rf_reg_record[CHAIN_1][2].value = rfvalue; in rt2800_rf_configstore()
9185 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 0, 42); in rt2800_rf_configstore()
9188 rf_reg_record[CHAIN_1][3].value = rfvalue; in rt2800_rf_configstore()
9189 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 6, 0); in rt2800_rf_configstore()
9192 rf_reg_record[CHAIN_1][4].value = rfvalue; in rt2800_rf_configstore()
9193 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 6, 2); in rt2800_rf_configstore()
9196 rf_reg_record[CHAIN_1][5].value = rfvalue; in rt2800_rf_configstore()
9197 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 6, 34); in rt2800_rf_configstore()
9200 rf_reg_record[CHAIN_1][6].value = rfvalue; in rt2800_rf_configstore()
9201 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 3); in rt2800_rf_configstore()
9204 rf_reg_record[CHAIN_1][7].value = rfvalue; in rt2800_rf_configstore()
9205 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 4); in rt2800_rf_configstore()
9208 rf_reg_record[CHAIN_1][8].value = rfvalue; in rt2800_rf_configstore()
9209 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 17); in rt2800_rf_configstore()
9212 rf_reg_record[CHAIN_1][9].value = rfvalue; in rt2800_rf_configstore()
9213 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 18); in rt2800_rf_configstore()
9216 rf_reg_record[CHAIN_1][10].value = rfvalue; in rt2800_rf_configstore()
9217 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 19); in rt2800_rf_configstore()
9220 rf_reg_record[CHAIN_1][11].value = rfvalue; in rt2800_rf_configstore()
9221 rfvalue = rt2800_rfcsr_read_bank(rt2x00dev, 7, 20); in rt2800_rf_configstore()
9224 rf_reg_record[CHAIN_1][12].value = rfvalue; in rt2800_rf_configstore()
9596 u8 rfvalue; in rt2800_loft_iq_calibration() local
9701 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9702 rt2800_rfcsr_write_dccal(rt2x00dev, 3, rfvalue); in rt2800_loft_iq_calibration()
9703 rt2800_rfcsr_write_dccal(rt2x00dev, 4, rfvalue); in rt2800_loft_iq_calibration()
9721 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9723 rt2800_rfcsr_write_dccal(rt2x00dev, 3, rfvalue); in rt2800_loft_iq_calibration()
9724 rt2800_rfcsr_write_dccal(rt2x00dev, 4, rfvalue); in rt2800_loft_iq_calibration()
9910 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9911 rt2800_rfcsr_write_dccal(rt2x00dev, 3, rfvalue); in rt2800_loft_iq_calibration()
9912 rt2800_rfcsr_write_dccal(rt2x00dev, 4, rfvalue); in rt2800_loft_iq_calibration()