Home
last modified time | relevance | path

Searched full:ath10k (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath10k/
H A Ddebug.h80 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...);
81 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...);
82 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...);
84 void ath10k_debug_print_hwfw_info(struct ath10k *ar);
85 void ath10k_debug_print_board_info(struct ath10k *ar);
86 void ath10k_debug_print_boot_info(struct ath10k *ar);
87 void ath10k_print_driver_info(struct ath10k *ar);
90 int ath10k_debug_start(struct ath10k *ar);
91 void ath10k_debug_stop(struct ath10k *ar);
92 int ath10k_debug_create(struct ath10k *ar);
[all …]
H A Dwmi-ops.h11 struct ath10k;
15 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
26 struct ath10k *ar, struct sk_buff *skb,
28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
[all …]
H A Dhif.h31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id,
35 int (*diag_read)(struct ath10k *ar, u32 address, void *buf,
38 int (*diag_write)(struct ath10k *ar, u32 address, const void *data,
45 int (*exchange_bmi_msg)(struct ath10k *ar,
50 int (*start)(struct ath10k *ar);
55 void (*stop)(struct ath10k *ar);
57 int (*start_post)(struct ath10k *ar);
59 int (*get_htt_tx_complete)(struct ath10k *ar);
61 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id,
64 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe);
[all …]
H A DKconfig2 config ATH10K config
13 If you choose to build a module, it'll be called ath10k.
19 tristate "Atheros ath10k PCI support"
20 depends on ATH10K && PCI
25 bool "Atheros ath10k AHB support"
31 tristate "Atheros ath10k SDIO support"
32 depends on ATH10K && MMC
37 tristate "Atheros ath10k USB support (EXPERIMENTAL)"
38 depends on ATH10K && USB
44 tristate "Qualcomm ath10k SNOC support"
[all …]
H A Dmac.h19 struct ath10k *ar;
31 struct ath10k *ath10k_mac_create(size_t priv_size);
32 void ath10k_mac_destroy(struct ath10k *ar);
33 int ath10k_mac_register(struct ath10k *ar);
34 void ath10k_mac_unregister(struct ath10k *ar);
35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
36 void __ath10k_scan_finish(struct ath10k *ar);
37 void ath10k_scan_finish(struct ath10k *ar);
39 void ath10k_offchan_tx_purge(struct ath10k *ar);
41 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar);
[all …]
H A Dce.h117 struct ath10k *ar;
137 u32 (*read32)(struct ath10k *ar, u32 offset);
138 void (*write32)(struct ath10k *ar, u32 offset, u32 value);
139 int (*get_num_banks)(struct ath10k *ar);
142 static inline struct ath10k_ce *ath10k_ce_priv(struct ath10k *ar) in ath10k_ce_priv()
223 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id,
225 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id);
226 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id,
228 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id);
256 void ath10k_ce_per_engine_service_any(struct ath10k *ar);
[all …]
H A Dthermal.h29 int ath10k_thermal_register(struct ath10k *ar);
30 void ath10k_thermal_unregister(struct ath10k *ar);
31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
32 void ath10k_thermal_set_throttling(struct ath10k *ar);
34 static inline int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register()
39 static inline void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister()
43 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, in ath10k_thermal_event_temperature()
48 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling()
H A Dahb.c28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv()
33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32()
40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32()
47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32()
54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32()
61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32()
68 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) in ath10k_ahb_soc_read32()
73 static int ath10k_ahb_get_num_banks(struct ath10k *ar) in ath10k_ahb_get_num_banks()
82 static int ath10k_ahb_clock_init(struct ath10k *ar) in ath10k_ahb_clock_init()
113 static void ath10k_ahb_clock_deinit(struct ath10k *ar) in ath10k_ahb_clock_deinit()
[all …]
H A Dspectral.h38 int ath10k_spectral_process_fft(struct ath10k *ar,
42 int ath10k_spectral_start(struct ath10k *ar);
44 int ath10k_spectral_create(struct ath10k *ar);
45 void ath10k_spectral_destroy(struct ath10k *ar);
50 ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft()
58 static inline int ath10k_spectral_start(struct ath10k *ar) in ath10k_spectral_start()
68 static inline int ath10k_spectral_create(struct ath10k *ar) in ath10k_spectral_create()
73 static inline void ath10k_spectral_destroy(struct ath10k *ar) in ath10k_spectral_destroy()
H A Dbmi.h231 void ath10k_bmi_start(struct ath10k *ar);
232 int ath10k_bmi_done(struct ath10k *ar);
233 int ath10k_bmi_get_target_info(struct ath10k *ar,
235 int ath10k_bmi_get_target_info_sdio(struct ath10k *ar,
237 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address,
239 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address,
267 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result);
268 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address);
269 int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length);
271 int ath10k_bmi_fast_download(struct ath10k *ar, u32 address,
[all …]
H A Dleds.h15 void ath10k_leds_unregister(struct ath10k *ar);
16 int ath10k_leds_start(struct ath10k *ar);
17 int ath10k_leds_register(struct ath10k *ar);
19 static inline void ath10k_leds_unregister(struct ath10k *ar) in ath10k_leds_unregister()
23 static inline int ath10k_leds_start(struct ath10k *ar) in ath10k_leds_start()
28 static inline int ath10k_leds_register(struct ath10k *ar) in ath10k_leds_register()
H A Dsnoc.c477 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32()
484 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32()
497 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf()
535 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe()
563 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post()
573 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb()
576 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb()
636 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver()
652 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry()
659 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb()
[all …]
H A Dqmi.h92 struct ath10k *ar;
114 int ath10k_qmi_wlan_enable(struct ath10k *ar,
118 int ath10k_qmi_wlan_disable(struct ath10k *ar);
119 int ath10k_qmi_init(struct ath10k *ar, u32 msa_size);
120 int ath10k_qmi_deinit(struct ath10k *ar);
121 int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode);
H A Dhtc.h17 struct ath10k;
314 void (*target_send_suspend_complete)(struct ath10k *ar);
318 void (*ep_tx_complete)(struct ath10k *, struct sk_buff *);
319 void (*ep_rx_complete)(struct ath10k *, struct sk_buff *);
320 void (*ep_tx_credits)(struct ath10k *);
374 struct ath10k *ar;
393 int ath10k_htc_init(struct ath10k *ar);
405 void ath10k_htc_stop_hl(struct ath10k *ar);
409 struct sk_buff *ath10k_htc_alloc_skb(struct ath10k *ar, int size);
410 void ath10k_htc_tx_completion_handler(struct ath10k *ar, struct sk_buff *skb);
[all …]
H A Dspectral.c11 static void send_fft_sample(struct ath10k *ar, in send_fft_sample()
48 static inline size_t ath10k_spectral_fix_bin_size(struct ath10k *ar, in ath10k_spectral_fix_bin_size()
63 int ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft()
161 static struct ath10k_vif *ath10k_get_spectral_vdev(struct ath10k *ar) in ath10k_get_spectral_vdev()
179 static int ath10k_spectral_scan_trigger(struct ath10k *ar) in ath10k_spectral_scan_trigger()
210 static int ath10k_spectral_scan_config(struct ath10k *ar, in ath10k_spectral_scan_config()
276 struct ath10k *ar = file->private_data; in read_file_spec_scan_ctl()
305 struct ath10k *ar = file->private_data; in write_file_spec_scan_ctl()
368 struct ath10k *ar = file->private_data; in read_file_spectral_count()
385 struct ath10k *ar = file->private_data; in write_file_spectral_count()
[all …]
H A Dmac.c215 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config()
244 struct ath10k *ar = arvif->ar; in ath10k_send_key()
312 struct ath10k *ar = arvif->ar; in ath10k_install_key()
337 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys()
425 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys()
463 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
491 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key()
539 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key()
694 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
715 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done()
[all …]
H A Dtestmode.h10 void ath10k_testmode_destroy(struct ath10k *ar);
12 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb);
18 static inline void ath10k_testmode_destroy(struct ath10k *ar) in ath10k_testmode_destroy()
22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_wmi()
H A Dtxrx.h14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
16 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
H A Dwmi.c1699 void ath10k_wmi_put_wmi_channel(struct ath10k *ar, struct wmi_channel *ch, in ath10k_wmi_put_wmi_channel()
1764 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready()
1795 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready()
1806 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb()
1825 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete()
1830 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait()
1862 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait()
1915 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait()
1923 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits()
1931 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send()
[all …]
H A Dtxrx.c14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) in ath10k_report_offchan_tx()
47 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref()
150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find()
169 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) in ath10k_peer_find_by_id()
185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common()
207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created()
212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted()
220 struct ath10k *ar = htt->ar; in ath10k_peer_map_event()
256 struct ath10k *ar = htt->ar; in ath10k_peer_unmap_event()
H A Dswap.c15 static int ath10k_swap_code_seg_fill(struct ath10k *ar, in ath10k_swap_code_seg_fill()
73 ath10k_swap_code_seg_free(struct ath10k *ar, in ath10k_swap_code_seg_free()
90 ath10k_swap_code_seg_alloc(struct ath10k *ar, size_t swap_bin_len) in ath10k_swap_code_seg_alloc()
124 int ath10k_swap_code_seg_configure(struct ath10k *ar, in ath10k_swap_code_seg_configure()
149 void ath10k_swap_code_seg_release(struct ath10k *ar, in ath10k_swap_code_seg_release()
163 int ath10k_swap_code_seg_init(struct ath10k *ar, struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_init()
H A Dtestmode.c34 static void ath10k_tm_event_unsegmented(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_unsegmented()
79 static void ath10k_tm_event_segmented(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_segmented()
170 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_wmi()
210 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version()
249 static int ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, in ath10k_tm_fetch_utf_firmware_api_1()
283 static int ath10k_tm_fetch_firmware(struct ath10k *ar) in ath10k_tm_fetch_firmware()
336 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start()
443 static void __ath10k_tm_cmd_utf_stop(struct ath10k *ar) in __ath10k_tm_cmd_utf_stop()
470 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop()
494 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi()
[all …]
H A Dswap.h52 int ath10k_swap_code_seg_configure(struct ath10k *ar,
54 void ath10k_swap_code_seg_release(struct ath10k *ar,
56 int ath10k_swap_code_seg_init(struct ath10k *ar,
H A Dhtt_rx.c33 ath10k_htt_rx_find_skb_paddr(struct ath10k *ar, u64 paddr) in ath10k_htt_rx_find_skb_paddr()
226 * with ath10k wlan interface. This ended up with very poor performance in ath10k_htt_rx_msdu_buff_replenish()
227 * once CPU the host system was overwhelmed with RX on ath10k. in ath10k_htt_rx_msdu_buff_replenish()
268 int ath10k_htt_rx_ring_refill(struct ath10k *ar) in ath10k_htt_rx_ring_refill()
322 struct ath10k *ar = htt->ar; in ath10k_htt_rx_netbuf_pop()
357 struct ath10k *ar = htt->ar; in ath10k_htt_rx_amsdu_pop()
469 struct ath10k *ar = htt->ar; in ath10k_htt_rx_pop_paddr()
505 struct ath10k *ar = htt->ar; in ath10k_htt_rx_handle_amsdu_mon_32()
582 struct ath10k *ar = htt->ar; in ath10k_htt_rx_handle_amsdu_mon_64()
658 struct ath10k *ar = htt->ar; in ath10k_htt_rx_pop_paddr32_list()
[all …]
H A Dp2p.c73 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_ie_assign()
86 struct ath10k *ar = arvif->ar; in __ath10k_p2p_noa_update()
109 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_update()
133 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, in ath10k_p2p_noa_update_by_vdev_id()

12