/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/ |
A D | hif.h | 12 u32 (*read32)(struct ath11k_base *sc, u32 address); 15 void (*irq_enable)(struct ath11k_base *sc); 16 void (*irq_disable)(struct ath11k_base *sc); 17 int (*start)(struct ath11k_base *sc); 18 void (*stop)(struct ath11k_base *sc); 19 int (*power_up)(struct ath11k_base *sc); 20 void (*power_down)(struct ath11k_base *sc); 21 int (*suspend)(struct ath11k_base *ab); 22 int (*resume)(struct ath11k_base *ab); 30 void (*ce_irq_enable)(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 | ce.h | 63 struct ath11k_base; 119 void (*recv_cb)(struct ath11k_base *, struct sk_buff *); 120 void (*send_cb)(struct ath11k_base *, struct sk_buff *); 168 struct ath11k_base *ab; 195 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab); 200 void ath11k_ce_rx_post_buf(struct ath11k_base *ab); 201 int ath11k_ce_init_pipes(struct ath11k_base *ab); 202 int ath11k_ce_alloc_pipes(struct ath11k_base *ab); 203 void ath11k_ce_free_pipes(struct ath11k_base *ab); 208 int ath11k_ce_attr_attach(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 | peer.h | 40 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id); 41 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 43 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 45 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, 47 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id); 54 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab, 56 int ath11k_peer_rhash_tbl_init(struct ath11k_base *ab); 57 void ath11k_peer_rhash_tbl_destroy(struct ath11k_base *ab); 58 int ath11k_peer_rhash_delete(struct ath11k_base *ab, struct ath11k_peer *peer);
|
A D | pcic.c | 120 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() 311 void ath11k_pcic_free_irq(struct ath11k_base *ab) in ath11k_pcic_free_irq() 394 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler() 412 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_disable() 446 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_enable() 459 void ath11k_pcic_ext_irq_enable(struct ath11k_base *ab) in ath11k_pcic_ext_irq_enable() 504 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_napi_poll() 524 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_interrupt_handler() 617 int ath11k_pcic_config_irq(struct ath11k_base *ab) in ath11k_pcic_config_irq() 710 void ath11k_pcic_stop(struct ath11k_base *ab) in ath11k_pcic_stop() [all …]
|
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 | 14 struct ath11k_base; 136 void ath11k_mac_11d_scan_stop_all(struct ath11k_base *ab); 138 void ath11k_mac_destroy(struct ath11k_base *ab); 139 void ath11k_mac_unregister(struct ath11k_base *ab); 140 int ath11k_mac_register(struct ath11k_base *ab); 141 int ath11k_mac_allocate(struct ath11k_base *ab); 153 struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab, 157 struct ath11k_vif *ath11k_mac_get_vif_up(struct ath11k_base *ab); 159 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 160 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
A D | ahb.c | 363 static int ath11k_ahb_start(struct ath11k_base *ab) in ath11k_ahb_start() 393 static void ath11k_ahb_stop(struct ath11k_base *ab) in ath11k_ahb_stop() 403 static int ath11k_ahb_power_up(struct ath11k_base *ab) in ath11k_ahb_power_up() 415 static void ath11k_ahb_power_down(struct ath11k_base *ab) in ath11k_ahb_power_down() 473 static void ath11k_ahb_free_irq(struct ath11k_base *ab) in ath11k_ahb_free_irq() 519 struct ath11k_base *ab = irq_grp->ab; in ath11k_ahb_ext_grp_napi_poll() 630 static int ath11k_ahb_config_irq(struct ath11k_base *ab) in ath11k_ahb_config_irq() 742 static int ath11k_ahb_hif_resume(struct ath11k_base *ab) in ath11k_ahb_hif_resume() 1106 struct ath11k_base *ab; in ath11k_ahb_probe() 1280 struct ath11k_base *ab = platform_get_drvdata(pdev); in ath11k_ahb_remove() [all …]
|
A D | pci.c | 39 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up() 71 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 412 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_alloc_msi() 498 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_claim() 563 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_free_region() 576 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_aspm_disable() 731 struct ath11k_base *ab; in ath11k_pci_probe() 933 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_remove() 963 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_shutdown() 972 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_suspend() [all …]
|
A D | hal.h | 13 struct ath11k_base; 921 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab, 923 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab, 928 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab, 930 dma_addr_t ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab, 951 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, 957 void ath11k_hal_srng_access_begin(struct ath11k_base *ab, 963 int ath11k_hal_srng_init(struct ath11k_base *ath11k); 964 void ath11k_hal_srng_deinit(struct ath11k_base *ath11k); 965 void ath11k_hal_dump_srng_stats(struct ath11k_base *ab); [all …]
|
A D | dp_tx.h | 19 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab); 22 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id); 23 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid, 36 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id, 41 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
A D | htc.h | 15 struct ath11k_base; 229 void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *); 230 void (*ep_rx_complete)(struct ath11k_base *, struct sk_buff *); 231 void (*ep_tx_credits)(struct ath11k_base *); 281 struct ath11k_base *ab; 299 int ath11k_htc_init(struct ath11k_base *ar); 307 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ar, int size); 308 void ath11k_htc_rx_completion_handler(struct ath11k_base *ar, 310 void ath11k_htc_tx_completion_handler(struct ath11k_base *ab,
|
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() 502 static int ath11k_peer_rhash_id_tbl_init(struct ath11k_base *ab) in ath11k_peer_rhash_id_tbl_init() 636 int ath11k_peer_rhash_tbl_init(struct ath11k_base *ab) in ath11k_peer_rhash_tbl_init() [all …]
|
A D | core.h | 165 struct ath11k_base *ab; 593 struct ath11k_base *ab; 777 int (*wakeup)(struct ath11k_base *ab); 778 void (*release)(struct ath11k_base *ab); 839 struct ath11k_base { struct 1156 int ath11k_core_pre_init(struct ath11k_base *ab); 1157 int ath11k_core_init(struct ath11k_base *ath11k); 1158 void ath11k_core_deinit(struct ath11k_base *ath11k); 1161 void ath11k_core_free(struct ath11k_base *ath11k); 1172 int ath11k_core_resume(struct ath11k_base *ab); [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.c | 755 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() 814 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume() 859 struct ath11k_base *ab = data; in ath11k_core_check_cc_code_bdfext() 1695 struct ath11k_base *ab = ar->ab; in ath11k_core_halt() 1716 struct ath11k_base *ab = container_of(work, struct ath11k_base, update_11d_work); in ath11k_update_11d() 1833 struct ath11k_base *ab = container_of(work, struct ath11k_base, restart_work); in ath11k_core_restart() 1851 struct ath11k_base *ab = container_of(work, struct ath11k_base, reset_work); in ath11k_core_reset() 1957 int ath11k_core_init(struct ath11k_base *ab) in ath11k_core_init() 1971 void ath11k_core_deinit(struct ath11k_base *ab) in ath11k_core_deinit() 1986 void ath11k_core_free(struct ath11k_base *ab) in ath11k_core_free() [all …]
|
A D | mhi.c | 208 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() 225 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() 230 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() 235 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() 240 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus() 245 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector() 255 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() 383 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() 471 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_start() 499 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_suspend() [all …]
|
A D | wow.h | 34 int ath11k_wow_enable(struct ath11k_base *ab); 35 int ath11k_wow_wakeup(struct ath11k_base *ab); 44 static inline int ath11k_wow_enable(struct ath11k_base *ab) in ath11k_wow_enable() 49 static inline int ath11k_wow_wakeup(struct ath11k_base *ab) in ath11k_wow_wakeup()
|
A D | spectral.h | 43 int ath11k_spectral_init(struct ath11k_base *ab); 44 void ath11k_spectral_deinit(struct ath11k_base *ab); 52 static inline int ath11k_spectral_init(struct ath11k_base *ab) in ath11k_spectral_init() 57 static inline void ath11k_spectral_deinit(struct ath11k_base *ab) in ath11k_spectral_deinit()
|
A D | hal_rx.h | 445 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, 447 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc, 449 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 455 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab, 458 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab, 461 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab, 468 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, 475 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, 477 int ath11k_hal_wbm_desc_parse_err(struct ath11k_base *ab, void *desc, 479 void ath11k_hal_rx_reo_ent_paddr_get(struct ath11k_base *ab, void *desc, [all …]
|
A D | hal.c | 193 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() 207 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() 221 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() 235 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() 249 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup() 455 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init() 749 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, in ath11k_hal_srng_src_reap_next() 1131 void ath11k_hal_srng_shadow_config(struct ath11k_base *ab) in ath11k_hal_srng_shadow_config() 1288 int ath11k_hal_srng_init(struct ath11k_base *ab) in ath11k_hal_srng_init() 1319 void ath11k_hal_srng_deinit(struct ath11k_base *ab) in ath11k_hal_srng_deinit() [all …]
|
A D | ce.c | 274 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 322 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 372 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() 421 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() 461 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() 502 struct ath11k_base *ab = pipe->ab; in ath11k_ce_tx_process_cb() 803 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_pipe_cleanup() 885 void ath11k_ce_rx_post_buf(struct ath11k_base *ab) in ath11k_ce_rx_post_buf() 916 int ath11k_ce_init_pipes(struct ath11k_base *ab) in ath11k_ce_init_pipes() 974 void ath11k_ce_free_pipes(struct ath11k_base *ab) in ath11k_ce_free_pipes() [all …]
|
A D | dp.c | 24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() 45 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() 577 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free() 680 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup() 769 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng() 870 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free() 909 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc() 1010 struct ath11k_base *ab = (struct ath11k_base *)ctx; in ath11k_dp_tx_pending_cleanup() 1021 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free() 1045 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc() [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()
|