Home
last modified time | relevance | path

Searched refs:ath_softc (Results 1 – 25 of 25) 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;
452 void ath_chanctx_init(struct ath_softc *sc);
453 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx,
467 void ath9k_init_channel_context(struct ath_softc *sc);
468 void ath9k_offchannel_init(struct ath_softc *sc);
469 void ath9k_deinit_channel_context(struct ath_softc *sc);
470 int ath9k_init_p2p(struct ath_softc *sc);
471 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 = from_timer(sc, t, btcoex.period_timer); in ath_btcoex_period_timer()
[all …]
H A Ddebug.h256 void ath9k_deinit_debug(struct ath_softc *sc);
258 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
259 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
262 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs);
275 void ath9k_debug_stat_ant(struct ath_softc *sc,
278 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause);
287 static inline void ath9k_deinit_debug(struct ath_softc *sc) in ath9k_deinit_debug()
290 static inline void ath_debug_stat_interrupt(struct ath_softc *sc, in ath_debug_stat_interrupt()
294 static inline void ath_debug_stat_tx(struct ath_softc *sc, in ath_debug_stat_tx()
301 static inline void ath_debug_stat_rx(struct ath_softc *sc, in ath_debug_stat_rx()
[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()
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 …]
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 = from_timer(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 Dlink.c23 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 = common->priv; in ath_ani_calibrate()
421 void ath_start_ani(struct ath_softc *sc) in ath_start_ani()
[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 *sc, struct ieee80211_vif *vif) in ath9k_csa_is_finished()
[all …]
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 *sc, int nbufs) in ath_rx_edma_init()
[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 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,
70 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid,
72 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc,
107 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete()
122 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid()
132 struct ath_softc *sc = hw->priv; in ath9k_wake_tx_queue()
[all …]
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 *sc = hw->priv; 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 *sc) in ath_mci_cleanup()
485 void ath_mci_intr(struct ath_softc *sc) in ath_mci_intr()
[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 Dinit.c150 static void ath9k_deinit_softc(struct ath_softc *sc);
177 struct ath_softc *sc = common->priv; in ath9k_iowrite32()
192 struct ath_softc *sc = 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 = 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()
423 static void ath9k_init_misc(struct ath_softc *sc) in ath9k_init_misc()
449 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.c75 struct ath_softc *sc; in ath_ahb_probe()
106 hw = ieee80211_alloc_hw(sizeof(struct ath_softc), &ath9k_ops); in ath_ahb_probe()
152 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 Ddfs.c100 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()
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()
H A Dcommon-spectral.c474 struct ath_softc *sc = common->priv; in ath_cmn_process_fft()