Home
last modified time | relevance | path

Searched refs:ath_softc (Results 1 – 18 of 18) 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 *sc);
[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 *sc, bool setchannel, in ath9k_mci_set_txpower()
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 *sc) in ath_mci_ftp_adjust()
196 struct ath_softc *sc = timer_container_of(sc, t, btcoex.period_timer); in ath_btcoex_period_timer()
[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 *sc, in ath_chanctx_handle_bmiss()
[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 *sc, struct sk_buff *skb, int chain) in ath_paprd_send_frame()
243 struct ath_softc *sc = container_of(work, struct ath_softc, paprd_work); in ath_paprd_calibrate()
336 struct ath_softc *sc = common->priv; in ath_ani_calibrate()
[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 *sc, bool start) in ath_complete_reset()
[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 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 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 *sc) in ath_mci_cleanup()
485 void ath_mci_intr(struct ath_softc *sc) in ath_mci_intr()
[all …]
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 *sc, struct sk_buff *skb) in ath_txq_skb_done()
[all …]
H A Dinit.c149 static void ath9k_deinit_softc(struct ath_softc *sc);
176 struct ath_softc *sc = common->priv; in ath9k_iowrite32()
191 struct ath_softc *sc = common->priv; in ath9k_ioread32()
214 static unsigned int __ath9k_reg_rmw(struct ath_softc *sc, u32 reg_offset, in __ath9k_reg_rmw()
231 struct ath_softc *sc = common->priv; in ath9k_reg_rmw()
253 struct ath_softc *sc = hw->priv; in ath9k_reg_notifier()
282 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, in ath_descdma_setup()
405 static int ath9k_init_queues(struct ath_softc *sc) in ath9k_init_queues()
422 static void ath9k_init_misc(struct ath_softc *sc) in ath9k_init_misc()
448 static void ath9k_init_pcoem_platform(struct ath_softc *sc) in ath9k_init_pcoem_platform()
[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 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.h37 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 Dcommon-spectral.c475 struct ath_softc *sc = common->priv; in ath_cmn_process_fft()