/linux/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_paprd.c | 60 REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B0, in ar9003_paprd_enable() 63 REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B1, in ar9003_paprd_enable() 66 REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B2, in ar9003_paprd_enable() 184 REG_RMW_FIELD(ah, ctrl0[i], in ar9003_paprd_setup_single_table() 186 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() 188 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() 190 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() 192 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() 194 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() 196 REG_RMW_FIELD(ah, ctrl1[i], in ar9003_paprd_setup_single_table() [all …]
|
A D | ar9003_phy.c | 328 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm_clear() 330 REG_RMW_FIELD(ah, AR_PHY_TIMING11, in ar9003_hw_spur_ofdm_clear() 332 REG_RMW_FIELD(ah, AR_PHY_TIMING11, in ar9003_hw_spur_ofdm_clear() 336 REG_RMW_FIELD(ah, AR_PHY_TIMING11, in ar9003_hw_spur_ofdm_clear() 340 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm_clear() 349 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm_clear() 351 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm_clear() 380 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm() 395 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm() 416 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_spur_ofdm() [all …]
|
A D | ar9002_calib.c | 55 REG_RMW_FIELD(ah, AR_PHY_TIMING_CTRL4(0), in ar9002_hw_setup_calibration() 253 REG_RMW_FIELD(ah, AR_PHY_TIMING_CTRL4(i), in ar9002_hw_iqcalibrate() 256 REG_RMW_FIELD(ah, AR_PHY_TIMING_CTRL4(i), in ar9002_hw_iqcalibrate() 400 REG_RMW_FIELD(ah, AR_PHY_CH0_TX_PWRCTRL11, in ar9287_hw_olc_temp_compensation() 402 REG_RMW_FIELD(ah, AR_PHY_CH1_TX_PWRCTRL11, in ar9287_hw_olc_temp_compensation() 430 REG_RMW_FIELD(ah, in ar9280_hw_olc_temp_compensation() 496 REG_RMW_FIELD(ah, AR9285_AN_RF2G6, AR9271_AN_RF2G6_OFFS, 0); in ar9271_hw_pa_cal() 574 REG_RMW_FIELD(ah, AR9285_AN_TOP3, AR9285_AN_TOP3_PWDDAC, 1); in ar9285_hw_pa_cal() 578 REG_RMW_FIELD(ah, AR9285_AN_RF2G2, AR9285_AN_RF2G2_OFFCAL, 0); in ar9285_hw_pa_cal() 579 REG_RMW_FIELD(ah, AR9285_AN_RF2G7, AR9285_AN_RF2G7_PWDDB, 0); in ar9285_hw_pa_cal() [all …]
|
A D | ar9003_calib.c | 50 REG_RMW_FIELD(ah, AR_PHY_TIMING4, in ar9003_hw_setup_calibration() 278 REG_RMW_FIELD(ah, offset_array[i], in ar9003_hw_iqcalibrate() 281 REG_RMW_FIELD(ah, offset_array[i], in ar9003_hw_iqcalibrate() 949 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 953 REG_RMW_FIELD(ah, tx_corr_coeff[im][i], in ar9003_hw_tx_iq_cal_outlier_detection() 967 REG_RMW_FIELD(ah, AR_PHY_RX_IQCAL_CORR_B0, in ar9003_hw_tx_iq_cal_outlier_detection() 988 REG_RMW_FIELD(ah, AR_PHY_TX_FORCED_GAIN, in ar9003_hw_tx_iq_cal_run() 991 REG_RMW_FIELD(ah, AR_PHY_TX_IQCAL_START, in ar9003_hw_tx_iq_cal_run() 1102 REG_RMW_FIELD(ah, in ar9003_hw_tx_iq_cal_post_proc() 1112 REG_RMW_FIELD(ah, in ar9003_hw_tx_iq_cal_post_proc() [all …]
|
A D | ar9003_rtt.c | 50 REG_RMW_FIELD(ah, AR_PHY_RTT_CTRL, in ar9003_hw_rtt_set_mask() 61 REG_RMW_FIELD(ah, AR_PHY_RTT_CTRL, in ar9003_hw_rtt_force_restore() 215 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(0), in ar9003_hw_rtt_restore() 218 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(1), in ar9003_hw_rtt_restore() 222 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(0), in ar9003_hw_rtt_restore() 225 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(1), in ar9003_hw_rtt_restore() 229 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(1), in ar9003_hw_rtt_restore() 231 REG_RMW_FIELD(ah, AR_PHY_65NM_RXRF_AGC(0), in ar9003_hw_rtt_restore()
|
A D | ar9003_mci.c | 26 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup() 29 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup() 833 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL, in ar9003_mci_osla_setup() 835 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL, in ar9003_mci_osla_setup() 838 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL, in ar9003_mci_osla_setup() 841 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL, in ar9003_mci_osla_setup() 878 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL2, in ar9003_mci_set_btcoex_ctrl_9565_1ANT() 897 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL2, in ar9003_mci_set_btcoex_ctrl_9565_2ANT() 961 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL3, in ar9003_mci_reset() 972 REG_RMW_FIELD(ah, AR_BTCOEX_CTRL2, in ar9003_mci_reset() [all …]
|
A D | eeprom_def.c | 64 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL6_0, in ath9k_olc_get_pdadcs() 66 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL6_1, in ath9k_olc_get_pdadcs() 69 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL7, in ath9k_olc_get_pdadcs() 449 REG_RMW_FIELD(ah, in ath9k_hw_def_set_gain() 452 REG_RMW_FIELD(ah, in ath9k_hw_def_set_gain() 563 REG_RMW_FIELD(ah, AR_PHY_DESIRED_SZ, in ath9k_hw_def_set_board_values() 582 REG_RMW_FIELD(ah, AR_PHY_EXT_CCA0, in ath9k_hw_def_set_board_values() 588 REG_RMW_FIELD(ah, AR_PHY_EXT_CCA, in ath9k_hw_def_set_board_values() 594 REG_RMW_FIELD(ah, AR_PHY_RF_CTL2, in ath9k_hw_def_set_board_values() 603 REG_RMW_FIELD(ah, AR_PHY_SETTLING, in ath9k_hw_def_set_board_values() [all …]
|
A D | eeprom_4k.c | 716 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ, in ath9k_hw_4k_set_gain() 718 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ, in ath9k_hw_4k_set_gain() 720 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ, in ath9k_hw_4k_set_gain() 723 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ, in ath9k_hw_4k_set_gain() 727 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ + 0x1000, in ath9k_hw_4k_set_gain() 730 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ + 0x1000, in ath9k_hw_4k_set_gain() 740 REG_RMW_FIELD(ah, AR_PHY_RXGAIN, in ath9k_hw_4k_set_gain() 742 REG_RMW_FIELD(ah, AR_PHY_RXGAIN, in ath9k_hw_4k_set_gain() 745 REG_RMW_FIELD(ah, AR_PHY_RXGAIN + 0x1000, in ath9k_hw_4k_set_gain() 747 REG_RMW_FIELD(ah, AR_PHY_RXGAIN + 0x1000, in ath9k_hw_4k_set_gain() [all …]
|
A D | ar5008_phy.c | 871 REG_RMW_FIELD(ah, AR_PHY_TIMING3, in ar5008_hw_set_delta_slope() 873 REG_RMW_FIELD(ah, AR_PHY_TIMING3, in ar5008_hw_set_delta_slope() 881 REG_RMW_FIELD(ah, AR_PHY_HALFGI, in ar5008_hw_set_delta_slope() 883 REG_RMW_FIELD(ah, AR_PHY_HALFGI, in ar5008_hw_set_delta_slope() 997 REG_RMW_FIELD(ah, AR_PHY_SFCORR_LOW, in ar5008_hw_ani_control_new() 1003 REG_RMW_FIELD(ah, AR_PHY_SFCORR, in ar5008_hw_ani_control_new() 1005 REG_RMW_FIELD(ah, AR_PHY_SFCORR, in ar5008_hw_ani_control_new() 1007 REG_RMW_FIELD(ah, AR_PHY_SFCORR, in ar5008_hw_ani_control_new() 1048 REG_RMW_FIELD(ah, AR_PHY_FIND_SIG, in ar5008_hw_ani_control_new() 1082 REG_RMW_FIELD(ah, AR_PHY_TIMING5, in ar5008_hw_ani_control_new() [all …]
|
A D | eeprom_9287.c | 880 REG_RMW_FIELD(ah, AR_PHY_GAIN_2GHZ + regChainOffset, in ath9k_hw_ar9287_set_board_values() 886 REG_RMW_FIELD(ah, AR_PHY_RXGAIN + regChainOffset, in ath9k_hw_ar9287_set_board_values() 889 REG_RMW_FIELD(ah, AR_PHY_RXGAIN + regChainOffset, in ath9k_hw_ar9287_set_board_values() 896 REG_RMW_FIELD(ah, AR_PHY_SETTLING, in ath9k_hw_ar9287_set_board_values() 899 REG_RMW_FIELD(ah, AR_PHY_SETTLING, in ath9k_hw_ar9287_set_board_values() 902 REG_RMW_FIELD(ah, AR_PHY_DESIRED_SZ, in ath9k_hw_ar9287_set_board_values() 911 REG_RMW_FIELD(ah, AR_PHY_RF_CTL3, in ath9k_hw_ar9287_set_board_values() 914 REG_RMW_FIELD(ah, AR_PHY_CCA, in ath9k_hw_ar9287_set_board_values() 916 REG_RMW_FIELD(ah, AR_PHY_EXT_CCA0, in ath9k_hw_ar9287_set_board_values() 951 REG_RMW_FIELD(ah, AR_PHY_RF_CTL2, in ath9k_hw_ar9287_set_board_values() [all …]
|
A D | ar9003_eeprom.c | 3615 REG_RMW_FIELD(ah, AR_CH0_THERM, in ar9003_hw_xpa_bias_level_apply() 3618 REG_RMW_FIELD(ah, AR_CH0_THERM, in ar9003_hw_xpa_bias_level_apply() 3670 REG_RMW_FIELD(ah, AR_PHY_SWITCH_COM, in ar9003_hw_ant_ctrl_apply() 3904 REG_RMW_FIELD(ah, ext_atten_reg[0], in ar9003_hw_atten_apply() 3908 REG_RMW_FIELD(ah, ext_atten_reg[0], in ar9003_hw_atten_apply() 4229 REG_RMW_FIELD(ah, cca_ctrl[chain], in ar9003_hw_apply_minccapwr_thresh() 4905 REG_RMW_FIELD(ah, AR_PHY_TPC_19, in ar9003_hw_power_control_override() 4918 REG_RMW_FIELD(ah, AR_PHY_TPC_19, in ar9003_hw_power_control_override() 4936 REG_RMW_FIELD(ah, AR_PHY_TPC_19, in ar9003_hw_power_control_override() 4946 REG_RMW_FIELD(ah, AR_PHY_TPC_19, in ar9003_hw_power_control_override() [all …]
|
A D | btcoex.c | 185 REG_RMW_FIELD(ah, AR_GPIO_INPUT_MUX1, in ath9k_hw_btcoex_init_2wire() 207 REG_RMW_FIELD(ah, AR_GPIO_INPUT_MUX1, in ath9k_hw_btcoex_init_3wire() 210 REG_RMW_FIELD(ah, AR_GPIO_INPUT_MUX1, in ath9k_hw_btcoex_init_3wire() 354 REG_RMW_FIELD(ah, AR_QUIET1, AR_QUIET1_QUIET_ACK_CTS_ENABLE, 1); in ath9k_hw_btcoex_enable_3wire() 355 REG_RMW_FIELD(ah, AR_PCU_MISC, AR_PCU_BT_ANT_PREVENT_RX, 0); in ath9k_hw_btcoex_enable_3wire() 371 REG_RMW_FIELD(ah, AR_QUIET1, AR_QUIET1_QUIET_ACK_CTS_ENABLE, 1); in ath9k_hw_btcoex_enable_mci()
|
A D | hw.c | 769 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 771 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 773 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 776 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL1, in ath9k_hw_init_pll() 778 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL1, in ath9k_hw_init_pll() 780 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL1, in ath9k_hw_init_pll() 783 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 785 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 787 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2, in ath9k_hw_init_pll() 791 REG_RMW_FIELD(ah, AR_CH0_BB_DPLL3, in ath9k_hw_init_pll() [all …]
|
A D | rng.c | 37 REG_RMW_FIELD(ah, AR_PHY_TEST, AR_PHY_TEST_BBB_OBS_SEL, 1); in ath9k_rng_data_read() 39 REG_RMW_FIELD(ah, AR_PHY_TEST_CTL_STATUS, AR_PHY_TEST_CTL_RX_OBS_SEL, 0); in ath9k_rng_data_read()
|
A D | ar9002_phy.c | 517 REG_RMW_FIELD(ah, AR_PHY_SPECTRAL_SCAN, in ar9002_hw_spectral_scan_config() 520 REG_RMW_FIELD(ah, AR_PHY_SPECTRAL_SCAN, in ar9002_hw_spectral_scan_config() 526 REG_RMW_FIELD(ah, AR_PHY_SPECTRAL_SCAN, in ar9002_hw_spectral_scan_config() 528 REG_RMW_FIELD(ah, AR_PHY_SPECTRAL_SCAN, in ar9002_hw_spectral_scan_config()
|
A D | ar9003_wow.c | 382 REG_RMW_FIELD(ah, AR_RSSI_THR, AR_RSSI_THR_BM_THR, in ath9k_hw_wow_enable()
|
A D | hw.h | 123 #define REG_RMW_FIELD(_a, _r, _f, _v) \ macro
|