/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | mac.c | 149 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_FORCE_CH_IDLE_HIGH); in ath9k_hw_abort_tx_dma() 163 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_FORCE_CH_IDLE_HIGH); in ath9k_hw_abort_tx_dma() 644 REG_SET_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 649 REG_CLR_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 661 REG_CLR_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 681 REG_CLR_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ath9k_hw_startpcureceive() 687 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_ABORT | AR_DIAG_RX_DIS); in ath9k_hw_abortpcurecv() 728 "DMA failed to stop in %d ms AR_CR=0x%08x AR_DIAG_SW=0x%08x DMADBG_7=0x%08x\n", in ath9k_hw_stopdmarecv() 731 REG_READ(ah, AR_DIAG_SW), in ath9k_hw_stopdmarecv()
|
H A D | ar9003_mci.c | 470 REG_RMW_FIELD(ah, AR_DIAG_SW, AR_DIAG_OBS_PT_SEL1, 0x03); in ar9003_mci_observation_set_up() 471 REG_RMW_FIELD(ah, AR_DIAG_SW, AR_DIAG_OBS_PT_SEL2, 0x01); in ar9003_mci_observation_set_up() 1438 diag_sw = REG_READ(ah, AR_DIAG_SW); in ar9003_mci_set_power_awake() 1443 REG_WRITE(ah, AR_DIAG_SW, (diag_sw | BIT(27) | BIT(19) | BIT(18))); in ar9003_mci_set_power_awake() 1448 REG_WRITE(ah, AR_DIAG_SW, diag_sw); in ar9003_mci_set_power_awake()
|
H A D | ar9002_phy.c | 559 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9002_hw_tx99_start() 572 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9002_hw_tx99_stop()
|
H A D | ar9003_wow.c | 47 ath_err(common, "Failed to stop Rx DMA in 10ms AR_CR=0x%08x AR_DIAG_SW=0x%08x\n", in ath9k_hw_set_powermode_wow_sleep() 48 REG_READ(ah, AR_CR), REG_READ(ah, AR_DIAG_SW)); in ath9k_hw_set_powermode_wow_sleep()
|
H A D | ar9003_phy.c | 703 REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ar9003_hw_override_ini() 1808 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9003_hw_tx99_start() 1821 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9003_hw_tx99_stop()
|
H A D | ar5008_phy.c | 654 REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ar5008_hw_override_ini()
|
H A D | reg.h | 1681 * AR_DIAG_SW - Register which can be used for diagnostics and testing purposes. 1689 #define AR_DIAG_SW 0x8048 macro
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | mac.c | 149 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_FORCE_CH_IDLE_HIGH); in ath9k_hw_abort_tx_dma() 163 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_FORCE_CH_IDLE_HIGH); in ath9k_hw_abort_tx_dma() 644 REG_SET_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 649 REG_CLR_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 661 REG_CLR_BIT(ah, AR_DIAG_SW, in ath9k_hw_setrxabort() 681 REG_CLR_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ath9k_hw_startpcureceive() 687 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_ABORT | AR_DIAG_RX_DIS); in ath9k_hw_abortpcurecv() 728 "DMA failed to stop in %d ms AR_CR=0x%08x AR_DIAG_SW=0x%08x DMADBG_7=0x%08x\n", in ath9k_hw_stopdmarecv() 731 REG_READ(ah, AR_DIAG_SW), in ath9k_hw_stopdmarecv()
|
H A D | ar9003_mci.c | 470 REG_RMW_FIELD(ah, AR_DIAG_SW, AR_DIAG_OBS_PT_SEL1, 0x03); in ar9003_mci_observation_set_up() 471 REG_RMW_FIELD(ah, AR_DIAG_SW, AR_DIAG_OBS_PT_SEL2, 0x01); in ar9003_mci_observation_set_up() 1437 diag_sw = REG_READ(ah, AR_DIAG_SW); in ar9003_mci_set_power_awake() 1442 REG_WRITE(ah, AR_DIAG_SW, (diag_sw | BIT(27) | BIT(19) | BIT(18))); in ar9003_mci_set_power_awake() 1447 REG_WRITE(ah, AR_DIAG_SW, diag_sw); in ar9003_mci_set_power_awake()
|
H A D | ar9002_phy.c | 559 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9002_hw_tx99_start() 572 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9002_hw_tx99_stop()
|
H A D | ar9003_wow.c | 47 ath_err(common, "Failed to stop Rx DMA in 10ms AR_CR=0x%08x AR_DIAG_SW=0x%08x\n", in ath9k_hw_set_powermode_wow_sleep() 48 REG_READ(ah, AR_CR), REG_READ(ah, AR_DIAG_SW)); in ath9k_hw_set_powermode_wow_sleep()
|
H A D | ar9003_phy.c | 694 REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ar9003_hw_override_ini() 1799 REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9003_hw_tx99_start() 1812 REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); in ar9003_hw_tx99_stop()
|
H A D | ar5008_phy.c | 645 REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT)); in ar5008_hw_override_ini()
|
H A D | reg.h | 1681 * AR_DIAG_SW - Register which can be used for diagnostics and testing purposes. 1689 #define AR_DIAG_SW 0x8048 macro
|