/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | hw.h | 627 void (*init_hang_checks)(struct ath_hw *ah); 628 bool (*detect_mac_hang)(struct ath_hw *ah); 629 bool (*detect_bb_hang)(struct ath_hw *ah); 632 void (*init_cal_settings)(struct ath_hw *ah); 633 bool (*init_cal)(struct ath_hw *ah, struct ath9k_channel *chan); 635 void (*init_mode_gain_regs)(struct ath_hw *ah); 636 void (*setup_calibration)(struct ath_hw *ah, 640 int (*rf_set_freq)(struct ath_hw *ah, 642 void (*spur_mitigate_freq)(struct ath_hw *ah, 644 bool (*set_rf_regs)(struct ath_hw *ah, [all …]
|
D | hw-ops.h | 24 static inline void ath9k_hw_configpcipowersave(struct ath_hw *ah, in ath9k_hw_configpcipowersave() 33 static inline void ath9k_hw_rxena(struct ath_hw *ah) in ath9k_hw_rxena() 38 static inline void ath9k_hw_set_desc_link(struct ath_hw *ah, void *ds, in ath9k_hw_set_desc_link() 44 static inline int ath9k_hw_calibrate(struct ath_hw *ah, in ath9k_hw_calibrate() 51 static inline bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked, in ath9k_hw_getisr() 57 static inline void ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds, in ath9k_hw_set_txdesc() 63 static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, in ath9k_hw_txprocdesc() 69 static inline int ath9k_hw_get_duration(struct ath_hw *ah, const void *ds, in ath9k_hw_get_duration() 75 static inline void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, in ath9k_hw_antdiv_comb_conf_get() 81 static inline void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, in ath9k_hw_antdiv_comb_conf_set() [all …]
|
D | ar9003_rtt.h | 21 void ar9003_hw_rtt_enable(struct ath_hw *ah); 22 void ar9003_hw_rtt_disable(struct ath_hw *ah); 23 void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask); 24 bool ar9003_hw_rtt_force_restore(struct ath_hw *ah); 25 void ar9003_hw_rtt_load_hist(struct ath_hw *ah); 26 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah); 27 void ar9003_hw_rtt_clear_hist(struct ath_hw *ah); 28 bool ar9003_hw_rtt_restore(struct ath_hw *ah, struct ath9k_channel *chan); 30 static inline void ar9003_hw_rtt_enable(struct ath_hw *ah) in ar9003_hw_rtt_enable() 34 static inline void ar9003_hw_rtt_disable(struct ath_hw *ah) in ar9003_hw_rtt_disable() [all …]
|
D | ar9003_mci.h | 306 bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag, 309 u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type); 310 int ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf, 312 void ar9003_mci_cleanup(struct ath_hw *ah); 313 void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr, 315 u32 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more); 316 void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor); 317 void ar9003_mci_send_wlan_channels(struct ath_hw *ah); 324 void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep); 325 void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable); [all …]
|
D | dynack.h | 22 struct ath_hw; 83 void ath_dynack_reset(struct ath_hw *ah); 84 void ath_dynack_node_init(struct ath_hw *ah, struct ath_node *an); 85 void ath_dynack_node_deinit(struct ath_hw *ah, struct ath_node *an); 86 void ath_dynack_init(struct ath_hw *ah); 87 void ath_dynack_sample_ack_ts(struct ath_hw *ah, struct sk_buff *skb, u32 ts); 88 void ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, 91 static inline void ath_dynack_init(struct ath_hw *ah) {} in ath_dynack_init() 92 static inline void ath_dynack_node_init(struct ath_hw *ah, in ath_dynack_node_init() 94 static inline void ath_dynack_node_deinit(struct ath_hw *ah, in ath_dynack_node_deinit() [all …]
|
D | calib.h | 86 void (*calCollect) (struct ath_hw *); 87 void (*calPostProc) (struct ath_hw *, u8); 110 bool ath9k_hw_reset_calvalid(struct ath_hw *ah); 111 void ath9k_hw_start_nfcal(struct ath_hw *ah, bool update); 112 int ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan); 113 bool ath9k_hw_getnf(struct ath_hw *ah, struct ath9k_channel *chan); 114 void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah, 116 void ath9k_hw_bstuck_nfcal(struct ath_hw *ah); 117 void ath9k_hw_reset_calibration(struct ath_hw *ah, 119 s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan,
|
D | btcoex.h | 123 void ath9k_hw_btcoex_init_scheme(struct ath_hw *ah); 124 void ath9k_hw_btcoex_init_2wire(struct ath_hw *ah); 125 void ath9k_hw_btcoex_init_3wire(struct ath_hw *ah); 126 void ath9k_hw_btcoex_init_mci(struct ath_hw *ah); 127 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum); 128 void ath9k_hw_btcoex_set_weight(struct ath_hw *ah, 132 void ath9k_hw_btcoex_disable(struct ath_hw *ah); 133 void ath9k_hw_btcoex_bt_stomp(struct ath_hw *ah, 135 void ath9k_hw_btcoex_set_concur_txprio(struct ath_hw *ah, u8 *stomp_txprio);
|
D | mac.h | 714 struct ath_hw; 718 u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q); 719 void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp); 720 void ath9k_hw_txstart(struct ath_hw *ah, u32 q); 721 u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q); 722 bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel); 723 bool ath9k_hw_stop_dma_queue(struct ath_hw *ah, u32 q); 724 void ath9k_hw_abort_tx_dma(struct ath_hw *ah); 725 bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, 727 bool ath9k_hw_get_txq_props(struct ath_hw *ah, int q, [all …]
|
D | ar9003_mci.c | 24 static void ar9003_mci_reset_req_wakeup(struct ath_hw *ah) in ar9003_mci_reset_req_wakeup() 33 static int ar9003_mci_wait_for_interrupt(struct ath_hw *ah, u32 address, in ar9003_mci_wait_for_interrupt() 79 static void ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done) in ar9003_mci_remote_reset() 88 static void ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done) in ar9003_mci_send_lna_transfer() 96 static void ar9003_mci_send_req_wake(struct ath_hw *ah, bool wait_done) in ar9003_mci_send_req_wake() 103 static void ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done) in ar9003_mci_send_sys_waking() 109 static void ar9003_mci_send_lna_take(struct ath_hw *ah, bool wait_done) in ar9003_mci_send_lna_take() 117 static void ar9003_mci_send_sys_sleeping(struct ath_hw *ah, bool wait_done) in ar9003_mci_send_sys_sleeping() 124 static void ar9003_mci_send_coex_version_query(struct ath_hw *ah, in ar9003_mci_send_coex_version_query() 139 static void ar9003_mci_send_coex_version_response(struct ath_hw *ah, in ar9003_mci_send_coex_version_response() [all …]
|
D | ar9003_rtt.c | 38 void ar9003_hw_rtt_enable(struct ath_hw *ah) in ar9003_hw_rtt_enable() 43 void ar9003_hw_rtt_disable(struct ath_hw *ah) in ar9003_hw_rtt_disable() 48 void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask) in ar9003_hw_rtt_set_mask() 54 bool ar9003_hw_rtt_force_restore(struct ath_hw *ah) in ar9003_hw_rtt_force_restore() 72 static void ar9003_hw_rtt_load_hist_entry(struct ath_hw *ah, u8 chain, in ar9003_hw_rtt_load_hist_entry() 104 void ar9003_hw_rtt_load_hist(struct ath_hw *ah) in ar9003_hw_rtt_load_hist() 121 static void ar9003_hw_patch_rtt(struct ath_hw *ah, int index, int chain) in ar9003_hw_patch_rtt() 142 static int ar9003_hw_rtt_fill_hist_entry(struct ath_hw *ah, u8 chain, u32 index) in ar9003_hw_rtt_fill_hist_entry() 169 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah) in ar9003_hw_rtt_fill_hist() 191 void ar9003_hw_rtt_clear_hist(struct ath_hw *ah) in ar9003_hw_rtt_clear_hist() [all …]
|
D | hw.c | 33 static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type); 40 static void ath9k_hw_set_clockrate(struct ath_hw *ah) in ath9k_hw_set_clockrate() 70 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) in ath9k_hw_mac_to_clks() 77 bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout) in ath9k_hw_wait() 98 void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_synth_delay() 111 void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, in ath9k_hw_write_array() 125 void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) in ath9k_hw_read_array() 167 u16 ath9k_hw_computetxtime(struct ath_hw *ah, in ath9k_hw_computetxtime() 220 void ath9k_hw_get_channel_centers(struct ath_hw *ah, in ath9k_hw_get_channel_centers() 253 static void ath9k_hw_read_revisions(struct ath_hw *ah) in ath9k_hw_read_revisions() [all …]
|
D | ar9003_mac.h | 111 void ar9003_hw_attach_mac_ops(struct ath_hw *hw); 112 void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size); 113 void ath9k_hw_addrxbuf_edma(struct ath_hw *ah, u32 rxdp, 116 int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, 119 void ath9k_hw_reset_txstatus_ring(struct ath_hw *ah); 120 void ath9k_hw_setup_statusring(struct ath_hw *ah, void *ts_start,
|
D | btcoex.c | 55 void ath9k_hw_init_btcoex_hw(struct ath_hw *ah, int qnum) in ath9k_hw_init_btcoex_hw() 93 void ath9k_hw_btcoex_init_scheme(struct ath_hw *ah) in ath9k_hw_btcoex_init_scheme() 127 void ath9k_hw_btcoex_init_2wire(struct ath_hw *ah) in ath9k_hw_btcoex_init_2wire() 149 void ath9k_hw_btcoex_init_3wire(struct ath_hw *ah) in ath9k_hw_btcoex_init_3wire() 175 void ath9k_hw_btcoex_init_mci(struct ath_hw *ah) in ath9k_hw_btcoex_init_mci() 199 static void ath9k_hw_btcoex_enable_2wire(struct ath_hw *ah) in ath9k_hw_btcoex_enable_2wire() 212 void ath9k_hw_btcoex_set_weight(struct ath_hw *ah, in ath9k_hw_btcoex_set_weight() 261 static void ath9k_hw_btcoex_enable_3wire(struct ath_hw *ah) in ath9k_hw_btcoex_enable_3wire() 299 static void ath9k_hw_btcoex_enable_mci(struct ath_hw *ah) in ath9k_hw_btcoex_enable_mci() 312 static void ath9k_hw_btcoex_disable_mci(struct ath_hw *ah) in ath9k_hw_btcoex_disable_mci() [all …]
|
D | ar9003_aic.h | 56 u8 ar9003_aic_calibration(struct ath_hw *ah); 57 u8 ar9003_aic_start_normal(struct ath_hw *ah); 58 u8 ar9003_aic_cal_reset(struct ath_hw *ah); 59 u8 ar9003_aic_calibration_single(struct ath_hw *ah);
|
D | ar9002_phy.c | 66 static int ar9002_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar9002_hw_set_channel() 167 static void ar9002_hw_spur_mitigate(struct ath_hw *ah, in ar9002_hw_spur_mitigate() 279 static void ar9002_olc_init(struct ath_hw *ah) in ar9002_olc_init() 303 static u32 ar9002_hw_compute_pll_control(struct ath_hw *ah, in ar9002_hw_compute_pll_control() 330 static void ar9002_hw_do_getnf(struct ath_hw *ah, in ar9002_hw_do_getnf() 353 static void ar9002_hw_set_nf_limits(struct ath_hw *ah) in ar9002_hw_set_nf_limits() 377 static void ar9002_hw_antdiv_comb_conf_get(struct ath_hw *ah, in ar9002_hw_antdiv_comb_conf_get() 394 static void ar9002_hw_antdiv_comb_conf_set(struct ath_hw *ah, in ar9002_hw_antdiv_comb_conf_set() 415 static void ar9002_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) in ar9002_hw_set_bt_ant_diversity() 476 static void ar9002_hw_spectral_scan_config(struct ath_hw *ah, in ar9002_hw_spectral_scan_config() [all …]
|
D | calib.c | 47 static struct ath_nf_limits *ath9k_hw_get_nf_limits(struct ath_hw *ah, in ath9k_hw_get_nf_limits() 60 static s16 ath9k_hw_get_default_nf(struct ath_hw *ah, in ath9k_hw_get_default_nf() 66 s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_getchan_noise() 81 static void ath9k_hw_update_nfcal_hist_buffer(struct ath_hw *ah, in ath9k_hw_update_nfcal_hist_buffer() 147 static bool ath9k_hw_get_nf_thresh(struct ath_hw *ah, in ath9k_hw_get_nf_thresh() 166 void ath9k_hw_reset_calibration(struct ath_hw *ah, in ath9k_hw_reset_calibration() 186 bool ath9k_hw_reset_calvalid(struct ath_hw *ah) in ath9k_hw_reset_calvalid() 219 void ath9k_hw_start_nfcal(struct ath_hw *ah, bool update) in ath9k_hw_start_nfcal() 237 int ath9k_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_loadnf() 327 static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) in ath9k_hw_nf_sanitize() [all …]
|
D | htc_drv_init.c | 236 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regread() 258 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_multi_regread() 304 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_single() 325 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_buffer() 348 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite() 360 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_enable_regwrite_buffer() 369 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_flush() 386 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_reg_rmw_buffer() 424 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_reg_rmw_flush() 456 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_enable_rmw_buffer() [all …]
|
D | eeprom.h | 643 int (*check_eeprom)(struct ath_hw *hw); 644 u32 (*get_eeprom)(struct ath_hw *hw, enum eeprom_param param); 645 bool (*fill_eeprom)(struct ath_hw *hw); 646 u32 (*dump_eeprom)(struct ath_hw *hw, bool dump_base_hdr, u8 *buf, 648 int (*get_eeprom_ver)(struct ath_hw *hw); 649 int (*get_eeprom_rev)(struct ath_hw *hw); 650 void (*set_board_values)(struct ath_hw *hw, struct ath9k_channel *chan); 651 void (*set_addac)(struct ath_hw *hw, struct ath9k_channel *chan); 652 void (*set_txpower)(struct ath_hw *hw, struct ath9k_channel *chan, 655 u16 (*get_spur_channel)(struct ath_hw *ah, u16 i, bool is2GHz); [all …]
|
D | ar9003_phy.c | 148 static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar9003_hw_set_channel() 255 static void ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah, in ar9003_hw_spur_mitigate_mrc_cck() 343 static void ar9003_hw_spur_ofdm_clear(struct ath_hw *ah) in ar9003_hw_spur_ofdm_clear() 386 static void ar9003_hw_spur_ofdm(struct ath_hw *ah, in ar9003_hw_spur_ofdm() 453 static void ar9003_hw_spur_ofdm_9565(struct ath_hw *ah, in ar9003_hw_spur_ofdm_9565() 486 static void ar9003_hw_spur_ofdm_work(struct ath_hw *ah, in ar9003_hw_spur_ofdm_work() 537 static void ar9003_hw_spur_mitigate_ofdm(struct ath_hw *ah, in ar9003_hw_spur_mitigate_ofdm() 594 static void ar9003_hw_spur_mitigate(struct ath_hw *ah, in ar9003_hw_spur_mitigate() 602 static u32 ar9003_hw_compute_pll_control_soc(struct ath_hw *ah, in ar9003_hw_compute_pll_control_soc() 619 static u32 ar9003_hw_compute_pll_control(struct ath_hw *ah, in ar9003_hw_compute_pll_control() [all …]
|
D | mac.c | 21 static void ath9k_hw_set_txq_interrupts(struct ath_hw *ah, in ath9k_hw_set_txq_interrupts() 46 u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q) in ath9k_hw_gettxbuf() 52 void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp) in ath9k_hw_puttxbuf() 58 void ath9k_hw_txstart(struct ath_hw *ah, u32 q) in ath9k_hw_txstart() 65 u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q) in ath9k_hw_numtxpending() 105 bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel) in ath9k_hw_updatetxtriglevel() 134 void ath9k_hw_abort_tx_dma(struct ath_hw *ah) in ath9k_hw_abort_tx_dma() 170 bool ath9k_hw_stop_dma_queue(struct ath_hw *ah, u32 q) in ath9k_hw_stop_dma_queue() 196 bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, in ath9k_hw_set_txq_props() 261 bool ath9k_hw_get_txq_props(struct ath_hw *ah, int q, in ath9k_hw_get_txq_props() [all …]
|
D | ani.c | 107 static void ath9k_hw_update_mibstats(struct ath_hw *ah, in ath9k_hw_update_mibstats() 127 static void ath9k_ani_restart(struct ath_hw *ah) in ath9k_ani_restart() 153 static void ath9k_hw_set_ofdm_nil(struct ath_hw *ah, u8 immunityLevel, in ath9k_hw_set_ofdm_nil() 222 static void ath9k_hw_ani_ofdm_err_trigger(struct ath_hw *ah) in ath9k_hw_ani_ofdm_err_trigger() 238 static void ath9k_hw_set_cck_nil(struct ath_hw *ah, u_int8_t immunityLevel, in ath9k_hw_set_cck_nil() 282 static void ath9k_hw_ani_cck_err_trigger(struct ath_hw *ah) in ath9k_hw_ani_cck_err_trigger() 300 static void ath9k_hw_ani_lower_immunity(struct ath_hw *ah) in ath9k_hw_ani_lower_immunity() 325 void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning) in ath9k_ani_reset() 385 static bool ath9k_hw_ani_read_counters(struct ath_hw *ah) in ath9k_hw_ani_read_counters() 417 void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_ani_monitor() [all …]
|
D | ar9002_hw.c | 26 static int ar9002_hw_init_mode_regs(struct ath_hw *ah) in ar9002_hw_init_mode_regs() 107 static void ar9280_20_hw_init_rxgain_ini(struct ath_hw *ah) in ar9280_20_hw_init_rxgain_ini() 130 static void ar9280_20_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) in ar9280_20_hw_init_txgain_ini() 146 static void ar9271_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) in ar9271_hw_init_txgain_ini() 156 static void ar9002_hw_init_mode_gain_regs(struct ath_hw *ah) in ar9002_hw_init_mode_gain_regs() 204 static void ar9002_hw_configpcipowersave(struct ath_hw *ah, in ar9002_hw_configpcipowersave() 326 static int ar9002_hw_get_radiorev(struct ath_hw *ah) in ar9002_hw_get_radiorev() 345 int ar9002_hw_rf_claim(struct ath_hw *ah) in ar9002_hw_rf_claim() 373 void ar9002_hw_enable_async_fifo(struct ath_hw *ah) in ar9002_hw_enable_async_fifo() 386 static void ar9002_hw_init_hang_checks(struct ath_hw *ah) in ar9002_hw_init_hang_checks() [all …]
|
D | common-beacon.h | 19 int ath9k_cmn_beacon_config_sta(struct ath_hw *ah, 22 void ath9k_cmn_beacon_config_adhoc(struct ath_hw *ah, 24 void ath9k_cmn_beacon_config_ap(struct ath_hw *ah,
|
D | ar5008_phy.c | 64 static void ar5008_write_bank6(struct ath_hw *ah, unsigned int *writecnt) in ar5008_write_bank6() 144 static void ar5008_hw_force_bias(struct ath_hw *ah, u16 synth_freq) in ar5008_hw_force_bias() 185 static int ar5008_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar5008_hw_set_channel() 257 void ar5008_hw_cmn_spur_mitigate(struct ath_hw *ah, in ar5008_hw_cmn_spur_mitigate() 419 static void ar5008_hw_spur_mitigate(struct ath_hw *ah, in ar5008_hw_spur_mitigate() 484 static int ar5008_hw_rf_alloc_ext_banks(struct ath_hw *ah) in ar5008_hw_rf_alloc_ext_banks() 511 static bool ar5008_hw_set_rf_regs(struct ath_hw *ah, in ar5008_hw_set_rf_regs() 565 static void ar5008_hw_init_bb(struct ath_hw *ah, in ar5008_hw_init_bb() 577 static void ar5008_hw_init_chain_masks(struct ath_hw *ah) in ar5008_hw_init_chain_masks() 620 static void ar5008_hw_override_ini(struct ath_hw *ah, in ar5008_hw_override_ini() [all …]
|
D | dynack.c | 43 static inline u32 ath_dynack_get_sifs(struct ath_hw *ah, int phy) in ath_dynack_get_sifs() 63 static inline bool ath_dynack_bssidmask(struct ath_hw *ah, const u8 *mac) in ath_dynack_bssidmask() 83 static void ath_dynack_compute_ackto(struct ath_hw *ah) in ath_dynack_compute_ackto() 113 static void ath_dynack_compute_to(struct ath_hw *ah) in ath_dynack_compute_to() 171 void ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, in ath_dynack_sample_tx_ts() 247 void ath_dynack_sample_ack_ts(struct ath_hw *ah, struct sk_buff *skb, in ath_dynack_sample_ack_ts() 280 void ath_dynack_node_init(struct ath_hw *ah, struct ath_node *an) in ath_dynack_node_init() 300 void ath_dynack_node_deinit(struct ath_hw *ah, struct ath_node *an) in ath_dynack_node_deinit() 315 void ath_dynack_reset(struct ath_hw *ah) in ath_dynack_reset() 341 void ath_dynack_init(struct ath_hw *ah) in ath_dynack_init()
|
D | gpio.c | 70 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 106 struct ath_hw *ah = sc->sc_ah; in ath_is_rfkill_set() 127 struct ath_hw *ah = sc->sc_ah; in ath_start_rfkill_poll() 145 struct ath_hw *ah = sc->sc_ah; in ath_detect_bt_priority() 175 struct ath_hw *ah = sc->sc_ah; in ath_mci_ftp_adjust() 197 struct ath_hw *ah = sc->sc_ah; in ath_btcoex_period_timer() 258 struct ath_hw *ah = sc->sc_ah; in ath_btcoex_no_stomp_timer() 301 struct ath_hw *ah = sc->sc_ah; in ath9k_btcoex_timer_resume() 326 struct ath_hw *ah = sc->sc_ah; in ath9k_btcoex_timer_pause() 368 struct ath_hw *ah = sc->sc_ah; in ath9k_start_btcoex() [all …]
|
D | ar9003_eeprom.h | 347 s32 ar9003_hw_get_tx_gain_idx(struct ath_hw *ah); 348 s32 ar9003_hw_get_rx_gain_idx(struct ath_hw *ah); 349 u32 ar9003_hw_ant_ctrl_common_get(struct ath_hw *ah, bool is2ghz); 350 u32 ar9003_hw_ant_ctrl_common_2_get(struct ath_hw *ah, bool is2ghz); 352 u8 *ar9003_get_spur_chan_ptr(struct ath_hw *ah, bool is_2ghz); 354 unsigned int ar9003_get_paprd_scale_factor(struct ath_hw *ah, 357 void ar9003_hw_internal_regulator_apply(struct ath_hw *ah);
|
D | ar9002_calib.c | 29 static bool ar9002_hw_is_cal_supported(struct ath_hw *ah, in ar9002_hw_is_cal_supported() 49 static void ar9002_hw_setup_calibration(struct ath_hw *ah, in ar9002_hw_setup_calibration() 78 static bool ar9002_hw_per_calibration(struct ath_hw *ah, in ar9002_hw_per_calibration() 116 static void ar9002_hw_iqcal_collect(struct ath_hw *ah) in ar9002_hw_iqcal_collect() 135 static void ar9002_hw_adc_gaincal_collect(struct ath_hw *ah) in ar9002_hw_adc_gaincal_collect() 159 static void ar9002_hw_adc_dccal_collect(struct ath_hw *ah) in ar9002_hw_adc_dccal_collect() 183 static void ar9002_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) in ar9002_hw_iqcalibrate() 260 static void ar9002_hw_adc_gaincal_calibrate(struct ath_hw *ah, u8 numChains) in ar9002_hw_adc_gaincal_calibrate() 314 static void ar9002_hw_adc_dccal_calibrate(struct ath_hw *ah, u8 numChains) in ar9002_hw_adc_dccal_calibrate() 368 static void ar9287_hw_olc_temp_compensation(struct ath_hw *ah) in ar9287_hw_olc_temp_compensation() [all …]
|
D | ar9003_hw.c | 41 static void ar9003_hw_init_mode_regs(struct ath_hw *ah) in ar9003_hw_init_mode_regs() 591 static void ar9003_tx_gain_table_mode0(struct ath_hw *ah) in ar9003_tx_gain_table_mode0() 640 static void ar9003_tx_gain_table_mode1(struct ath_hw *ah) in ar9003_tx_gain_table_mode1() 690 static void ar9003_tx_gain_table_mode2(struct ath_hw *ah) in ar9003_tx_gain_table_mode2() 721 static void ar9003_tx_gain_table_mode3(struct ath_hw *ah) in ar9003_tx_gain_table_mode3() 754 static void ar9003_tx_gain_table_mode4(struct ath_hw *ah) in ar9003_tx_gain_table_mode4() 773 static void ar9003_tx_gain_table_mode5(struct ath_hw *ah) in ar9003_tx_gain_table_mode5() 789 static void ar9003_tx_gain_table_mode6(struct ath_hw *ah) in ar9003_tx_gain_table_mode6() 802 static void ar9003_tx_gain_table_mode7(struct ath_hw *ah) in ar9003_tx_gain_table_mode7() 809 typedef void (*ath_txgain_tab)(struct ath_hw *ah); [all …]
|
D | ar9003_eeprom.c | 2959 static int ath9k_hw_ar9300_check_eeprom(struct ath_hw *ah) in ath9k_hw_ar9300_check_eeprom() 2974 static u32 ath9k_hw_ar9300_get_eeprom(struct ath_hw *ah, in ath9k_hw_ar9300_get_eeprom() 3017 static bool ar9300_eeprom_read_byte(struct ath_hw *ah, int address, in ar9300_eeprom_read_byte() 3029 static bool ar9300_eeprom_read_word(struct ath_hw *ah, int address, in ar9300_eeprom_read_word() 3043 static bool ar9300_read_eeprom(struct ath_hw *ah, int address, u8 *buffer, in ar9300_read_eeprom() 3086 static bool ar9300_otp_read_word(struct ath_hw *ah, int addr, u32 *data) in ar9300_otp_read_word() 3098 static bool ar9300_read_otp(struct ath_hw *ah, int address, u8 *buffer, in ar9300_read_otp() 3144 static bool ar9300_uncompress_block(struct ath_hw *ah, in ar9300_uncompress_block() 3181 static int ar9300_compress_decision(struct ath_hw *ah, in ar9300_compress_decision() 3229 typedef bool (*eeprom_read_op)(struct ath_hw *ah, int address, u8 *buffer, [all …]
|
D | ar9003_aic.c | 40 static bool ar9003_hw_is_aic_enabled(struct ath_hw *ah) in ar9003_hw_is_aic_enabled() 106 static void ar9003_aic_gain_table(struct ath_hw *ah) in ar9003_aic_gain_table() 165 static u8 ar9003_aic_cal_start(struct ath_hw *ah, u8 min_valid_count) in ar9003_aic_cal_start() 264 static bool ar9003_aic_cal_post_process(struct ath_hw *ah) in ar9003_aic_cal_post_process() 436 static void ar9003_aic_cal_done(struct ath_hw *ah) in ar9003_aic_cal_done() 451 static u8 ar9003_aic_cal_continue(struct ath_hw *ah, bool cal_once) in ar9003_aic_cal_continue() 518 u8 ar9003_aic_calibration(struct ath_hw *ah) in ar9003_aic_calibration() 540 u8 ar9003_aic_start_normal(struct ath_hw *ah) in ar9003_aic_start_normal() 572 u8 ar9003_aic_cal_reset(struct ath_hw *ah) in ar9003_aic_cal_reset() 580 u8 ar9003_aic_calibration_single(struct ath_hw *ah) in ar9003_aic_calibration_single() [all …]
|
D | common-init.h | 18 void ath9k_cmn_setup_ht_cap(struct ath_hw *ah, 20 void ath9k_cmn_reload_chainmask(struct ath_hw *ah);
|
D | common.c | 38 struct ath_hw *ah = common->ah; in ath9k_cmn_rx_accept() 124 struct ath_hw *ah = common->ah; in ath9k_cmn_rx_skb_postprocess() 178 struct ath_hw *ah = common->ah; in ath9k_cmn_process_rate() 217 struct ath_hw *ah = common->ah; in ath9k_cmn_process_rssi() 340 struct ath_hw *ah, in ath9k_cmn_get_channel() 366 void ath9k_cmn_update_txpow(struct ath_hw *ah, u16 cur_txpow, in ath9k_cmn_update_txpow() 379 void ath9k_cmn_init_crypto(struct ath_hw *ah) in ath9k_cmn_init_crypto()
|
D | common.h | 84 struct ath_hw *ah, 89 void ath9k_cmn_update_txpow(struct ath_hw *ah, u16 cur_txpow, 91 void ath9k_cmn_init_crypto(struct ath_hw *ah);
|
D | ani.h | 121 void ath9k_enable_mib_counters(struct ath_hw *ah); 122 void ath9k_hw_disable_mib_counters(struct ath_hw *ah); 123 void ath9k_hw_ani_init(struct ath_hw *ah);
|
D | common-beacon.c | 36 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() 55 int ath9k_cmn_beacon_config_sta(struct ath_hw *ah, in ath9k_cmn_beacon_config_sta() 128 void ath9k_cmn_beacon_config_adhoc(struct ath_hw *ah, in ath9k_cmn_beacon_config_adhoc() 158 void ath9k_cmn_beacon_config_ap(struct ath_hw *ah, in ath9k_cmn_beacon_config_ap()
|
D | init.c | 30 struct ath_hw *ah; 118 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_iowrite32() 133 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_ioread32() 173 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_reg_rmw() 198 struct ath_hw *ah = sc->sc_ah; in ath9k_reg_notifier() 394 struct ath_hw *ah = sc->sc_ah; in ath9k_init_pcoem_platform() 484 struct ath_hw *ah = ah = sc->sc_ah; in ath9k_eeprom_request() 518 struct ath_hw *ah = sc->sc_ah; in ath9k_init_soc_platform() 540 struct ath_hw *ah = NULL; in ath9k_init_softc() 546 ah = devm_kzalloc(sc->dev, sizeof(struct ath_hw), GFP_KERNEL); in ath9k_init_softc() [all …]
|
D | eeprom.c | 19 void ath9k_hw_analog_shift_regwrite(struct ath_hw *ah, u32 reg, u32 val) in ath9k_hw_analog_shift_regwrite() 27 void ath9k_hw_analog_shift_rmw(struct ath_hw *ah, u32 reg, u32 mask, in ath9k_hw_analog_shift_rmw() 79 void ath9k_hw_usb_gen_fill_eeprom(struct ath_hw *ah, u16 *eep_data, in ath9k_hw_usb_gen_fill_eeprom() 111 static bool ath9k_hw_nvram_read_blob(struct ath_hw *ah, u32 off, in ath9k_hw_nvram_read_blob() 124 bool ath9k_hw_nvram_read(struct ath_hw *ah, u32 off, u16 *data) in ath9k_hw_nvram_read() 168 void ath9k_hw_get_legacy_target_powers(struct ath_hw *ah, in ath9k_hw_get_legacy_target_powers() 223 void ath9k_hw_get_target_powers(struct ath_hw *ah, in ath9k_hw_get_target_powers() 305 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit, in ath9k_hw_get_scaled_power() 333 void ath9k_hw_update_regulatory_maxpower(struct ath_hw *ah) in ath9k_hw_update_regulatory_maxpower() 353 void ath9k_hw_get_gain_boundaries_pdadcs(struct ath_hw *ah, in ath9k_hw_get_gain_boundaries_pdadcs() [all …]
|
D | ar9003_wow.c | 23 static void ath9k_hw_set_sta_powersave(struct ath_hw *ah) in ath9k_hw_set_sta_powersave() 37 static void ath9k_hw_set_powermode_wow_sleep(struct ath_hw *ah) in ath9k_hw_set_powermode_wow_sleep() 67 static void ath9k_wow_create_keep_alive_pattern(struct ath_hw *ah) in ath9k_wow_create_keep_alive_pattern() 121 int ath9k_hw_wow_apply_pattern(struct ath_hw *ah, u8 *user_pattern, in ath9k_hw_wow_apply_pattern() 183 u32 ath9k_hw_wow_wakeup(struct ath_hw *ah) in ath9k_hw_wow_wakeup() 269 static void ath9k_hw_wow_set_arwr_reg(struct ath_hw *ah) in ath9k_hw_wow_set_arwr_reg() 289 void ath9k_hw_wow_enable(struct ath_hw *ah, u32 pattern_enable) in ath9k_hw_wow_enable()
|
D | ar9003_calib.c | 38 static void ar9003_hw_setup_calibration(struct ath_hw *ah, in ar9003_hw_setup_calibration() 72 static bool ar9003_hw_per_calibration(struct ath_hw *ah, in ar9003_hw_per_calibration() 124 static int ar9003_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, in ar9003_hw_calibrate() 176 static void ar9003_hw_iqcal_collect(struct ath_hw *ah) in ar9003_hw_iqcal_collect() 198 static void ar9003_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) in ar9003_hw_iqcalibrate() 318 static void ar9003_hw_init_cal_settings(struct ath_hw *ah) in ar9003_hw_init_cal_settings() 334 static bool ar9003_hw_dynamic_osdac_selection(struct ath_hw *ah, in ar9003_hw_dynamic_osdac_selection() 552 static bool ar9003_hw_solve_iq_cal(struct ath_hw *ah, in ar9003_hw_solve_iq_cal() 600 static s32 ar9003_hw_find_mag_approx(struct ath_hw *ah, s32 in_re, s32 in_im) in ar9003_hw_find_mag_approx() 619 static bool ar9003_hw_calc_iq_corr(struct ath_hw *ah, in ar9003_hw_calc_iq_corr() [all …]
|
D | htc_drv_gpio.c | 33 struct ath_hw *ah = priv->ah; in ath_detect_bt_priority() 102 struct ath_hw *ah = priv->ah; in ath_btcoex_duty_cycle_work() 137 struct ath_hw *ah = priv->ah; in ath_htc_resume_btcoex_work() 160 struct ath_hw *ah = priv->ah; in ath9k_htc_start_btcoex() 172 struct ath_hw *ah = priv->ah; in ath9k_htc_stop_btcoex() 184 struct ath_hw *ah = priv->ah; in ath9k_htc_init_btcoex()
|
D | ar9003_mac.c | 21 static void ar9003_hw_rx_enable(struct ath_hw *hw) in ar9003_hw_rx_enable() 27 ar9003_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) in ar9003_set_txdesc() 182 static bool ar9003_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, in ar9003_hw_get_isr() 354 static int ar9003_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9003_hw_proc_txdesc() 434 static int ar9003_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9003_hw_get_duration() 452 void ar9003_hw_attach_mac_ops(struct ath_hw *hw) in ar9003_hw_attach_mac_ops() 464 void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size) in ath9k_hw_set_rx_bufsize() 470 void ath9k_hw_addrxbuf_edma(struct ath_hw *ah, u32 rxdp, in ath9k_hw_addrxbuf_edma() 480 int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs, in ath9k_hw_process_rxdesc_edma() 588 void ath9k_hw_reset_txstatus_ring(struct ath_hw *ah) in ath9k_hw_reset_txstatus_ring() [all …]
|
D | wow.c | 52 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_disassoc_deauth_pattern() 141 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_pattern() 171 struct ath_hw *ah = sc->sc_ah; in ath9k_suspend() 283 struct ath_hw *ah = sc->sc_ah; in ath9k_resume() 330 struct ath_hw *ah = sc->sc_ah; in ath9k_init_wow()
|
D | common-debug.h | 64 struct ath_hw *ah); 66 struct ath_hw *ah);
|
D | link.c | 146 struct ath_hw *ah = sc->sc_ah; in ath_paprd_activate() 172 struct ath_hw *ah = sc->sc_ah; in ath_paprd_send_frame() 212 struct ath_hw *ah = sc->sc_ah; in ath_paprd_calibrate() 303 struct ath_hw *ah = sc->sc_ah; in ath_ani_calibrate() 419 struct ath_hw *ah = sc->sc_ah; in ath_start_ani() 447 struct ath_hw *ah = sc->sc_ah; in ath_check_ani() 486 struct ath_hw *ah = sc->sc_ah; in ath_update_survey_nf() 504 struct ath_hw *ah = sc->sc_ah; in ath_update_survey_stats()
|
D | eeprom_9287.c | 23 static int ath9k_hw_ar9287_get_eeprom_ver(struct ath_hw *ah) in ath9k_hw_ar9287_get_eeprom_ver() 28 static int ath9k_hw_ar9287_get_eeprom_rev(struct ath_hw *ah) in ath9k_hw_ar9287_get_eeprom_rev() 33 static bool __ath9k_hw_ar9287_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_ar9287_fill_eeprom() 49 static bool __ath9k_hw_usb_ar9287_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_usb_ar9287_fill_eeprom() 59 static bool ath9k_hw_ar9287_fill_eeprom(struct ath_hw *ah) in ath9k_hw_ar9287_fill_eeprom() 121 static u32 ath9k_hw_ar9287_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_ar9287_dump_eeprom() 170 static u32 ath9k_hw_ar9287_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_ar9287_dump_eeprom() 178 static int ath9k_hw_ar9287_check_eeprom(struct ath_hw *ah) in ath9k_hw_ar9287_check_eeprom() 283 static u32 ath9k_hw_ar9287_get_eeprom(struct ath_hw *ah, in ath9k_hw_ar9287_get_eeprom() 338 static void ar9287_eeprom_get_tx_gain_index(struct ath_hw *ah, in ar9287_eeprom_get_tx_gain_index() [all …]
|
D | ar9003_paprd.c | 21 void ar9003_paprd_enable(struct ath_hw *ah, bool val) in ar9003_paprd_enable() 71 static int ar9003_get_training_power_2g(struct ath_hw *ah) in ar9003_get_training_power_2g() 98 static int ar9003_get_training_power_5g(struct ath_hw *ah) in ar9003_get_training_power_5g() 138 static int ar9003_paprd_setup_single_table(struct ath_hw *ah) in ar9003_paprd_setup_single_table() 291 static void ar9003_paprd_get_gain_table(struct ath_hw *ah) in ar9003_paprd_get_gain_table() 305 static unsigned int ar9003_get_desired_gain(struct ath_hw *ah, int chain, in ar9003_get_desired_gain() 370 static void ar9003_tx_force_gain(struct ath_hw *ah, unsigned int gain_index) in ar9003_tx_force_gain() 751 void ar9003_paprd_populate_single_table(struct ath_hw *ah, in ar9003_paprd_populate_single_table() 799 void ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain) in ar9003_paprd_setup_gain_table() 820 static bool ar9003_paprd_retrain_pa_in(struct ath_hw *ah, in ar9003_paprd_retrain_pa_in() [all …]
|
D | common-init.c | 127 struct ath_hw *ah = (struct ath_hw *)common->ah; in ath9k_cmn_init_channels_rates() 172 void ath9k_cmn_setup_ht_cap(struct ath_hw *ah, in ath9k_cmn_setup_ht_cap() 230 void ath9k_cmn_reload_chainmask(struct ath_hw *ah) in ath9k_cmn_reload_chainmask()
|
D | eeprom_def.c | 21 static void ath9k_get_txgain_index(struct ath_hw *ah, in ath9k_get_txgain_index() 56 static void ath9k_olc_get_pdadcs(struct ath_hw *ah, in ath9k_olc_get_pdadcs() 80 static int ath9k_hw_def_get_eeprom_ver(struct ath_hw *ah) in ath9k_hw_def_get_eeprom_ver() 85 static int ath9k_hw_def_get_eeprom_rev(struct ath_hw *ah) in ath9k_hw_def_get_eeprom_rev() 92 static bool __ath9k_hw_def_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_def_fill_eeprom() 106 static bool __ath9k_hw_usb_def_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_usb_def_fill_eeprom() 115 static bool ath9k_hw_def_fill_eeprom(struct ath_hw *ah) in ath9k_hw_def_fill_eeprom() 201 static u32 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_def_dump_eeprom() 253 static u32 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_def_dump_eeprom() 261 static int ath9k_hw_def_check_eeprom(struct ath_hw *ah) in ath9k_hw_def_check_eeprom() [all …]
|
D | ar9002_mac.c | 22 static void ar9002_hw_rx_enable(struct ath_hw *ah) in ar9002_hw_rx_enable() 32 static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, in ar9002_hw_get_isr() 212 ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) in ar9002_set_txdesc() 315 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9002_hw_proc_txdesc() 387 static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9002_hw_get_duration() 405 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, in ath9k_hw_setuprxdesc() 418 void ar9002_hw_attach_mac_ops(struct ath_hw *ah) in ar9002_hw_attach_mac_ops()
|
D | eeprom_4k.c | 21 static int ath9k_hw_4k_get_eeprom_ver(struct ath_hw *ah) in ath9k_hw_4k_get_eeprom_ver() 26 static int ath9k_hw_4k_get_eeprom_rev(struct ath_hw *ah) in ath9k_hw_4k_get_eeprom_rev() 33 static bool __ath9k_hw_4k_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_4k_fill_eeprom() 47 static bool __ath9k_hw_usb_4k_fill_eeprom(struct ath_hw *ah) in __ath9k_hw_usb_4k_fill_eeprom() 56 static bool ath9k_hw_4k_fill_eeprom(struct ath_hw *ah) in ath9k_hw_4k_fill_eeprom() 125 static u32 ath9k_hw_4k_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_4k_dump_eeprom() 173 static u32 ath9k_hw_4k_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, in ath9k_hw_4k_dump_eeprom() 183 static int ath9k_hw_4k_check_eeprom(struct ath_hw *ah) in ath9k_hw_4k_check_eeprom() 297 static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah, in ath9k_hw_4k_get_eeprom() 351 static void ath9k_hw_set_4k_power_cal_table(struct ath_hw *ah, in ath9k_hw_set_4k_power_cal_table() [all …]
|
D | recv.c | 40 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link() 90 struct ath_hw *ah = sc->sc_ah; in ath_opmode_init() 113 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_buf_link() 173 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_cleanup() 201 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_init() 333 struct ath_hw *ah = sc->sc_ah; in ath_rx_cleanup() 439 struct ath_hw *ah = sc->sc_ah; in ath_startrecv() 478 struct ath_hw *ah = sc->sc_ah; in ath_stoprecv() 629 struct ath_hw *ah = sc->sc_ah; in ath_edma_get_buffers() 694 struct ath_hw *ah = sc->sc_ah; in ath_get_next_rx_buf() [all …]
|
D | beacon.c | 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 76 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_setup() 322 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_tasklet() 447 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_init() 467 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config_ap() 473 static void ath9k_beacon_config_sta(struct ath_hw *ah, in ath9k_beacon_config_sta() 492 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config_adhoc() 588 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_config()
|
D | common-debug.c | 22 struct ath_hw *ah = file->private_data; in read_file_modal_eeprom() 48 struct ath_hw *ah) in ath9k_cmn_debug_modal_eeprom() 58 struct ath_hw *ah = file->private_data; in read_file_base_eeprom() 83 struct ath_hw *ah) in ath9k_cmn_debug_base_eeprom()
|
D | mci.c | 212 struct ath_hw *ah = sc->sc_ah; in ath_mci_cal_msg() 369 struct ath_hw *ah = sc->sc_ah; in ath_mci_msg() 476 struct ath_hw *ah = sc->sc_ah; in ath_mci_cleanup() 486 struct ath_hw *ah = sc->sc_ah; in ath_mci_intr() 644 struct ath_hw *ah = sc->sc_ah; in ath9k_mci_update_wlan_channels() 695 struct ath_hw *ah = sc->sc_ah; in ath9k_mci_set_txpower() 727 struct ath_hw *ah = sc->sc_ah; in ath9k_mci_stomp_audio() 743 struct ath_hw *ah = sc->sc_ah; in ath9k_mci_update_rssi()
|
D | main.c | 212 struct ath_hw *ah = sc->sc_ah; in ath_prepare_reset() 232 struct ath_hw *ah = sc->sc_ah; in ath_complete_reset() 282 struct ath_hw *ah = sc->sc_ah; in ath_reset_internal() 372 struct ath_hw *ah = sc->sc_ah; in ath9k_tasklet() 505 struct ath_hw *ah = sc->sc_ah; in ath_isr() 650 struct ath_hw *ah = sc->sc_ah; in ath9k_start() 825 struct ath_hw *ah = sc->sc_ah; in ath9k_stop() 1044 struct ath_hw *ah = sc->sc_ah; in ath9k_set_offchannel_state() 1082 struct ath_hw *ah = sc->sc_ah; in ath9k_calculate_summary_state() 1194 struct ath_hw *ah = sc->sc_ah; in ath9k_set_txpower() [all …]
|
D | tx99.c | 21 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_stop() 53 struct ath_hw *ah = sc->sc_ah; in ath9k_build_tx99_skb() 112 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_init()
|
D | dfs.c | 105 struct ath_hw *ah = sc->sc_ah; in ath9k_check_chirping() 185 static u32 dur_to_usecs(struct ath_hw *ah, u32 dur) in dur_to_usecs() 298 struct ath_hw *ah = sc->sc_ah; in ath9k_dfs_process_phyerr()
|
D | htc_drv_beacon.c | 23 struct ath_hw *ah = priv->ah; in ath9k_htc_beaconq_config() 72 struct ath_hw *ah = priv->ah; in ath9k_htc_beacon_init() 114 struct ath_hw *ah = priv->ah; in ath9k_htc_beacon_config_ap() 124 struct ath_hw *ah = priv->ah; in ath9k_htc_beacon_config_adhoc()
|
D | debug.h | 251 int ath9k_init_debug(struct ath_hw *ah); 278 static inline int ath9k_init_debug(struct ath_hw *ah) in ath9k_init_debug()
|
D | debug.c | 137 struct ath_hw *ah = sc->sc_ah; in read_file_ani() 304 struct ath_hw *ah = sc->sc_ah; in read_file_antenna_diversity() 408 struct ath_hw *ah = sc->sc_ah; in read_file_dma() 869 struct ath_hw *ah = sc->sc_ah; in read_file_regval() 885 struct ath_hw *ah = sc->sc_ah; in write_file_regval() 952 struct ath_hw *ah = sc->sc_ah; in read_file_dump_nfcal() 1030 struct ath_hw *ah = sc->sc_ah; in read_file_ackto() 1115 struct ath_hw *ah = sc->sc_ah; in read_file_tpc() 1140 struct ath_hw *ah = sc->sc_ah; in write_file_tpc() 1304 int ath9k_init_debug(struct ath_hw *ah) in ath9k_init_debug()
|
D | pci.c | 801 struct ath_hw *ah = (struct ath_hw *) common->ah; in ath_pci_eeprom_read() 825 struct ath_hw *ah = sc->sc_ah; in ath_pci_aspm_init() 1035 struct ath_hw *ah = sc->sc_ah; in ath_pci_resume()
|
D | debug_sta.c | 96 struct ath_hw *ah = sc->sc_ah; in ath_debug_rate_stats() 173 struct ath_hw *ah = sc->sc_ah; in read_file_node_recv()
|
D | common-spectral.h | 98 struct ath_hw *ah;
|
D | htc.h | 454 struct ath_hw *ah; 638 int ath9k_htc_init_debug(struct ath_hw *ah); 641 static inline int ath9k_htc_init_debug(struct ath_hw *ah) { return 0; }; in ath9k_htc_init_debug()
|
D | common-spectral.c | 150 struct ath_hw *ah = spec_priv->ah; in ath_cmn_process_ht20_fft() 254 struct ath_hw *ah = spec_priv->ah; in ath_cmn_process_ht20_40_fft() 500 struct ath_hw *ah = spec_priv->ah; in ath_cmn_process_fft() 731 struct ath_hw *ah = spec_priv->ah; in ath9k_cmn_spectral_scan_trigger() 763 struct ath_hw *ah = spec_priv->ah; in ath9k_cmn_spectral_scan_config()
|
D | htc_drv_txrx.c | 191 struct ath_hw *ah = priv->ah; in ath_htc_txq_update() 821 struct ath_hw *ah = priv->ah; in ath9k_htc_txq_setup() 865 struct ath_hw *ah = priv->ah; in ath9k_htc_calcrxfilter() 909 struct ath_hw *ah = priv->ah; in ath9k_htc_opmode_init() 971 struct ath_hw *ah = common->ah; in ath9k_rx_prepare() 1106 struct ath_hw *ah = priv->ah; in ath9k_htc_rxep()
|
D | xmit.c | 1095 struct ath_hw *ah = sc->sc_ah; in ath_get_rate_txpower() 1164 struct ath_hw *ah = sc->sc_ah; in ath_buf_set_rate() 1302 struct ath_hw *ah = sc->sc_ah; in ath_tx_fill_desc() 1673 struct ath_hw *ah = sc->sc_ah; in ath_txq_setup() 1746 struct ath_hw *ah = sc->sc_ah; in ath_txq_update() 1842 struct ath_hw *ah = sc->sc_ah; in ath_drain_all_txq() 1982 struct ath_hw *ah = sc->sc_ah; in ath_tx_txqaddbuf() 2130 struct ath_hw *ah = sc->sc_ah; in ath_txchainmask_reduction() 2554 struct ath_hw *ah = sc->sc_ah; in ath_tx_rc_status() 2603 struct ath_hw *ah = sc->sc_ah; in ath_tx_processq() [all …]
|
D | ahb.c | 92 struct ath_hw *ah; in ath_ahb_probe()
|
D | channel.c | 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 358 struct ath_hw *ah = sc->sc_ah; in ath_chanctx_setup_timer() 477 struct ath_hw *ah = sc->sc_ah; in ath_chanctx_event() 1363 struct ath_hw *ah = sc->sc_ah; in ath9k_chanctx_stop_queues() 1382 struct ath_hw *ah = sc->sc_ah; in ath9k_chanctx_wake_queues() 1404 struct ath_hw *ah = sc->sc_ah; in ath9k_update_p2p_ps_timer()
|
D | htc_drv_main.c | 186 struct ath_hw *ah = priv->ah; in ath9k_htc_reset() 244 struct ath_hw *ah = priv->ah; in ath9k_htc_set_channel() 775 struct ath_hw *ah = priv->ah; in ath9k_htc_ani_work() 913 struct ath_hw *ah = priv->ah; in ath9k_htc_start() 982 struct ath_hw *ah = priv->ah; in ath9k_htc_stop() 1517 struct ath_hw *ah = priv->ah; in ath9k_htc_bss_info_changed() 1806 struct ath_hw *ah = priv->ah; in ath9k_htc_get_stats()
|
D | wmi.c | 296 struct ath_hw *ah = wmi->drv_priv->ah; in ath9k_wmi_cmd()
|
D | htc_drv_debug.c | 487 int ath9k_htc_init_debug(struct ath_hw *ah) in ath9k_htc_init_debug()
|
D | ath9k.h | 964 struct ath_hw *sc_ah;
|