| /drivers/net/wireless/ath/ath11k/ |
| A D | hif.h | 13 u32 (*read32)(struct ath11k_base *ab, u32 address); 16 void (*irq_enable)(struct ath11k_base *ab); 17 void (*irq_disable)(struct ath11k_base *ab); 18 int (*start)(struct ath11k_base *ab); 19 void (*stop)(struct ath11k_base *ab); 20 int (*power_up)(struct ath11k_base *ab); 22 int (*suspend)(struct ath11k_base *ab); 23 int (*resume)(struct ath11k_base *ab); 31 void (*ce_irq_enable)(struct ath11k_base *ab); 32 void (*ce_irq_disable)(struct ath11k_base *ab); [all …]
|
| A D | pcic.h | 33 u32 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset); 37 void ath11k_pcic_free_irq(struct ath11k_base *ab); 38 int ath11k_pcic_config_irq(struct ath11k_base *ab); 39 void ath11k_pcic_ext_irq_enable(struct ath11k_base *ab); 40 void ath11k_pcic_ext_irq_disable(struct ath11k_base *ab); 41 void ath11k_pcic_stop(struct ath11k_base *ab); 42 int ath11k_pcic_start(struct ath11k_base *ab); 45 void ath11k_pcic_ce_irqs_enable(struct ath11k_base *ab); 46 void ath11k_pcic_ce_irq_disable_sync(struct ath11k_base *ab); 47 int ath11k_pcic_init_msi_config(struct ath11k_base *ab); [all …]
|
| A D | dp_rx.h | 60 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab, 62 int ath11k_dp_pdev_reo_setup(struct ath11k_base *ab); 63 void ath11k_dp_pdev_reo_cleanup(struct ath11k_base *ab); 64 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx); 65 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx); 66 void ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base *ab); 67 void ath11k_dp_process_reo_status(struct ath11k_base *ab); 69 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab, 73 int ath11k_dp_process_rx(struct ath11k_base *ab, int mac_id, 81 int (*iter)(struct ath11k_base *ar, u16 tag, u16 len, [all …]
|
| A D | ce.h | 64 struct ath11k_base; 120 void (*recv_cb)(struct ath11k_base *, struct sk_buff *); 121 void (*send_cb)(struct ath11k_base *, struct sk_buff *); 169 struct ath11k_base *ab; 175 void (*send_cb)(struct ath11k_base *, struct sk_buff *); 196 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab); 201 void ath11k_ce_rx_post_buf(struct ath11k_base *ab); 202 int ath11k_ce_init_pipes(struct ath11k_base *ab); 203 int ath11k_ce_alloc_pipes(struct ath11k_base *ab); 204 void ath11k_ce_free_pipes(struct ath11k_base *ab); [all …]
|
| A D | pcic.c | 144 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() 336 void ath11k_pcic_free_irq(struct ath11k_base *ab) in ath11k_pcic_free_irq() 419 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler() 437 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_disable() 471 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_enable() 484 void ath11k_pcic_ext_irq_enable(struct ath11k_base *ab) in ath11k_pcic_ext_irq_enable() 528 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_napi_poll() 548 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_interrupt_handler() 662 int ath11k_pcic_config_irq(struct ath11k_base *ab) in ath11k_pcic_config_irq() 755 void ath11k_pcic_stop(struct ath11k_base *ab) in ath11k_pcic_stop() [all …]
|
| A D | peer.h | 41 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id); 42 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 44 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 46 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, 48 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id); 55 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab, 57 int ath11k_peer_rhash_tbl_init(struct ath11k_base *ab); 58 void ath11k_peer_rhash_tbl_destroy(struct ath11k_base *ab); 59 int ath11k_peer_rhash_delete(struct ath11k_base *ab, struct ath11k_peer *peer);
|
| A D | ahb.c | 365 static int ath11k_ahb_start(struct ath11k_base *ab) in ath11k_ahb_start() 394 static void ath11k_ahb_stop(struct ath11k_base *ab) in ath11k_ahb_stop() 404 static int ath11k_ahb_power_up(struct ath11k_base *ab) in ath11k_ahb_power_up() 449 static void ath11k_ahb_free_irq(struct ath11k_base *ab) in ath11k_ahb_free_irq() 495 struct ath11k_base *ab = irq_grp->ab; in ath11k_ahb_ext_grp_napi_poll() 610 static int ath11k_ahb_config_irq(struct ath11k_base *ab) in ath11k_ahb_config_irq() 957 static int ath11k_ahb_ce_remap(struct ath11k_base *ab) in ath11k_ahb_ce_remap() 981 static void ath11k_ahb_ce_unmap(struct ath11k_base *ab) in ath11k_ahb_ce_unmap() 1122 struct ath11k_base *ab; in ath11k_ahb_probe() 1280 struct ath11k_base *ab = platform_get_drvdata(pdev); in ath11k_ahb_remove() [all …]
|
| A D | mac.h | 15 struct ath11k_base; 137 void ath11k_mac_11d_scan_stop_all(struct ath11k_base *ab); 139 void ath11k_mac_destroy(struct ath11k_base *ab); 140 void ath11k_mac_unregister(struct ath11k_base *ab); 141 int ath11k_mac_register(struct ath11k_base *ab); 142 int ath11k_mac_allocate(struct ath11k_base *ab); 154 struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab, 158 struct ath11k_vif *ath11k_mac_get_vif_up(struct ath11k_base *ab); 160 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 161 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
| A D | debug.h | 76 __printf(2, 3) void ath11k_info(struct ath11k_base *ab, const char *fmt, ...); 77 __printf(2, 3) void ath11k_err(struct ath11k_base *ab, const char *fmt, ...); 78 __printf(2, 3) void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...); 83 __printf(3, 4) void __ath11k_dbg(struct ath11k_base *ab, 86 void ath11k_dbg_dump(struct ath11k_base *ab, 91 static inline int __ath11k_dbg(struct ath11k_base *ab, in __ath11k_dbg() 98 static inline void ath11k_dbg_dump(struct ath11k_base *ab, in ath11k_dbg_dump()
|
| A D | pci.c | 77 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 418 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_alloc_msi() 504 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_claim() 577 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_free_region() 589 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_aspm_disable() 930 struct ath11k_base *ab; in ath11k_pci_probe() 1157 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_remove() 1200 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_suspend() 1217 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_resume() 1234 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_suspend_late() [all …]
|
| A D | hal.h | 13 struct ath11k_base; 922 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab, 924 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab, 929 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab, 950 u32 *ath11k_hal_srng_src_next_peek(struct ath11k_base *ab, 954 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, 960 void ath11k_hal_srng_access_begin(struct ath11k_base *ab, 966 int ath11k_hal_srng_init(struct ath11k_base *ath11k); 967 void ath11k_hal_srng_deinit(struct ath11k_base *ath11k); 968 void ath11k_hal_dump_srng_stats(struct ath11k_base *ab); [all …]
|
| A D | core.h | 174 struct ath11k_base *ab; 649 struct ath11k_base *ab; 838 int (*wakeup)(struct ath11k_base *ab); 839 void (*release)(struct ath11k_base *ab); 905 struct ath11k_base { struct 1251 int ath11k_core_pre_init(struct ath11k_base *ab); 1252 int ath11k_core_init(struct ath11k_base *ath11k); 1253 void ath11k_core_deinit(struct ath11k_base *ath11k); 1256 void ath11k_core_free(struct ath11k_base *ath11k); 1268 int ath11k_core_resume(struct ath11k_base *ab); [all …]
|
| A D | core.c | 1134 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() 1253 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume() 1270 struct ath11k_base *ab = data; in ath11k_core_check_cc_code_bdfext() 2243 struct ath11k_base *ab = ar->ab; in ath11k_core_halt() 2271 struct ath11k_base *ab = container_of(work, struct ath11k_base, update_11d_work); in ath11k_update_11d() 2391 struct ath11k_base *ab = container_of(work, struct ath11k_base, restart_work); in ath11k_core_restart() 2411 struct ath11k_base *ab = container_of(work, struct ath11k_base, reset_work); in ath11k_core_reset() 2530 struct ath11k_base *ab = container_of(nb, struct ath11k_base, in ath11k_core_pm_notify() 2564 int ath11k_core_init(struct ath11k_base *ab) in ath11k_core_init() 2614 void ath11k_core_free(struct ath11k_base *ab) in ath11k_core_free() [all …]
|
| A D | peer.c | 28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() 47 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() 63 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, in ath11k_peer_find_by_id() 96 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id) in ath11k_peer_unmap_event() 170 static inline int ath11k_peer_rhash_insert(struct ath11k_base *ab, in ath11k_peer_rhash_insert() 190 static inline int ath11k_peer_rhash_remove(struct ath11k_base *ab, in ath11k_peer_rhash_remove() 243 struct ath11k_base *ab = ar->ab; in ath11k_peer_cleanup() 297 struct ath11k_base *ab = ar->ab; in __ath11k_peer_delete() 503 static int ath11k_peer_rhash_id_tbl_init(struct ath11k_base *ab) in ath11k_peer_rhash_id_tbl_init() 637 int ath11k_peer_rhash_tbl_init(struct ath11k_base *ab) in ath11k_peer_rhash_tbl_init() [all …]
|
| A D | hal.c | 195 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() 209 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() 223 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() 237 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() 251 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup() 457 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init() 764 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, in ath11k_hal_srng_src_reap_next() 1185 void ath11k_hal_srng_shadow_config(struct ath11k_base *ab) in ath11k_hal_srng_shadow_config() 1342 int ath11k_hal_srng_init(struct ath11k_base *ab) in ath11k_hal_srng_init() 1373 void ath11k_hal_srng_deinit(struct ath11k_base *ab) in ath11k_hal_srng_deinit() [all …]
|
| A D | htc.h | 16 struct ath11k_base; 215 void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *); 216 void (*ep_rx_complete)(struct ath11k_base *, struct sk_buff *); 217 void (*ep_tx_credits)(struct ath11k_base *); 267 struct ath11k_base *ab; 285 int ath11k_htc_init(struct ath11k_base *ar); 293 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ar, int size); 294 void ath11k_htc_rx_completion_handler(struct ath11k_base *ar, 296 void ath11k_htc_tx_completion_handler(struct ath11k_base *ab,
|
| A D | mhi.c | 154 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() 170 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() 175 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() 180 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() 185 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus() 190 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector() 200 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() 339 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() 437 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_start() 473 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_suspend() [all …]
|
| A D | dp_tx.h | 21 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab); 24 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id); 25 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid, 38 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id, 43 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
| A D | ce.c | 276 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 324 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 374 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() 419 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() 459 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() 500 struct ath11k_base *ab = pipe->ab; in ath11k_ce_tx_process_cb() 801 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_pipe_cleanup() 883 void ath11k_ce_rx_post_buf(struct ath11k_base *ab) in ath11k_ce_rx_post_buf() 914 int ath11k_ce_init_pipes(struct ath11k_base *ab) in ath11k_ce_init_pipes() 972 void ath11k_ce_free_pipes(struct ath11k_base *ab) in ath11k_ce_free_pipes() [all …]
|
| A D | dp.c | 26 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() 48 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() 582 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free() 685 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup() 774 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng() 875 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free() 914 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc() 1015 struct ath11k_base *ab = ctx; in ath11k_dp_tx_pending_cleanup() 1026 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free() 1050 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc() [all …]
|
| A D | hal_rx.h | 468 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, 470 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc, 472 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 478 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab, 481 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab, 484 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab, 491 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, 498 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, 500 int ath11k_hal_wbm_desc_parse_err(struct ath11k_base *ab, void *desc, 502 void ath11k_hal_rx_reo_ent_paddr_get(struct ath11k_base *ab, void *desc, [all …]
|
| A D | debugfs.h | 267 int ath11k_debugfs_soc_create(struct ath11k_base *ab); 268 void ath11k_debugfs_soc_destroy(struct ath11k_base *ab); 269 int ath11k_debugfs_pdev_create(struct ath11k_base *ab); 270 void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab); 316 static inline int ath11k_debugfs_soc_create(struct ath11k_base *ab) in ath11k_debugfs_soc_create() 321 static inline void ath11k_debugfs_soc_destroy(struct ath11k_base *ab) in ath11k_debugfs_soc_destroy() 325 static inline int ath11k_debugfs_pdev_create(struct ath11k_base *ab) in ath11k_debugfs_pdev_create() 330 static inline void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab) in ath11k_debugfs_pdev_destroy()
|
| A D | thermal.h | 30 int ath11k_thermal_register(struct ath11k_base *ab); 31 void ath11k_thermal_unregister(struct ath11k_base *ab); 35 static inline int ath11k_thermal_register(struct ath11k_base *ab) in ath11k_thermal_register() 40 static inline void ath11k_thermal_unregister(struct ath11k_base *ab) in ath11k_thermal_unregister()
|
| A D | wow.h | 35 int ath11k_wow_enable(struct ath11k_base *ab); 36 int ath11k_wow_wakeup(struct ath11k_base *ab); 45 static inline int ath11k_wow_enable(struct ath11k_base *ab) in ath11k_wow_enable() 50 static inline int ath11k_wow_wakeup(struct ath11k_base *ab) in ath11k_wow_wakeup()
|
| A D | reg.h | 13 struct ath11k_base; 34 void ath11k_reg_free(struct ath11k_base *ab); 38 ath11k_reg_build_regd(struct ath11k_base *ab, 46 int ath11k_reg_handle_chan_list(struct ath11k_base *ab,
|