Home
last modified time | relevance | path

Searched refs:ath_softc (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/net/wireless/ath/ath9k/
H A Dath9k.h77 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
252 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid);
255 struct ath_softc *sc;
451 void ath_chanctx_init(struct ath_softc *sc);
452 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx,
466 void ath9k_init_channel_context(struct ath_softc *sc);
467 void ath9k_offchannel_init(struct ath_softc *sc);
468 void ath9k_deinit_channel_context(struct ath_softc *sc);
469 int ath9k_init_p2p(struct ath_softc *sc);
470 void ath9k_deinit_p2p(struct ath_softc *s
983 struct ath_softc { global() struct
984 hwath_softc global() argument
985 devath_softc global() argument
987 cur_surveyath_softc global() argument
988 surveyath_softc global() argument
990 intr_lockath_softc global() argument
991 intr_tqath_softc global() argument
992 bcon_taskletath_softc global() argument
993 sc_ahath_softc global() argument
994 memath_softc global() argument
995 irqath_softc global() argument
996 sc_serial_rwath_softc global() argument
997 sc_pm_lockath_softc global() argument
998 sc_pcu_lockath_softc global() argument
999 mutexath_softc global() argument
1000 paprd_workath_softc global() argument
1001 hw_reset_workath_softc global() argument
1002 paprd_completeath_softc global() argument
1003 tx_waitath_softc global() argument
1006 chanctx_workath_softc global() argument
1007 p2p_ps_timerath_softc global() argument
1008 p2p_ps_vifath_softc global() argument
1009 schedath_softc global() argument
1010 offchannelath_softc global() argument
1011 next_chanath_softc global() argument
1012 go_beaconath_softc global() argument
1013 last_event_timeath_softc global() argument
1016 driver_dataath_softc global() argument
1018 gtt_cntath_softc global() argument
1019 intrstatusath_softc global() argument
1020 rx_active_check_timeath_softc global() argument
1021 rx_active_countath_softc global() argument
1022 ps_flagsath_softc global() argument
1023 ps_enabledath_softc global() argument
1024 ps_idleath_softc global() argument
1025 nbcnvifsath_softc global() argument
1026 ps_usecountath_softc global() argument
1028 rxath_softc global() argument
1029 txath_softc global() argument
1030 beaconath_softc global() argument
1032 cur_chandefath_softc global() argument
1033 chanctxath_softc global() argument
1034 cur_chanath_softc global() argument
1035 chan_lockath_softc global() argument
1038 led_registeredath_softc global() argument
1039 led_nameath_softc global() argument
1040 led_cdevath_softc global() argument
1044 debugath_softc global() argument
1046 hw_check_workath_softc global() argument
1047 hw_pll_workath_softc global() argument
1048 sleep_timerath_softc global() argument
1051 btcoexath_softc global() argument
1052 mci_coexath_softc global() argument
1053 mci_workath_softc global() argument
1056 txsdmaath_softc global() argument
1058 ant_combath_softc global() argument
1059 ant_rxath_softc global() argument
1060 dfs_detectorath_softc global() argument
1061 dfs_prev_pulse_tsath_softc global() argument
1062 wow_enabledath_softc global() argument
1064 spec_privath_softc global() argument
1088 rng_nameath_softc global() argument
[all...]
H A Dmci.h154 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 *s in ath9k_mci_update_wlan_channels()
[all...]
H A Dgpio.c25 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 *s
[all...]
H A Ddebug.h257 void ath9k_deinit_debug(struct ath_softc *sc);
259 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
260 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
263 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs);
276 void ath9k_debug_stat_ant(struct ath_softc *sc,
279 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause);
288 static inline void ath9k_deinit_debug(struct ath_softc *sc) in ath9k_deinit_debug()
291 static inline void ath_debug_stat_interrupt(struct ath_softc *sc, in ath_debug_stat_interrupt()
295 static inline void ath_debug_stat_tx(struct ath_softc *sc, in ath_debug_stat_tx()
302 static inline void ath_debug_stat_rx(struct ath_softc *s in ath_debug_stat_tx()
[all...]
H A Dchannel.c23 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()
242 void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_check_active()
322 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) in ath_chanctx_get_next()
329 static void ath_chanctx_adjust_tbtt_delta(struct ath_softc *sc) in ath_chanctx_adjust_tbtt_delta()
368 static void ath_chanctx_setup_timer(struct ath_softc *sc, u32 tsf_time) in ath_chanctx_setup_timer()
384 static void ath_chanctx_handle_bmiss(struct ath_softc *s
[all...]
H A Dlink.c23 static bool ath_tx_complete_check(struct ath_softc *sc) in ath_tx_complete_check()
57 static bool ath_hw_rx_inactive_check(struct ath_softc *sc) in ath_hw_rx_inactive_check()
87 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_hw_check_work()
101 bool ath_hw_check(struct ath_softc *sc) in ath_hw_check()
126 static bool ath_hw_pll_rx_hang_check(struct ath_softc *sc, u32 pll_sqsum) in ath_hw_pll_rx_hang_check()
149 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_hw_pll_work()
177 static void ath_paprd_activate(struct ath_softc *sc) in ath_paprd_activate()
201 static bool ath_paprd_send_frame(struct ath_softc *s
[all...]
H A Dmain.c60 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 = timer_container_of(sc, t, sleep_timer); in ath_ps_full_sleep()
116 void ath9k_ps_wakeup(struct ath_softc *sc) in ath9k_ps_wakeup()
146 void ath9k_ps_restore(struct ath_softc *sc) in ath9k_ps_restore()
184 static void __ath_cancel_work(struct ath_softc *sc) in __ath_cancel_work()
196 void ath_cancel_work(struct ath_softc *sc) in ath_cancel_work()
202 void ath_restart_work(struct ath_softc *sc) in ath_restart_work()
214 static bool ath_prepare_reset(struct ath_softc *sc) in ath_prepare_reset()
234 static bool ath_complete_reset(struct ath_softc *s
[all...]
H A Dbeacon.c22 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 *s
[all...]
H A Dtx99.c19 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()
225 struct ath_softc *sc = file->private_data; in read_file_tx99_power()
240 struct ath_softc *sc = file->private_data; in write_file_tx99_power()
268 void ath9k_tx99_init_debug(struct ath_softc *sc) in ath9k_tx99_init_debug()
H A Drecv.c23 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 *s
[all...]
H A Drng.c24 static int ath9k_rng_data_read(struct ath_softc *sc, u32 *buf, u32 buf_size) in ath9k_rng_data_read()
71 struct ath_softc *sc = container_of(rng, struct ath_softc, rng_ops); in ath9k_rng_read()
95 void ath9k_rng_start(struct ath_softc *sc) in ath9k_rng_start()
116 void ath9k_rng_stop(struct ath_softc *sc) in ath9k_rng_stop()
H A Ddebug.c29 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()
130 struct ath_softc *sc = file->private_data; in read_file_ani()
186 struct ath_softc *sc = file->private_data; in write_file_ani()
224 struct ath_softc *sc = file->private_data; in read_file_bt_ant_diversity()
237 struct ath_softc *sc = file->private_data; in write_file_bt_ant_diversity()
270 void ath9k_debug_stat_ant(struct ath_softc *sc, in ath9k_debug_stat_ant()
288 struct ath_softc *sc = file->private_data; in read_file_antenna_diversity()
392 struct ath_softc *s in read_file_dma()
[all...]
H A Dwow.c33 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()
H A Dmci.c119 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()
297 static u8 ath_mci_process_profile(struct ath_softc *sc, in ath_mci_process_profile()
332 static u8 ath_mci_process_status(struct ath_softc *sc, in ath_mci_process_status()
369 static void ath_mci_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_msg()
436 int ath_mci_setup(struct ath_softc *sc) in ath_mci_setup()
475 void ath_mci_cleanup(struct ath_softc *s
[all...]
H A Ddfs_debug.h24 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()
H A Dxmit.c56 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq,
58 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb,
61 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
65 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq,
67 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf,
71 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc,
106 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete()
121 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid()
131 struct ath_softc *sc = hw->priv; in ath9k_wake_tx_queue()
210 static void ath_txq_skb_done(struct ath_softc *s
[all...]
H A Ddfs_debug.c37 struct ath_softc *sc = file->private_data; in read_file_dfs()
100 struct ath_softc *sc = file->private_data; in write_file_dfs()
117 struct ath_softc *sc = file->private_data; in write_file_simulate_radar()
139 void ath9k_dfs_init_debug(struct ath_softc *sc) in ath9k_dfs_init_debug()
H A Ddfs.h25 * @sc: ath_softc
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()
H A Dahb.c59 struct ath_softc *sc; in ath_ahb_probe()
78 hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops); in ath_ahb_probe()
125 struct ath_softc *sc = hw->priv; in ath_ahb_remove()
H A Dpci.c782 struct ath_softc *sc = common->priv; in ath_pci_read_cachesize()
821 struct ath_softc *sc = common->priv; in ath_pci_aspm_init()
886 struct ath_softc *sc; in ath_pci_probe()
943 hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops); in ath_pci_probe()
1004 struct ath_softc *sc = hw->priv; in ath_pci_remove()
1018 struct ath_softc *sc = hw->priv; in ath_pci_suspend()
1042 struct ath_softc *sc = hw->priv; in ath_pci_resume()
H A Ddebug_sta.c27 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()
H A Dantenna.c721 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs) in ath_ant_comb_scan()