/drivers/net/wireless/ath/ath9k/ |
D | ath9k.h | 75 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, 250 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid); 253 struct ath_softc *sc; 450 void ath_chanctx_init(struct ath_softc *sc); 451 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, 465 void ath9k_init_channel_context(struct ath_softc *sc); 466 void ath9k_offchannel_init(struct ath_softc *sc); 467 void ath9k_deinit_channel_context(struct ath_softc *sc); 468 int ath9k_init_p2p(struct ath_softc *sc); 469 void ath9k_deinit_p2p(struct ath_softc *sc); [all …]
|
D | mci.h | 154 int ath_mci_setup(struct ath_softc *sc); 155 void ath_mci_cleanup(struct ath_softc *sc); 156 void ath_mci_intr(struct ath_softc *sc); 157 void ath9k_mci_update_rssi(struct ath_softc *sc); 160 void ath_mci_enable(struct ath_softc *sc); 161 void ath9k_mci_update_wlan_channels(struct ath_softc *sc, bool allow_all); 162 void ath9k_mci_set_txpower(struct ath_softc *sc, bool setchannel, 165 static inline void ath_mci_enable(struct ath_softc *sc) in ath_mci_enable() 168 static inline void ath9k_mci_update_wlan_channels(struct ath_softc *sc, in ath9k_mci_update_wlan_channels() 172 static inline void ath9k_mci_set_txpower(struct ath_softc *sc, bool setchannel, in ath9k_mci_set_txpower()
|
D | gpio.c | 25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() 54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() 63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() 74 void ath_init_leds(struct ath_softc *sc) in ath_init_leds() 104 static bool ath_is_rfkill_set(struct ath_softc *sc) in ath_is_rfkill_set() 119 struct ath_softc *sc = hw->priv; in ath9k_rfkill_poll_state() 125 void ath_start_rfkill_poll(struct ath_softc *sc) in ath_start_rfkill_poll() 142 static void ath_detect_bt_priority(struct ath_softc *sc) in ath_detect_bt_priority() 171 static void ath_mci_ftp_adjust(struct ath_softc *sc) in ath_mci_ftp_adjust() 196 struct ath_softc *sc = from_timer(sc, t, btcoex.period_timer); in ath_btcoex_period_timer() [all …]
|
D | debug.h | 255 void ath9k_deinit_debug(struct ath_softc *sc); 257 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); 258 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, 261 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs); 274 void ath9k_debug_stat_ant(struct ath_softc *sc, 277 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause); 286 static inline void ath9k_deinit_debug(struct ath_softc *sc) in ath9k_deinit_debug() 289 static inline void ath_debug_stat_interrupt(struct ath_softc *sc, in ath_debug_stat_interrupt() 293 static inline void ath_debug_stat_tx(struct ath_softc *sc, in ath_debug_stat_tx() 300 static inline void ath_debug_stat_rx(struct ath_softc *sc, in ath_debug_stat_rx() [all …]
|
D | channel.c | 23 static int ath_set_channel(struct ath_softc *sc) in ath_set_channel() 103 void ath_chanctx_init(struct ath_softc *sc) in ath_chanctx_init() 130 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, in ath_chanctx_set_channel() 157 struct ath_chanctx* ath_is_go_chanctx_present(struct ath_softc *sc) in ath_is_go_chanctx_present() 233 static u32 chanctx_event_delta(struct ath_softc *sc) in chanctx_event_delta() 247 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_check_active() 327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_get_next() 334 static void ath_chanctx_adjust_tbtt_delta(struct ath_softc *sc) in ath_chanctx_adjust_tbtt_delta() 373 static void ath_chanctx_setup_timer(struct ath_softc *sc, u32 tsf_time) in ath_chanctx_setup_timer() 389 static void ath_chanctx_handle_bmiss(struct ath_softc *sc, in ath_chanctx_handle_bmiss() [all …]
|
D | link.c | 23 static bool ath_tx_complete_check(struct ath_softc *sc) in ath_tx_complete_check() 58 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_hw_check_work() 72 bool ath_hw_check(struct ath_softc *sc) in ath_hw_check() 97 static bool ath_hw_pll_rx_hang_check(struct ath_softc *sc, u32 pll_sqsum) in ath_hw_pll_rx_hang_check() 120 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_hw_pll_work() 148 static void ath_paprd_activate(struct ath_softc *sc) in ath_paprd_activate() 172 static bool ath_paprd_send_frame(struct ath_softc *sc, struct sk_buff *skb, int chain) in ath_paprd_send_frame() 214 struct ath_softc *sc = container_of(work, struct ath_softc, paprd_work); in ath_paprd_calibrate() 307 struct ath_softc *sc = (struct ath_softc *)common->priv; in ath_ani_calibrate() 421 void ath_start_ani(struct ath_softc *sc) in ath_start_ani() [all …]
|
D | main.c | 60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() 87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() 101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); in ath_ps_full_sleep() 116 void ath9k_ps_wakeup(struct ath_softc *sc) in ath9k_ps_wakeup() 147 void ath9k_ps_restore(struct ath_softc *sc) in ath9k_ps_restore() 185 static void __ath_cancel_work(struct ath_softc *sc) in __ath_cancel_work() 197 void ath_cancel_work(struct ath_softc *sc) in ath_cancel_work() 203 void ath_restart_work(struct ath_softc *sc) in ath_restart_work() 215 static bool ath_prepare_reset(struct ath_softc *sc) in ath_prepare_reset() 235 static bool ath_complete_reset(struct ath_softc *sc, bool start) in ath_complete_reset() [all …]
|
D | beacon.c | 22 static void ath9k_reset_beacon_status(struct ath_softc *sc) in ath9k_reset_beacon_status() 33 static void ath9k_beaconq_config(struct ath_softc *sc) in ath9k_beaconq_config() 72 static void ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, in ath9k_beacon_setup() 115 struct ath_softc *sc = hw->priv; in ath9k_beacon_generate() 195 void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_beacon_assign_slot() 217 void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_beacon_remove_slot() 244 void ath9k_beacon_ensure_primary_slot(struct ath_softc *sc) in ath9k_beacon_ensure_primary_slot() 306 static int ath9k_beacon_choose_slot(struct ath_softc *sc) in ath9k_beacon_choose_slot() 334 static void ath9k_set_tsfadjust(struct ath_softc *sc, in ath9k_set_tsfadjust() 363 bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) in ath9k_csa_is_finished() [all …]
|
D | xmit.c | 50 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, 52 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, 55 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 59 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, 61 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 64 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, 66 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc, 101 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete() 116 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid() 126 struct ath_softc *sc = hw->priv; in ath9k_wake_tx_queue() [all …]
|
D | recv.c | 23 static inline bool ath9k_check_auto_sleep(struct ath_softc *sc) in ath9k_check_auto_sleep() 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() 80 static void ath_setdefantenna(struct ath_softc *sc, u32 antenna) in ath_setdefantenna() 88 static void ath_opmode_init(struct ath_softc *sc) in ath_opmode_init() 110 static bool ath_rx_edma_buf_link(struct ath_softc *sc, in ath_rx_edma_buf_link() 138 static void ath_rx_addbuffer_edma(struct ath_softc *sc, in ath_rx_addbuffer_edma() 155 static void ath_rx_remove_buffer(struct ath_softc *sc, in ath_rx_remove_buffer() 171 static void ath_rx_edma_cleanup(struct ath_softc *sc) in ath_rx_edma_cleanup() 198 static int ath_rx_edma_init(struct ath_softc *sc, int nbufs) in ath_rx_edma_init() [all …]
|
D | init.c | 150 static void ath9k_deinit_softc(struct ath_softc *sc); 154 ath9k_ps_wakeup((struct ath_softc *) common->priv); in ath9k_op_ps_wakeup() 159 ath9k_ps_restore((struct ath_softc *) common->priv); in ath9k_op_ps_restore() 177 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_iowrite32() 192 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_ioread32() 215 static unsigned int __ath9k_reg_rmw(struct ath_softc *sc, u32 reg_offset, in __ath9k_reg_rmw() 232 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_reg_rmw() 254 struct ath_softc *sc = hw->priv; in ath9k_reg_notifier() 283 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, in ath_descdma_setup() 406 static int ath9k_init_queues(struct ath_softc *sc) in ath9k_init_queues() [all …]
|
D | debug.c | 29 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause) in ath9k_debug_sync_cause() 89 struct ath_softc *sc = file->private_data; in read_file_debug() 101 struct ath_softc *sc = file->private_data; in write_file_debug() 135 struct ath_softc *sc = file->private_data; in read_file_ani() 191 struct ath_softc *sc = file->private_data; in write_file_ani() 234 struct ath_softc *sc = file->private_data; in read_file_bt_ant_diversity() 247 struct ath_softc *sc = file->private_data; in write_file_bt_ant_diversity() 285 void ath9k_debug_stat_ant(struct ath_softc *sc, in ath9k_debug_stat_ant() 303 struct ath_softc *sc = file->private_data; in read_file_antenna_diversity() 407 struct ath_softc *sc = hw->priv; in read_file_dma() [all …]
|
D | tx99.c | 19 static void ath9k_tx99_stop(struct ath_softc *sc) in ath9k_tx99_stop() 40 static struct sk_buff *ath9k_build_tx99_skb(struct ath_softc *sc) in ath9k_build_tx99_skb() 98 static void ath9k_tx99_deinit(struct ath_softc *sc) in ath9k_tx99_deinit() 107 static int ath9k_tx99_init(struct ath_softc *sc) in ath9k_tx99_init() 162 struct ath_softc *sc = file->private_data; in read_file_tx99() 173 struct ath_softc *sc = file->private_data; in write_file_tx99() 231 struct ath_softc *sc = file->private_data; in read_file_tx99_power() 246 struct ath_softc *sc = file->private_data; in write_file_tx99_power() 274 void ath9k_tx99_init_debug(struct ath_softc *sc) in ath9k_tx99_init_debug()
|
D | wow.c | 33 static u8 ath9k_wow_map_triggers(struct ath_softc *sc, in ath9k_wow_map_triggers() 50 static int ath9k_wow_add_disassoc_deauth_pattern(struct ath_softc *sc) in ath9k_wow_add_disassoc_deauth_pattern() 138 static int ath9k_wow_add_pattern(struct ath_softc *sc, in ath9k_wow_add_pattern() 170 struct ath_softc *sc = hw->priv; in ath9k_suspend() 282 struct ath_softc *sc = hw->priv; in ath9k_resume() 316 struct ath_softc *sc = hw->priv; in ath9k_set_wakeup() 329 struct ath_softc *sc = hw->priv; in ath9k_init_wow() 344 struct ath_softc *sc = hw->priv; in ath9k_deinit_wow()
|
D | mci.c | 119 static void ath_mci_update_scheme(struct ath_softc *sc) in ath_mci_update_scheme() 210 static void ath_mci_cal_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_cal_msg() 238 struct ath_softc *sc = container_of(work, struct ath_softc, mci_work); in ath9k_mci_work() 256 static void ath_mci_set_concur_txprio(struct ath_softc *sc) in ath_mci_set_concur_txprio() 295 static u8 ath_mci_process_profile(struct ath_softc *sc, in ath_mci_process_profile() 330 static u8 ath_mci_process_status(struct ath_softc *sc, in ath_mci_process_status() 367 static void ath_mci_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_msg() 434 int ath_mci_setup(struct ath_softc *sc) in ath_mci_setup() 473 void ath_mci_cleanup(struct ath_softc *sc) in ath_mci_cleanup() 483 void ath_mci_intr(struct ath_softc *sc) in ath_mci_intr() [all …]
|
D | rng.c | 29 static int ath9k_rng_data_read(struct ath_softc *sc, u32 *buf, u32 buf_size) in ath9k_rng_data_read() 77 struct ath_softc *sc = data; in ath9k_rng_kthread() 110 void ath9k_rng_start(struct ath_softc *sc) in ath9k_rng_start() 125 void ath9k_rng_stop(struct ath_softc *sc) in ath9k_rng_stop()
|
D | dfs_debug.h | 24 struct ath_softc; 59 void ath9k_dfs_init_debug(struct ath_softc *sc); 66 static inline void ath9k_dfs_init_debug(struct ath_softc *sc) { } in ath9k_dfs_init_debug()
|
D | dfs_debug.c | 37 struct ath_softc *sc = file->private_data; in read_file_dfs() 100 struct ath_softc *sc = file->private_data; in write_file_dfs() 123 struct ath_softc *sc = file->private_data; in write_file_simulate_radar() 145 void ath9k_dfs_init_debug(struct ath_softc *sc) in ath9k_dfs_init_debug()
|
D | pci.c | 784 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_read_cachesize() 823 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_aspm_init() 888 struct ath_softc *sc; in ath_pci_probe() 951 hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops); in ath_pci_probe() 1012 struct ath_softc *sc = hw->priv; in ath_pci_remove() 1026 struct ath_softc *sc = hw->priv; in ath_pci_suspend() 1050 struct ath_softc *sc = hw->priv; in ath_pci_resume()
|
D | dfs.h | 37 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, 41 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, in ath9k_dfs_process_phyerr()
|
D | ahb.c | 75 struct ath_softc *sc; in ath_ahb_probe() 110 hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops); in ath_ahb_probe() 156 struct ath_softc *sc = hw->priv; in ath_ahb_remove()
|
D | dfs.c | 100 static bool ath9k_check_chirping(struct ath_softc *sc, u8 *data, in ath9k_check_chirping() 200 ath9k_postprocess_radar_event(struct ath_softc *sc, in ath9k_postprocess_radar_event() 274 ath9k_dfs_process_radar_pulse(struct ath_softc *sc, struct pulse_event *pe) in ath9k_dfs_process_radar_pulse() 289 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, in ath9k_dfs_process_phyerr()
|
D | debug_sta.c | 27 struct ath_softc *sc = an->sc; in read_file_node_aggr() 91 void ath_debug_rate_stats(struct ath_softc *sc, in ath_debug_rate_stats() 172 struct ath_softc *sc = an->sc; in read_file_node_recv()
|
D | common-spectral.c | 474 struct ath_softc *sc = (struct ath_softc *)common->priv; in ath_cmn_process_fft()
|
D | antenna.c | 721 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs) in ath_ant_comb_scan()
|