Lines Matching refs:rf_val

10003 	u8 rf_val;  in rt2800_rf_lp_config()  local
10012 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 17); in rt2800_rf_lp_config()
10013 rf_val |= 0x80; in rt2800_rf_lp_config()
10014 rt2800_rfcsr_write_bank(rt2x00dev, 5, 17, rf_val); in rt2800_rf_lp_config()
10020 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); in rt2800_rf_lp_config()
10021 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10022 rf_val |= 0x3F; in rt2800_rf_lp_config()
10023 rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); in rt2800_rf_lp_config()
10024 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); in rt2800_rf_lp_config()
10025 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10026 rf_val |= 0x3F; in rt2800_rf_lp_config()
10027 rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); in rt2800_rf_lp_config()
10033 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); in rt2800_rf_lp_config()
10034 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10035 rf_val |= 0x34; in rt2800_rf_lp_config()
10036 rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); in rt2800_rf_lp_config()
10037 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); in rt2800_rf_lp_config()
10038 rf_val &= (~0x3F); in rt2800_rf_lp_config()
10039 rf_val |= 0x34; in rt2800_rf_lp_config()
10040 rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); in rt2800_rf_lp_config()
10081 u8 bbp_val, rf_val; in rt2800_bw_filter_calibration() local
10130 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); in rt2800_bw_filter_calibration()
10131 rf_val |= 0x3; in rt2800_bw_filter_calibration()
10132 rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); in rt2800_bw_filter_calibration()
10134 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); in rt2800_bw_filter_calibration()
10135 rf_val |= 0x1; in rt2800_bw_filter_calibration()
10136 rt2800_rfcsr_write_bank(rt2x00dev, 5, 1, rf_val); in rt2800_bw_filter_calibration()
10141 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); in rt2800_bw_filter_calibration()
10142 if (((rf_val & 0x1) == 0x00) || (cnt == 40)) in rt2800_bw_filter_calibration()
10147 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); in rt2800_bw_filter_calibration()
10148 rf_val &= (~0x3); in rt2800_bw_filter_calibration()
10149 rf_val |= 0x1; in rt2800_bw_filter_calibration()
10150 rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); in rt2800_bw_filter_calibration()
10176 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 8); in rt2800_bw_filter_calibration()
10177 rf_val &= (~0x04); in rt2800_bw_filter_calibration()
10179 rf_val |= 0x4; in rt2800_bw_filter_calibration()
10181 rt2800_rfcsr_write_bank(rt2x00dev, 5, 8, rf_val); in rt2800_bw_filter_calibration()
10188 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); in rt2800_bw_filter_calibration()
10189 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10190 rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); in rt2800_bw_filter_calibration()
10191 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); in rt2800_bw_filter_calibration()
10192 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10193 rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); in rt2800_bw_filter_calibration()
10196 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); in rt2800_bw_filter_calibration()
10197 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10198 rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); in rt2800_bw_filter_calibration()
10199 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); in rt2800_bw_filter_calibration()
10200 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10201 rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val); in rt2800_bw_filter_calibration()
10219 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); in rt2800_bw_filter_calibration()
10220 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10221 rf_val |= tx_agc_fc; in rt2800_bw_filter_calibration()
10222 rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); in rt2800_bw_filter_calibration()
10223 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); in rt2800_bw_filter_calibration()
10224 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10225 rf_val |= tx_agc_fc; in rt2800_bw_filter_calibration()
10226 rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); in rt2800_bw_filter_calibration()
10228 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); in rt2800_bw_filter_calibration()
10229 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10230 rf_val |= rx_agc_fc; in rt2800_bw_filter_calibration()
10231 rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); in rt2800_bw_filter_calibration()
10232 rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); in rt2800_bw_filter_calibration()
10233 rf_val &= (~0x7F); in rt2800_bw_filter_calibration()
10234 rf_val |= rx_agc_fc; in rt2800_bw_filter_calibration()
10235 rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val); in rt2800_bw_filter_calibration()