/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ath5k.h | 1182 struct ath5k_hw *ah; /* driver state */ 1258 struct ath5k_hw { struct 1472 int ath5k_hw_init(struct ath5k_hw *ah); 1473 void ath5k_hw_deinit(struct ath5k_hw *ah); 1482 int ath5k_init_leds(struct ath5k_hw *ah); 1483 void ath5k_led_enable(struct ath5k_hw *ah); 1484 void ath5k_led_off(struct ath5k_hw *ah); 1490 int ath5k_hw_on_hold(struct ath5k_hw *ah); 1506 u32 ath5k_hw_get_rxdp(struct ath5k_hw *ah); 1521 int ath5k_hw_dma_stop(struct ath5k_hw *ah); [all …]
|
H A D | debug.h | 64 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 …]
|
H A D | ani.h | 104 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);
|
H A D | base.h | 46 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);
|
H A D | pcu.c | 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() 399 ath5k_hw_set_bssid(struct ath5k_hw *ah) in ath5k_hw_set_bssid() 483 ath5k_hw_get_rx_filter(struct ath5k_hw *ah) in ath5k_hw_get_rx_filter() 562 ath5k_hw_get_tsf64(struct ath5k_hw *ah) in ath5k_hw_get_tsf64() 609 ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64) in ath5k_hw_set_tsf64() 622 ath5k_hw_reset_tsf(struct ath5k_hw *ah) in ath5k_hw_reset_tsf() 852 ath5k_hw_start_rx_pcu(struct ath5k_hw *ah) in ath5k_hw_start_rx_pcu() [all …]
|
H A D | rfkill.c | 39 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()
|
H A D | pci.c | 57 struct ath5k_hw *ah = (struct ath5k_hw *) common->priv; in ath5k_pci_read_cachesize() 79 struct ath5k_hw *ah = (struct ath5k_hw *) 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()
|
H A D | gpio.c | 53 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()
|
H A D | ani.c | 66 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() 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() 539 ath5k_ani_mib_intr(struct ath5k_hw *ah) in ath5k_ani_mib_intr() 576 ath5k_ani_phy_error_report(struct ath5k_hw *ah, in ath5k_ani_phy_error_report() 604 ath5k_enable_phy_err_counters(struct ath5k_hw *ah) in ath5k_enable_phy_err_counters() 625 ath5k_disable_phy_err_counters(struct ath5k_hw *ah) in ath5k_disable_phy_err_counters() 645 ath5k_ani_init(struct ath5k_hw *ah, enum ath5k_ani_mode mode) in ath5k_ani_init() [all …]
|
H A D | mac80211-ops.c | 61 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 …]
|
H A D | trace.h | 22 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)
|
H A D | dma.c | 48 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() 353 ath5k_hw_get_txdp(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_get_txdp() 506 ath5k_hw_is_intr_pending(struct ath5k_hw *ah) in ath5k_hw_is_intr_pending() 740 ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask) in ath5k_hw_set_imr() 841 ath5k_hw_dma_init(struct ath5k_hw *ah) in ath5k_hw_dma_init() [all …]
|
H A D | base.c | 233 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32() 239 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32() 256 struct ath5k_hw *ah = hw->priv; in ath5k_reg_notifier() 360 struct ath5k_hw *ah = hw->priv; in ath5k_setup_bands() 1658 struct ath5k_hw *ah = hw->priv; in ath5k_tx_queue() 1940 struct ath5k_hw *ah = hw->priv; in ath5k_beacon_update() 2308 struct ath5k_hw *ah = dev_id; in ath5k_intr() 2451 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, in ath5k_calibrate_work() 2508 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, in ath5k_tx_complete_poll_work() 2770 struct ath5k_hw *ah = hw->priv; in ath5k_start() [all …]
|
H A D | sysfs.c | 16 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()
|
H A D | led.c | 90 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() 158 void ath5k_unregister_leds(struct ath5k_hw *ah) in ath5k_unregister_leds() 164 int ath5k_init_leds(struct ath5k_hw *ah) in ath5k_init_leds()
|
H A D | ahb.c | 38 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()
|
H A D | phy.c | 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() 484 ath5k_hw_rf_gainf_corr(struct ath5k_hw *ah) in ath5k_hw_rf_gainf_corr() 604 ath5k_hw_rf_gainf_adjust(struct ath5k_hw *ah) in ath5k_hw_rf_gainf_adjust() 679 ath5k_hw_gainf_calibrate(struct ath5k_hw *ah) in ath5k_hw_gainf_calibrate() 811 ath5k_hw_rfregs_init(struct ath5k_hw *ah, in ath5k_hw_rfregs_init() 1197 ath5k_hw_rf5110_channel(struct ath5k_hw *ah, in ath5k_hw_rf5110_channel() 1256 ath5k_hw_rf5111_channel(struct ath5k_hw *ah, in ath5k_hw_rf5111_channel() 1314 ath5k_hw_rf5112_channel(struct ath5k_hw *ah, in ath5k_hw_rf5112_channel() 1433 ath5k_hw_channel(struct ath5k_hw *ah, in ath5k_hw_channel() [all …]
|
H A D | desc.c | 75 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()
|
H A D | qcu.c | 63 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()
|
H A D | caps.c | 33 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()
|
H A D | debug.c | 157 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 …]
|
H A D | reset.c | 67 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() 607 ath5k_hw_on_hold(struct ath5k_hw *ah) in ath5k_hw_on_hold() 848 ath5k_hw_tweak_initval_settings(struct ath5k_hw *ah, in ath5k_hw_tweak_initval_settings() 976 ath5k_hw_commit_eeprom_settings(struct ath5k_hw *ah, in ath5k_hw_commit_eeprom_settings() [all …]
|
H A D | eeprom.c | 73 ath5k_eeprom_init_header(struct ath5k_hw *ah) in ath5k_eeprom_init_header() 467 ath5k_eeprom_init_modes(struct ath5k_hw *ah) in ath5k_eeprom_init_modes() 667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) in ath5k_eeprom_free_pcal_info() 796 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) in ath5k_eeprom_read_pcal_info_5111() 1568 ath5k_eeprom_read_pcal_info(struct ath5k_hw *ah) in ath5k_eeprom_read_pcal_info() 1571 int (*read_pcal)(struct ath5k_hw *hw, int mode); in ath5k_eeprom_read_pcal_info() 1601 ath5k_eeprom_read_ctl_info(struct ath5k_hw *ah) in ath5k_eeprom_read_ctl_info() 1708 ath5k_eeprom_read_spur_chans(struct ath5k_hw *ah) in ath5k_eeprom_read_spur_chans() 1748 ath5k_eeprom_init(struct ath5k_hw *ah) in ath5k_eeprom_init() 1776 ath5k_eeprom_detach(struct ath5k_hw *ah) in ath5k_eeprom_detach() [all …]
|
H A D | attach.c | 35 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()
|
H A D | initvals.c | 1380 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()
|