/linux/drivers/net/wireless/ath/ath11k/ |
A D | hif.h | 12 u32 (*read32)(struct ath11k_base *sc, u32 address); 14 void (*irq_enable)(struct ath11k_base *sc); 15 void (*irq_disable)(struct ath11k_base *sc); 16 int (*start)(struct ath11k_base *sc); 17 void (*stop)(struct ath11k_base *sc); 18 int (*power_up)(struct ath11k_base *sc); 19 void (*power_down)(struct ath11k_base *sc); 20 int (*suspend)(struct ath11k_base *ab); 21 int (*resume)(struct ath11k_base *ab); 29 void (*ce_irq_enable)(struct ath11k_base *ab); [all …]
|
A D | dp_rx.h | 59 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab, 61 int ath11k_dp_pdev_reo_setup(struct ath11k_base *ab); 62 void ath11k_dp_pdev_reo_cleanup(struct ath11k_base *ab); 63 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx); 64 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx); 65 void ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base *ab); 66 void ath11k_dp_process_reo_status(struct ath11k_base *ab); 68 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab, 72 int ath11k_dp_process_rx(struct ath11k_base *ab, int mac_id, 80 int (*iter)(struct ath11k_base *ar, u16 tag, u16 len, [all …]
|
A D | ce.h | 58 struct ath11k_base; 103 void (*recv_cb)(struct ath11k_base *, struct sk_buff *); 151 struct ath11k_base *ab; 158 void (*recv_cb)(struct ath11k_base *, struct sk_buff *); 178 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab); 183 void ath11k_ce_rx_post_buf(struct ath11k_base *ab); 184 int ath11k_ce_init_pipes(struct ath11k_base *ab); 185 int ath11k_ce_alloc_pipes(struct ath11k_base *ab); 186 void ath11k_ce_free_pipes(struct ath11k_base *ab); 191 int ath11k_ce_attr_attach(struct ath11k_base *ab); [all …]
|
A D | pci.c | 135 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 477 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_get_user_msi_assignment() 687 struct ath11k_base *ab = irq_grp->ab; in ath11k_pci_ext_grp_napi_poll() 885 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_alloc_msi() 934 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_claim() 997 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_free_region() 1010 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_aspm_disable() 1226 struct ath11k_base *ab; in ath11k_pci_probe() 1364 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_remove() 1399 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_suspend() [all …]
|
A D | ahb.c | 147 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets() 288 static int ath11k_ahb_start(struct ath11k_base *ab) in ath11k_ahb_start() 314 static void ath11k_ahb_stop(struct ath11k_base *ab) in ath11k_ahb_stop() 324 static int ath11k_ahb_power_up(struct ath11k_base *ab) in ath11k_ahb_power_up() 336 static void ath11k_ahb_power_down(struct ath11k_base *ab) in ath11k_ahb_power_down() 391 static void ath11k_ahb_free_irq(struct ath11k_base *ab) in ath11k_ahb_free_irq() 434 struct ath11k_base *ab = irq_grp->ab; in ath11k_ahb_ext_grp_napi_poll() 545 static int ath11k_ahb_config_irq(struct ath11k_base *ab) in ath11k_ahb_config_irq() 631 static int ath11k_core_get_rproc(struct ath11k_base *ab) in ath11k_core_get_rproc() 655 struct ath11k_base *ab; in ath11k_ahb_probe() [all …]
|
A D | debugfs.h | 111 int ath11k_debugfs_soc_create(struct ath11k_base *ab); 112 void ath11k_debugfs_soc_destroy(struct ath11k_base *ab); 113 int ath11k_debugfs_pdev_create(struct ath11k_base *ab); 114 void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab); 117 void ath11k_debugfs_fw_stats_process(struct ath11k_base *ab, struct sk_buff *skb); 153 static inline int ath11k_debugfs_soc_create(struct ath11k_base *ab) in ath11k_debugfs_soc_create() 158 static inline void ath11k_debugfs_soc_destroy(struct ath11k_base *ab) in ath11k_debugfs_soc_destroy() 162 static inline int ath11k_debugfs_pdev_create(struct ath11k_base *ab) in ath11k_debugfs_pdev_create() 167 static inline void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab) in ath11k_debugfs_pdev_destroy() 180 static inline void ath11k_debugfs_fw_stats_process(struct ath11k_base *ab, in ath11k_debugfs_fw_stats_process()
|
A D | debug.h | 31 __printf(2, 3) void ath11k_info(struct ath11k_base *ab, const char *fmt, ...); 32 __printf(2, 3) void ath11k_err(struct ath11k_base *ab, const char *fmt, ...); 33 __printf(2, 3) void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...); 38 __printf(3, 4) void __ath11k_dbg(struct ath11k_base *ab, 41 void ath11k_dbg_dump(struct ath11k_base *ab, 46 static inline int __ath11k_dbg(struct ath11k_base *ab, in __ath11k_dbg() 53 static inline void ath11k_dbg_dump(struct ath11k_base *ab, in ath11k_dbg_dump()
|
A D | mac.h | 13 struct ath11k_base; 130 void ath11k_mac_destroy(struct ath11k_base *ab); 131 void ath11k_mac_unregister(struct ath11k_base *ab); 132 int ath11k_mac_register(struct ath11k_base *ab); 133 int ath11k_mac_allocate(struct ath11k_base *ab); 145 struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab, 147 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 148 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
A D | hal_rx.h | 294 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, 296 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc, 298 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 304 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab, 307 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab, 310 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab, 317 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, 324 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, 326 int ath11k_hal_wbm_desc_parse_err(struct ath11k_base *ab, void *desc, 328 void ath11k_hal_rx_reo_ent_paddr_get(struct ath11k_base *ab, void *desc, [all …]
|
A D | hal.h | 12 struct ath11k_base; 909 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab, 911 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab, 916 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab, 918 dma_addr_t ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab, 939 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, 945 void ath11k_hal_srng_access_begin(struct ath11k_base *ab, 951 int ath11k_hal_srng_init(struct ath11k_base *ath11k); 952 void ath11k_hal_srng_deinit(struct ath11k_base *ath11k); 953 void ath11k_hal_dump_srng_stats(struct ath11k_base *ab); [all …]
|
A D | peer.h | 33 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id); 34 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 36 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 38 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, 40 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id); 47 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab,
|
A D | core.c | 281 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() 329 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume() 362 int ath11k_core_check_dt(struct ath11k_base *ab) in ath11k_core_check_dt() 666 static void ath11k_core_stop(struct ath11k_base *ab) in ath11k_core_stop() 995 struct ath11k_base *ab = ar->ab; in ath11k_core_halt() 1015 struct ath11k_base *ab = container_of(work, struct ath11k_base, restart_work); in ath11k_core_restart() 1115 int ath11k_core_pre_init(struct ath11k_base *ab) in ath11k_core_pre_init() 1129 int ath11k_core_init(struct ath11k_base *ab) in ath11k_core_init() 1143 void ath11k_core_deinit(struct ath11k_base *ab) in ath11k_core_deinit() 1158 void ath11k_core_free(struct ath11k_base *ab) in ath11k_core_free() [all …]
|
A D | hal.c | 192 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() 206 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() 220 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() 234 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() 248 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup() 454 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init() 726 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, in ath11k_hal_srng_src_reap_next() 1102 void ath11k_hal_srng_shadow_config(struct ath11k_base *ab) in ath11k_hal_srng_shadow_config() 1236 int ath11k_hal_srng_init(struct ath11k_base *ab) in ath11k_hal_srng_init() 1265 void ath11k_hal_srng_deinit(struct ath11k_base *ab) in ath11k_hal_srng_deinit() [all …]
|
A D | dp.c | 23 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() 44 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() 545 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free() 648 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup() 737 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng() 838 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free() 877 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc() 978 struct ath11k_base *ab = (struct ath11k_base *)ctx; in ath11k_dp_tx_pending_cleanup() 989 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free() 1013 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc() [all …]
|
A D | ce.c | 266 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 314 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 364 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() 413 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() 453 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() 494 struct ath11k_base *ab = pipe->ab; in ath11k_ce_send_done_cb() 779 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_pipe_cleanup() 861 void ath11k_ce_rx_post_buf(struct ath11k_base *ab) in ath11k_ce_rx_post_buf() 892 int ath11k_ce_init_pipes(struct ath11k_base *ab) in ath11k_ce_init_pipes() 953 void ath11k_ce_free_pipes(struct ath11k_base *ab) in ath11k_ce_free_pipes() [all …]
|
A D | htc.h | 15 struct ath11k_base; 227 void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *); 228 void (*ep_rx_complete)(struct ath11k_base *, struct sk_buff *); 229 void (*ep_tx_credits)(struct ath11k_base *); 279 struct ath11k_base *ab; 297 int ath11k_htc_init(struct ath11k_base *ar); 305 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ar, int size); 306 void ath11k_htc_rx_completion_handler(struct ath11k_base *ar,
|
A D | mhi.c | 200 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() 217 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() 222 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() 227 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() 232 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus() 237 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector() 247 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() 316 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() 416 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_set_state_bit() 454 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_check_state_bit() [all …]
|
A D | thermal.h | 29 int ath11k_thermal_register(struct ath11k_base *sc); 30 void ath11k_thermal_unregister(struct ath11k_base *sc); 34 static inline int ath11k_thermal_register(struct ath11k_base *sc) in ath11k_thermal_register() 39 static inline void ath11k_thermal_unregister(struct ath11k_base *sc) in ath11k_thermal_unregister()
|
A D | core.h | 134 struct ath11k_base *ab; 455 struct ath11k_base *ab; 671 struct ath11k_base { struct 928 int ath11k_core_pre_init(struct ath11k_base *ab); 929 int ath11k_core_init(struct ath11k_base *ath11k); 930 void ath11k_core_deinit(struct ath11k_base *ath11k); 934 void ath11k_core_free(struct ath11k_base *ath11k); 935 int ath11k_core_fetch_bdf(struct ath11k_base *ath11k, 938 int ath11k_core_check_dt(struct ath11k_base *ath11k); 941 int ath11k_core_resume(struct ath11k_base *ab); [all …]
|
A D | debug.c | 10 void ath11k_info(struct ath11k_base *ab, const char *fmt, ...) in ath11k_info() 25 void ath11k_err(struct ath11k_base *ab, const char *fmt, ...) in ath11k_err() 40 void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...) in ath11k_warn() 57 void __ath11k_dbg(struct ath11k_base *ab, enum ath11k_debug_mask mask, in __ath11k_dbg() 77 void ath11k_dbg_dump(struct ath11k_base *ab, in ath11k_dbg_dump()
|
A D | dp_tx.h | 18 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab); 21 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id); 22 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid, 35 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id,
|
A D | spectral.h | 42 int ath11k_spectral_init(struct ath11k_base *ab); 43 void ath11k_spectral_deinit(struct ath11k_base *ab); 51 static inline int ath11k_spectral_init(struct ath11k_base *ab) in ath11k_spectral_init() 56 static inline void ath11k_spectral_deinit(struct ath11k_base *ab) in ath11k_spectral_deinit()
|
A D | peer.c | 10 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() 29 static struct ath11k_peer *ath11k_peer_find_by_pdev_idx(struct ath11k_base *ab, in ath11k_peer_find_by_pdev_idx() 48 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() 65 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, in ath11k_peer_find_by_id() 79 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab, in ath11k_peer_find_by_vdev_id() 96 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id) in ath11k_peer_unmap_event() 120 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, in ath11k_peer_map_event() 148 static int ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, in ath11k_wait_for_peer_common() 173 struct ath11k_base *ab = ar->ab; in ath11k_peer_cleanup()
|
A D | hal_tx.h | 64 void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd, 66 void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id); 67 int ath11k_hal_reo_cmd_send(struct ath11k_base *ab, struct hal_srng *srng, 70 void ath11k_hal_tx_init_data_ring(struct ath11k_base *ab,
|
A D | dp.h | 13 struct ath11k_base; 38 struct ath11k_base *ab; 223 struct ath11k_base *ab; 227 struct ath11k_base *ab; 1620 int ath11k_dp_service_srng(struct ath11k_base *ab, 1625 void ath11k_dp_free(struct ath11k_base *ab); 1626 int ath11k_dp_alloc(struct ath11k_base *ab); 1627 int ath11k_dp_pdev_alloc(struct ath11k_base *ab); 1628 void ath11k_dp_pdev_pre_alloc(struct ath11k_base *ab); 1629 void ath11k_dp_pdev_free(struct ath11k_base *ab); [all …]
|