Lines Matching refs:bbp_val
8385 u8 bbp_val; in rt2800_bbp_core_soft_reset() local
8387 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset()
8388 bbp_val |= 0x1; in rt2800_bbp_core_soft_reset()
8389 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset()
8393 bbp_val = rt2800_bbp_read(rt2x00dev, 4); in rt2800_bbp_core_soft_reset()
8394 rt2x00_set_field8(&bbp_val, BBP4_BANDWIDTH, 2 * is_ht40); in rt2800_bbp_core_soft_reset()
8395 rt2800_bbp_write(rt2x00dev, 4, bbp_val); in rt2800_bbp_core_soft_reset()
8399 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset()
8400 bbp_val &= (~0x1); in rt2800_bbp_core_soft_reset()
8401 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset()
8453 u8 bbp_val; in rt2800_lp_tx_filter_bw_cal() local
8461 bbp_val = rt2800_bbp_read(rt2x00dev, 159); in rt2800_lp_tx_filter_bw_cal()
8462 if (bbp_val == 0x02 || cnt == 20) in rt2800_lp_tx_filter_bw_cal()
8468 bbp_val = rt2800_bbp_dcoc_read(rt2x00dev, 0x39); in rt2800_lp_tx_filter_bw_cal()
8469 cal_val = bbp_val & 0x7F; in rt2800_lp_tx_filter_bw_cal()
8485 u8 bbp_val, rf_val; in rt2800_bw_filter_calibration() local
8557 bbp_val = rt2800_bbp_read(rt2x00dev, 23); in rt2800_bw_filter_calibration()
8558 bbp_val &= (~0x1F); in rt2800_bw_filter_calibration()
8559 bbp_val |= 0x10; in rt2800_bw_filter_calibration()
8560 rt2800_bbp_write(rt2x00dev, 23, bbp_val); in rt2800_bw_filter_calibration()
8610 bbp_val = rt2800_bbp_dcoc_read(rt2x00dev, 2); in rt2800_bw_filter_calibration()
8611 bbp_val &= (~0x6); in rt2800_bw_filter_calibration()
8612 rt2800_bbp_dcoc_write(rt2x00dev, 2, bbp_val); in rt2800_bw_filter_calibration()
8618 bbp_val = rt2800_bbp_dcoc_read(rt2x00dev, 2); in rt2800_bw_filter_calibration()
8619 bbp_val |= 0x6; in rt2800_bw_filter_calibration()
8620 rt2800_bbp_dcoc_write(rt2x00dev, 2, bbp_val); in rt2800_bw_filter_calibration()
8716 bbp_val = rt2800_bbp_read(rt2x00dev, 4); in rt2800_bw_filter_calibration()
8717 rt2x00_set_field8(&bbp_val, BBP4_BANDWIDTH, in rt2800_bw_filter_calibration()
8719 rt2800_bbp_write(rt2x00dev, 4, bbp_val); in rt2800_bw_filter_calibration()