Lines Matching refs:rf_val
10037 u8 rf_val; in rt2800_rf_lp_config() local
10046 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 17); in rt2800_rf_lp_config()
10047 rf_val |= 0x80; in rt2800_rf_lp_config()
10048 rt2800_rfcsr_write_bank(rt2x00dev, 5, 17, rf_val); in rt2800_rf_lp_config()
10054 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); in rt2800_rf_lp_config()
10055 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10056 rf_val |= 0x3F; in rt2800_rf_lp_config()
10057 rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); in rt2800_rf_lp_config()
10058 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); in rt2800_rf_lp_config()
10059 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10060 rf_val |= 0x3F; in rt2800_rf_lp_config()
10061 rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); in rt2800_rf_lp_config()
10067 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); in rt2800_rf_lp_config()
10068 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10069 rf_val |= 0x34; in rt2800_rf_lp_config()
10070 rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); in rt2800_rf_lp_config()
10071 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); in rt2800_rf_lp_config()
10072 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10073 rf_val |= 0x34; in rt2800_rf_lp_config()
10074 rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); in rt2800_rf_lp_config()
10115 u8 bbp_val, rf_val; in rt2800_bw_filter_calibration() local
10164 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); in rt2800_bw_filter_calibration()
10165 rf_val |= 0x3; in rt2800_bw_filter_calibration()
10166 rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); in rt2800_bw_filter_calibration()
10168 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); in rt2800_bw_filter_calibration()
10169 rf_val |= 0x1; in rt2800_bw_filter_calibration()
10170 rt2800_rfcsr_write_bank(rt2x00dev, 5, 1, rf_val); in rt2800_bw_filter_calibration()
10175 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); in rt2800_bw_filter_calibration()
10176 if (((rf_val & 0x1) == 0x00) || (cnt == 40)) in rt2800_bw_filter_calibration()
10181 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); in rt2800_bw_filter_calibration()
10182 rf_val &= (~0x3); in rt2800_bw_filter_calibration()
10183 rf_val |= 0x1; in rt2800_bw_filter_calibration()
10184 rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); in rt2800_bw_filter_calibration()
10210 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 8); in rt2800_bw_filter_calibration()
10211 rf_val &= (~0x04); in rt2800_bw_filter_calibration()
10213 rf_val |= 0x4; in rt2800_bw_filter_calibration()
10215 rt2800_rfcsr_write_bank(rt2x00dev, 5, 8, rf_val); in rt2800_bw_filter_calibration()
10222 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); in rt2800_bw_filter_calibration()
10223 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10224 rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); in rt2800_bw_filter_calibration()
10225 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); in rt2800_bw_filter_calibration()
10226 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10227 rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); in rt2800_bw_filter_calibration()
10230 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); in rt2800_bw_filter_calibration()
10231 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10232 rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); in rt2800_bw_filter_calibration()
10233 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); in rt2800_bw_filter_calibration()
10234 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10235 rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val); in rt2800_bw_filter_calibration()
10253 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); in rt2800_bw_filter_calibration()
10254 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10255 rf_val |= tx_agc_fc; in rt2800_bw_filter_calibration()
10256 rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); in rt2800_bw_filter_calibration()
10257 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); in rt2800_bw_filter_calibration()
10258 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10259 rf_val |= tx_agc_fc; in rt2800_bw_filter_calibration()
10260 rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); in rt2800_bw_filter_calibration()
10262 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); in rt2800_bw_filter_calibration()
10263 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10264 rf_val |= rx_agc_fc; in rt2800_bw_filter_calibration()
10265 rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); in rt2800_bw_filter_calibration()
10266 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); in rt2800_bw_filter_calibration()
10267 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10268 rf_val |= rx_agc_fc; in rt2800_bw_filter_calibration()
10269 rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val); in rt2800_bw_filter_calibration()