Home
last modified time | relevance | path

Searched refs:ath5k_hw_reg_read (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/net/wireless/ath/ath5k/ !
Ddma.c51 ath5k_hw_reg_read(ah, AR5K_CR); in ath5k_hw_start_rx_dma()
69 (ath5k_hw_reg_read(ah, AR5K_CR) & AR5K_CR_RXE) != 0; in ath5k_hw_stop_rx_dma()
87 return ath5k_hw_reg_read(ah, AR5K_RXDP); in ath5k_hw_get_rxdp()
100 if (ath5k_hw_reg_read(ah, AR5K_CR) & AR5K_CR_RXE) { in ath5k_hw_set_rxdp()
141 tx_queue = ath5k_hw_reg_read(ah, AR5K_CR); in ath5k_hw_start_tx_dma()
165 ath5k_hw_reg_read(ah, AR5K_CR); in ath5k_hw_start_tx_dma()
200 tx_queue = ath5k_hw_reg_read(ah, AR5K_CR); in ath5k_hw_stop_tx_dma()
221 ath5k_hw_reg_read(ah, AR5K_CR); in ath5k_hw_stop_tx_dma()
249 pending = ath5k_hw_reg_read(ah, in ath5k_hw_stop_tx_dma()
268 AR5K_REG_SM(ath5k_hw_reg_read(ah, in ath5k_hw_stop_tx_dma()
[all …]
Dpcu.c249 stats->ack_fail += ath5k_hw_reg_read(ah, AR5K_ACK_FAIL); in ath5k_hw_update_mib_counters()
250 stats->rts_fail += ath5k_hw_reg_read(ah, AR5K_RTS_FAIL); in ath5k_hw_update_mib_counters()
251 stats->rts_ok += ath5k_hw_reg_read(ah, AR5K_RTS_OK); in ath5k_hw_update_mib_counters()
252 stats->fcs_error += ath5k_hw_reg_read(ah, AR5K_FCS_FAIL); in ath5k_hw_update_mib_counters()
253 stats->beacons += ath5k_hw_reg_read(ah, AR5K_BEACON_CNT); in ath5k_hw_update_mib_counters()
380 pcu_reg = ath5k_hw_reg_read(ah, AR5K_STA_ID1) & 0xffff0000; in ath5k_hw_set_lladdr()
487 filter = ath5k_hw_reg_read(ah, AR5K_RX_FILTER); in ath5k_hw_get_rx_filter()
491 data = ath5k_hw_reg_read(ah, AR5K_PHY_ERR_FIL); in ath5k_hw_get_rx_filter()
583 tsf_upper1 = ath5k_hw_reg_read(ah, AR5K_TSF_U32); in ath5k_hw_get_tsf64()
585 tsf_lower = ath5k_hw_reg_read(ah, AR5K_TSF_L32); in ath5k_hw_get_tsf64()
[all …]
Dani.c414 ofdm_err = ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT1); in ath5k_ani_save_and_clear_phy_errors()
415 cck_err = ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT2); in ath5k_ani_save_and_clear_phy_errors()
733 pr_notice("ACK fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_ACK_FAIL)); in ath5k_ani_print_counters()
734 pr_notice("RTS fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_FAIL)); in ath5k_ani_print_counters()
735 pr_notice("RTS success\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_OK)); in ath5k_ani_print_counters()
736 pr_notice("FCS error\t%d\n", ath5k_hw_reg_read(ah, AR5K_FCS_FAIL)); in ath5k_ani_print_counters()
739 pr_notice("tx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_TX)); in ath5k_ani_print_counters()
740 pr_notice("rx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RX)); in ath5k_ani_print_counters()
741 pr_notice("busy\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RXCLR)); in ath5k_ani_print_counters()
742 pr_notice("cycles\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_CYCLE)); in ath5k_ani_print_counters()
[all …]
Dgpio.c112 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio)) in ath5k_hw_set_gpio_input()
130 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio)) in ath5k_hw_set_gpio_output()
148 return ((ath5k_hw_reg_read(ah, AR5K_GPIODI) & AR5K_GPIODI_M) >> gpio) & in ath5k_hw_get_gpio()
167 data = ath5k_hw_reg_read(ah, AR5K_GPIODO); in ath5k_hw_set_gpio()
200 data = (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & in ath5k_hw_set_gpio_intr()
Dreset.c74 data = ath5k_hw_reg_read(ah, reg); in ath5k_hw_register_timeout()
200 usec_reg = ath5k_hw_reg_read(ah, AR5K_USEC_5211); in ath5k_hw_init_core_clock()
403 ath5k_hw_reg_read(ah, AR5K_RXDP); in ath5k_hw_nic_reset()
520 staid = ath5k_hw_reg_read(ah, AR5K_STA_ID1); in ath5k_hw_set_power_mode()
551 data = ath5k_hw_reg_read(ah, AR5K_SLEEP_CTL); in ath5k_hw_set_power_mode()
568 if ((ath5k_hw_reg_read(ah, AR5K_PCICFG) & in ath5k_hw_set_power_mode()
818 if (ath5k_hw_reg_read(ah, AR5K_PHY_PLL) != clock) { in ath5k_hw_nic_wakeup()
897 if (ath5k_hw_reg_read(ah, AR5K_PHY_FAST_ADC) != fast_adc) in ath5k_hw_tweak_initval_settings()
1227 s_seq[i] = ath5k_hw_reg_read(ah, in ath5k_hw_reset()
1231 s_seq[0] = ath5k_hw_reg_read(ah, in ath5k_hw_reset()
[all …]
Ddebug.c160 ath5k_hw_reg_read(ah, r->addr)); in reg_show()
184 v = ath5k_hw_reg_read(ah, AR5K_BEACON); in read_file_beacon()
191 "AR5K_LAST_TSTP", ath5k_hw_reg_read(ah, AR5K_LAST_TSTP)); in read_file_beacon()
194 "AR5K_BEACON_CNT", ath5k_hw_reg_read(ah, AR5K_BEACON_CNT)); in read_file_beacon()
196 v = ath5k_hw_reg_read(ah, AR5K_TIMER0); in read_file_beacon()
200 v = ath5k_hw_reg_read(ah, AR5K_TIMER1); in read_file_beacon()
204 v = ath5k_hw_reg_read(ah, AR5K_TIMER2); in read_file_beacon()
208 v = ath5k_hw_reg_read(ah, AR5K_TIMER3); in read_file_beacon()
383 v = ath5k_hw_reg_read(ah, AR5K_DEFAULT_ANTENNA); in read_file_antenna()
387 v = ath5k_hw_reg_read(ah, AR5K_STA_ID1); in read_file_antenna()
[all …]
Dpci.c87 (void)ath5k_hw_reg_read(ah, AR5K_EEPROM_BASE + (4 * offset)); in ath5k_pci_eeprom_read()
95 status = ath5k_hw_reg_read(ah, AR5K_EEPROM_STATUS); in ath5k_pci_eeprom_read()
99 *data = (u16)(ath5k_hw_reg_read(ah, AR5K_EEPROM_DATA) & in ath5k_pci_eeprom_read()
111 ah->ah_mac_srev = ath5k_hw_reg_read(ah, AR5K_SREV); in ath5k_hw_read_srev()
Dattach.c54 init_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
152 ah->ah_phy_revision = ath5k_hw_reg_read(ah, AR5K_PHY_CHIP_ID) & in ath5k_hw_init()
Dphy.c113 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(256)) >> 28) & 0xf; in ath5k_hw_radio_revision()
116 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff; in ath5k_hw_radio_revision()
372 delay = ath5k_hw_reg_read(ah, AR5K_PHY_RX_DELAY) & in ath5k_hw_wait_for_synth()
694 data = ath5k_hw_reg_read(ah, AR5K_PHY_PAPD_PROBE); in ath5k_hw_gainf_calibrate()
1527 val = ath5k_hw_reg_read(ah, AR5K_PHY_NF); in ath5k_hw_read_measured_noise_floor()
1602 if (ath5k_hw_reg_read(ah, AR5K_PHY_AGCCTL) & AR5K_PHY_AGCCTL_NF) { in ath5k_hw_update_noise_floor()
1630 val = ath5k_hw_reg_read(ah, AR5K_PHY_NF) & ~AR5K_PHY_NF_M; in ath5k_hw_update_noise_floor()
1683 beacon = ath5k_hw_reg_read(ah, AR5K_BEACON_5210); in ath5k_hw_rf5110_calibrate()
1711 phy_sig = ath5k_hw_reg_read(ah, AR5K_PHY_SIG); in ath5k_hw_rf5110_calibrate()
1712 phy_agc = ath5k_hw_reg_read(ah, AR5K_PHY_AGCCOARSE); in ath5k_hw_rf5110_calibrate()
[all …]
Dath5k.h125 ath5k_hw_reg_write(ah, (ath5k_hw_reg_read(ah, _reg) & ~(_flags)) | \
129 ath5k_hw_reg_write(ah, (ath5k_hw_reg_read(ah, _reg) & \
133 ath5k_hw_reg_write(ah, ath5k_hw_reg_read(ah, _reg) | (_flags), _reg)
136 ath5k_hw_reg_write(ah, ath5k_hw_reg_read(ah, _reg) & ~(_flags), _reg)
140 (ath5k_hw_reg_read(ah, _reg) & (1 << _queue)) \
1662 static inline u32 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) in ath5k_hw_reg_read() function
1674 static inline u32 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) in ath5k_hw_reg_read() function
Dqcu.c76 pending = ath5k_hw_reg_read(ah, AR5K_QUEUE_STATUS(queue)); in ath5k_hw_num_tx_pending()
Dinitvals.c1397 ath5k_hw_reg_read(ah, ini_regs[i].ini_register); in ath5k_hw_ini_registers()
Dbase.c234 return ath5k_hw_reg_read(ah, reg_offset); in ath5k_ioread32()