Home
last modified time | relevance | path

Searched refs:ath5k_hw (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dath5k.h84 _ath5k_printk(const struct ath5k_hw *ah, const char *level,
1182 struct ath5k_hw *ah; /* driver state */
1258 struct ath5k_hw { struct
1449 int (*ah_setup_tx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1453 int (*ah_proc_tx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1455 int (*ah_proc_rx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1463 int (*eeprom_read_mac)(struct ath5k_hw *ah, u8 *mac);
1472 int ath5k_hw_init(struct ath5k_hw *ah);
1473 void ath5k_hw_deinit(struct ath5k_hw *ah);
1475 int ath5k_sysfs_register(struct ath5k_hw *ah);
[all …]
Ddebug.h64 struct ath5k_hw;
129 ath5k_debug_init_device(struct ath5k_hw *ah);
132 ath5k_debug_printrxbuffs(struct ath5k_hw *ah);
135 ath5k_debug_dump_bands(struct ath5k_hw *ah);
138 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf);
145 ATH5K_DBG(struct ath5k_hw *ah, unsigned int m, const char *fmt, ...) {} in ATH5K_DBG()
148 ATH5K_DBG_UNLIMIT(struct ath5k_hw *ah, unsigned int m, const char *fmt, ...) in ATH5K_DBG_UNLIMIT()
152 ath5k_debug_init_device(struct ath5k_hw *ah) {} in ath5k_debug_init_device()
155 ath5k_debug_printrxbuffs(struct ath5k_hw *ah) {} in ath5k_debug_printrxbuffs()
158 ath5k_debug_dump_bands(struct ath5k_hw *ah) {} in ath5k_debug_dump_bands()
[all …]
Dani.h104 void ath5k_ani_init(struct ath5k_hw *ah, enum ath5k_ani_mode mode);
105 void ath5k_ani_mib_intr(struct ath5k_hw *ah);
106 void ath5k_ani_calibration(struct ath5k_hw *ah);
107 void ath5k_ani_phy_error_report(struct ath5k_hw *ah,
111 void ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level);
112 void ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level);
113 void ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level);
114 void ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on);
115 void ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on);
117 void ath5k_ani_print_counters(struct ath5k_hw *ah);
Dbase.h46 struct ath5k_hw;
92 bool ath5k_any_vif_assoc(struct ath5k_hw *ah);
97 void ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf);
99 void ath5k_beacon_config(struct ath5k_hw *ah);
102 void ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah,
104 int ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef);
105 void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
106 void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
112 int ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
113 void ath5k_deinit_ah(struct ath5k_hw *ah);
Dpcu.c114 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, in ath5k_hw_get_frame_duration()
176 ath5k_hw_get_default_slottime(struct ath5k_hw *ah) in ath5k_hw_get_default_slottime()
207 ath5k_hw_get_default_sifs(struct ath5k_hw *ah) in ath5k_hw_get_default_sifs()
244 ath5k_hw_update_mib_counters(struct ath5k_hw *ah) in ath5k_hw_update_mib_counters()
278 ath5k_hw_write_rate_duration(struct ath5k_hw *ah) in ath5k_hw_write_rate_duration()
328 ath5k_hw_set_ack_timeout(struct ath5k_hw *ah, unsigned int timeout) in ath5k_hw_set_ack_timeout()
346 ath5k_hw_set_cts_timeout(struct ath5k_hw *ah, unsigned int timeout) in ath5k_hw_set_cts_timeout()
371 ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac) in ath5k_hw_set_lladdr()
399 ath5k_hw_set_bssid(struct ath5k_hw *ah) in ath5k_hw_set_bssid()
448 ath5k_hw_set_bssid_mask(struct ath5k_hw *ah, const u8 *mask) in ath5k_hw_set_bssid_mask()
[all …]
Drfkill.c39 static inline void ath5k_rfkill_disable(struct ath5k_hw *ah) in ath5k_rfkill_disable()
48 static inline void ath5k_rfkill_enable(struct ath5k_hw *ah) in ath5k_rfkill_enable()
56 static inline void ath5k_rfkill_set_intr(struct ath5k_hw *ah, bool enable) in ath5k_rfkill_set_intr()
67 ath5k_is_rfkill_set(struct ath5k_hw *ah) in ath5k_is_rfkill_set()
78 struct ath5k_hw *ah = from_tasklet(ah, t, rf_kill.toggleq); in ath5k_tasklet_rfkill_toggle()
87 ath5k_rfkill_hw_start(struct ath5k_hw *ah) in ath5k_rfkill_hw_start()
104 ath5k_rfkill_hw_stop(struct ath5k_hw *ah) in ath5k_rfkill_hw_stop()
Dmac80211-ops.c61 struct ath5k_hw *ah = hw->priv; in ath5k_tx()
76 struct ath5k_hw *ah = hw->priv; in ath5k_add_interface()
161 struct ath5k_hw *ah = hw->priv; in ath5k_remove_interface()
197 struct ath5k_hw *ah = hw->priv; in ath5k_config()
256 struct ath5k_hw *ah = hw->priv; in ath5k_bss_info_changed()
375 struct ath5k_hw *ah = hw->priv; in ath5k_configure_filter()
476 struct ath5k_hw *ah = hw->priv; in ath5k_set_key()
540 struct ath5k_hw *ah = hw->priv; in ath5k_sw_scan_start()
549 struct ath5k_hw *ah = hw->priv; in ath5k_sw_scan_complete()
559 struct ath5k_hw *ah = hw->priv; in ath5k_get_stats()
[all …]
Dani.c66 ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_noise_immunity_level()
111 ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_spur_immunity_level()
135 ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_firstep_level()
157 ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on) in ath5k_ani_set_ofdm_weak_signal_detection()
197 ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on) in ath5k_ani_set_cck_weak_signal_detection()
223 ath5k_ani_raise_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as, in ath5k_ani_raise_immunity()
310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) in ath5k_ani_lower_immunity()
374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) in ath5k_hw_ani_get_listen_time()
406 ath5k_ani_save_and_clear_phy_errors(struct ath5k_hw *ah, in ath5k_ani_save_and_clear_phy_errors()
475 ath5k_ani_calibration(struct ath5k_hw *ah) in ath5k_ani_calibration()
[all …]
Dgpio.c53 ath5k_hw_set_ledstate(struct ath5k_hw *ah, unsigned int state) in ath5k_hw_set_ledstate()
106 ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_input()
124 ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_output()
142 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_get_gpio()
159 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) in ath5k_hw_set_gpio()
189 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, in ath5k_hw_set_gpio_intr()
Ddma.c48 ath5k_hw_start_rx_dma(struct ath5k_hw *ah) in ath5k_hw_start_rx_dma()
59 ath5k_hw_stop_rx_dma(struct ath5k_hw *ah) in ath5k_hw_stop_rx_dma()
85 ath5k_hw_get_rxdp(struct ath5k_hw *ah) in ath5k_hw_get_rxdp()
98 ath5k_hw_set_rxdp(struct ath5k_hw *ah, u32 phys_addr) in ath5k_hw_set_rxdp()
130 ath5k_hw_start_tx_dma(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_start_tx_dma()
188 ath5k_hw_stop_tx_dma(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_stop_tx_dma()
328 ath5k_hw_stop_beacon_queue(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_stop_beacon_queue()
353 ath5k_hw_get_txdp(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_get_txdp()
396 ath5k_hw_set_txdp(struct ath5k_hw *ah, unsigned int queue, u32 phys_addr) in ath5k_hw_set_txdp()
453 ath5k_hw_update_tx_triglevel(struct ath5k_hw *ah, bool increase) in ath5k_hw_update_tx_triglevel()
[all …]
Dtrace.h22 TP_PROTO(struct ath5k_hw *priv, struct sk_buff *skb),
25 __field(struct ath5k_hw *, priv)
40 TP_PROTO(struct ath5k_hw *priv, struct sk_buff *skb,
46 __field(struct ath5k_hw *, priv)
66 TP_PROTO(struct ath5k_hw *priv, struct sk_buff *skb,
72 __field(struct ath5k_hw *, priv)
Dpci.c57 struct ath5k_hw *ah = common->priv; in ath5k_pci_read_cachesize()
79 struct ath5k_hw *ah = common->ah; in ath5k_pci_eeprom_read()
109 int ath5k_hw_read_srev(struct ath5k_hw *ah) in ath5k_hw_read_srev()
118 static int ath5k_pci_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) in ath5k_pci_eeprom_read_mac()
162 struct ath5k_hw *ah; in ath5k_pci_probe()
291 struct ath5k_hw *ah = hw->priv; in ath5k_pci_remove()
304 struct ath5k_hw *ah = hw->priv; in ath5k_pci_suspend()
314 struct ath5k_hw *ah = hw->priv; in ath5k_pci_resume()
Dbase.c96 static int ath5k_reset(struct ath5k_hw *ah, struct ieee80211_channel *chan,
200 static inline u64 ath5k_extend_tsf(struct ath5k_hw *ah, u32 rstamp) in ath5k_extend_tsf()
233 struct ath5k_hw *ah = hw_priv; in ath5k_ioread32()
239 struct ath5k_hw *ah = hw_priv; in ath5k_iowrite32()
256 struct ath5k_hw *ah = hw->priv; in ath5k_reg_notifier()
295 ath5k_setup_channels(struct ath5k_hw *ah, struct ieee80211_channel *channels, in ath5k_setup_channels()
343 ath5k_setup_rate_idx(struct ath5k_hw *ah, struct ieee80211_supported_band *b) in ath5k_setup_rate_idx()
360 struct ath5k_hw *ah = hw->priv; in ath5k_setup_bands()
446 ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef) in ath5k_chan_set()
518 ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah, in ath5k_update_bssid_mask_and_opmode()
[all …]
Dled.c90 void ath5k_led_enable(struct ath5k_hw *ah) in ath5k_led_enable()
99 static void ath5k_led_on(struct ath5k_hw *ah) in ath5k_led_on()
106 void ath5k_led_off(struct ath5k_hw *ah) in ath5k_led_off()
128 ath5k_register_led(struct ath5k_hw *ah, struct ath5k_led *led, in ath5k_register_led()
157 void ath5k_unregister_leds(struct ath5k_hw *ah) in ath5k_unregister_leds()
163 int ath5k_init_leds(struct ath5k_hw *ah) in ath5k_init_leds()
Dsysfs.c16 struct ath5k_hw *ah = hw->priv; \
25 struct ath5k_hw *ah = hw->priv; \
43 struct ath5k_hw *ah = hw->priv; \
103 ath5k_sysfs_register(struct ath5k_hw *ah) in ath5k_sysfs_register()
118 ath5k_sysfs_unregister(struct ath5k_hw *ah) in ath5k_sysfs_unregister()
Dahb.c38 struct ath5k_hw *ah = common->priv; in ath5k_ahb_eeprom_read()
54 int ath5k_hw_read_srev(struct ath5k_hw *ah) in ath5k_hw_read_srev()
62 static int ath5k_ahb_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) in ath5k_ahb_eeprom_read_mac()
88 struct ath5k_hw *ah; in ath_ahb_probe()
122 hw = ieee80211_alloc_hw(sizeof(struct ath5k_hw), &ath5k_hw_ops); in ath_ahb_probe()
192 struct ath5k_hw *ah; in ath_ahb_remove()
Dphy.c85 ath5k_hw_radio_revision(struct ath5k_hw *ah, enum nl80211_band band) in ath5k_hw_radio_revision()
137 ath5k_channel_ok(struct ath5k_hw *ah, struct ieee80211_channel *channel) in ath5k_channel_ok()
160 ath5k_hw_chan_has_spur_noise(struct ath5k_hw *ah, in ath5k_hw_chan_has_spur_noise()
194 ath5k_hw_rfb_op(struct ath5k_hw *ah, const struct ath5k_rf_reg *rf_regs, in ath5k_hw_rfb_op()
286 ath5k_hw_write_ofdm_timings(struct ath5k_hw *ah, in ath5k_hw_write_ofdm_timings()
350 int ath5k_hw_phy_disable(struct ath5k_hw *ah) in ath5k_hw_phy_disable()
364 ath5k_hw_wait_for_synth(struct ath5k_hw *ah, in ath5k_hw_wait_for_synth()
421 int ath5k_hw_rfgain_opt_init(struct ath5k_hw *ah) in ath5k_hw_rfgain_opt_init()
458 ath5k_hw_request_rfgain_probe(struct ath5k_hw *ah) in ath5k_hw_request_rfgain_probe()
484 ath5k_hw_rf_gainf_corr(struct ath5k_hw *ah) in ath5k_hw_rf_gainf_corr()
[all …]
Dqcu.c63 ath5k_hw_num_tx_pending(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_num_tx_pending()
94 ath5k_hw_release_tx_queue(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_release_tx_queue()
138 ath5k_hw_get_tx_queueprops(struct ath5k_hw *ah, int queue, in ath5k_hw_get_tx_queueprops()
154 ath5k_hw_set_tx_queueprops(struct ath5k_hw *ah, int queue, in ath5k_hw_set_tx_queueprops()
203 ath5k_hw_setup_tx_queue(struct ath5k_hw *ah, enum ath5k_tx_queue queue_type, in ath5k_hw_setup_tx_queue()
281 ath5k_hw_set_tx_retry_limits(struct ath5k_hw *ah, in ath5k_hw_set_tx_retry_limits()
324 ath5k_hw_reset_tx_queue(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_reset_tx_queue()
557 int ath5k_hw_set_ifs_intervals(struct ath5k_hw *ah, unsigned int slot_time) in ath5k_hw_set_ifs_intervals()
688 ath5k_hw_init_queues(struct ath5k_hw *ah) in ath5k_hw_init_queues()
Ddesc.c75 ath5k_hw_setup_2word_tx_desc(struct ath5k_hw *ah, in ath5k_hw_setup_2word_tx_desc()
241 ath5k_hw_setup_4word_tx_desc(struct ath5k_hw *ah, in ath5k_hw_setup_4word_tx_desc()
379 ath5k_hw_setup_mrr_tx_desc(struct ath5k_hw *ah, in ath5k_hw_setup_mrr_tx_desc()
442 ath5k_hw_proc_2word_tx_status(struct ath5k_hw *ah, in ath5k_hw_proc_2word_tx_status()
494 ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah, in ath5k_hw_proc_4word_tx_status()
559 ath5k_hw_setup_rx_desc(struct ath5k_hw *ah, in ath5k_hw_setup_rx_desc()
601 ath5k_hw_proc_5210_rx_status(struct ath5k_hw *ah, in ath5k_hw_proc_5210_rx_status()
695 ath5k_hw_proc_5212_rx_status(struct ath5k_hw *ah, in ath5k_hw_proc_5212_rx_status()
773 ath5k_hw_init_desc_functions(struct ath5k_hw *ah) in ath5k_hw_init_desc_functions()
Ddebug.c157 struct ath5k_hw *ah = seq->private; in reg_show()
178 struct ath5k_hw *ah = file->private_data; in read_file_beacon()
227 struct ath5k_hw *ah = file->private_data; in write_file_beacon()
260 struct ath5k_hw *ah = file->private_data; in write_file_reset()
299 struct ath5k_hw *ah = file->private_data; in read_file_debug()
328 struct ath5k_hw *ah = file->private_data; in write_file_debug()
361 struct ath5k_hw *ah = file->private_data; in read_file_antenna()
433 struct ath5k_hw *ah = file->private_data; in write_file_antenna()
474 struct ath5k_hw *ah = file->private_data; in read_file_misc()
529 struct ath5k_hw *ah = file->private_data; in read_file_frameerrors()
[all …]
Dcaps.c33 int ath5k_hw_set_capabilities(struct ath5k_hw *ah) in ath5k_hw_set_capabilities()
133 int ath5k_hw_enable_pspoll(struct ath5k_hw *ah, u8 *bssid, in ath5k_hw_enable_pspoll()
145 int ath5k_hw_disable_pspoll(struct ath5k_hw *ah) in ath5k_hw_disable_pspoll()
Dreset.c67 ath5k_hw_register_timeout(struct ath5k_hw *ah, u32 reg, u32 flag, u32 val, in ath5k_hw_register_timeout()
101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock()
118 ath5k_hw_clocktoh(struct ath5k_hw *ah, unsigned int clock) in ath5k_hw_clocktoh()
132 ath5k_hw_init_core_clock(struct ath5k_hw *ah) in ath5k_hw_init_core_clock()
281 ath5k_hw_set_sleep_clock(struct ath5k_hw *ah, bool enable) in ath5k_hw_set_sleep_clock()
397 ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val) in ath5k_hw_nic_reset()
446 ath5k_hw_wisoc_reset(struct ath5k_hw *ah, u32 flags) in ath5k_hw_wisoc_reset()
514 ath5k_hw_set_power_mode(struct ath5k_hw *ah, enum ath5k_power_mode mode, in ath5k_hw_set_power_mode()
607 ath5k_hw_on_hold(struct ath5k_hw *ah) in ath5k_hw_on_hold()
669 ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel) in ath5k_hw_nic_wakeup()
[all …]
Deeprom.c73 ath5k_eeprom_init_header(struct ath5k_hw *ah) in ath5k_eeprom_init_header()
189 static int ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_ants()
249 static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_modes()
467 ath5k_eeprom_init_modes(struct ath5k_hw *ah) in ath5k_eeprom_init_modes()
510 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, in ath5k_eeprom_read_freq_list()
548 ath5k_eeprom_init_11a_pcal_freq(struct ath5k_hw *ah, int offset) in ath5k_eeprom_init_11a_pcal_freq()
601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413()
646 ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) in ath5k_get_pcdac_intercepts()
667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) in ath5k_eeprom_free_pcal_info()
714 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, in ath5k_eeprom_convert_pcal_info_5111()
[all …]
Dattach.c35 static int ath5k_hw_post(struct ath5k_hw *ah) in ath5k_hw_post()
104 int ath5k_hw_init(struct ath5k_hw *ah) in ath5k_hw_init()
350 void ath5k_hw_deinit(struct ath5k_hw *ah) in ath5k_hw_deinit()
Dinitvals.c1380 ath5k_hw_ini_registers(struct ath5k_hw *ah, unsigned int size, in ath5k_hw_ini_registers()
1416 ath5k_hw_ini_mode_registers(struct ath5k_hw *ah, in ath5k_hw_ini_mode_registers()
1440 ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool skip_pcu) in ath5k_hw_write_initvals()