Home
last modified time | relevance | path

Searched refs:ath11k_base (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dhif.h13 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);
21 void (*power_down)(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);
[all …]
H A Dpcic.h33 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 …]
H A Ddp_rx.h60 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 …]
H A Dce.h64 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 …]
H A Dpeer.h41 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);
H A Dpcic.c142 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config()
334 void ath11k_pcic_free_irq(struct ath11k_base *ab) in ath11k_pcic_free_irq()
417 struct ath11k_base *ab = ce_pipe->ab; in ath11k_pcic_ce_interrupt_handler()
435 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_disable()
469 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_enable()
482 void ath11k_pcic_ext_irq_enable(struct ath11k_base *ab) in ath11k_pcic_ext_irq_enable()
526 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_grp_napi_poll()
546 struct ath11k_base *ab = irq_grp->ab; in ath11k_pcic_ext_interrupt_handler()
660 int ath11k_pcic_config_irq(struct ath11k_base *ab) in ath11k_pcic_config_irq()
753 void ath11k_pcic_stop(struct ath11k_base *ab) in ath11k_pcic_stop()
[all …]
H A Ddebug.h76 __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()
H A Dmac.h15 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);
H A Dahb.c365 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 …]
H A Dhal.h13 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 …]
H A Dpci.c45 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up()
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()
1158 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_remove()
1191 struct ath11k_base *ab = pci_get_drvdata(pdev); in ath11k_pci_shutdown()
1200 struct ath11k_base *ab = dev_get_drvdata(dev); in ath11k_pci_pm_suspend()
[all …]
H A Ddp_tx.h21 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,
H A Dhtc.h16 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,
H A Dpeer.c28 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 …]
H A Dcore.h172 struct ath11k_base *ab;
645 struct ath11k_base *ab;
834 int (*wakeup)(struct ath11k_base *ab);
835 void (*release)(struct ath11k_base *ab);
896 struct ath11k_base { struct
1236 int ath11k_core_pre_init(struct ath11k_base *ab);
1237 int ath11k_core_init(struct ath11k_base *ath11k);
1238 void ath11k_core_deinit(struct ath11k_base *ath11k);
1241 void ath11k_core_free(struct ath11k_base *ath11k);
1252 int ath11k_core_resume(struct ath11k_base *ab);
[all …]
H A Dthermal.h30 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()
H A Dmhi.c154 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()
465 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_suspend()
[all …]
H A Dwow.h35 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()
H A Dhal.c193 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()
762 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, in ath11k_hal_srng_src_reap_next()
1158 void ath11k_hal_srng_shadow_config(struct ath11k_base *ab) in ath11k_hal_srng_shadow_config()
1315 int ath11k_hal_srng_init(struct ath11k_base *ab) in ath11k_hal_srng_init()
1346 void ath11k_hal_srng_deinit(struct ath11k_base *ab) in ath11k_hal_srng_deinit()
[all …]
H A Dreg.h13 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,
H A Dspectral.h44 int ath11k_spectral_init(struct ath11k_base *ab);
45 void ath11k_spectral_deinit(struct ath11k_base *ab);
53 static inline int ath11k_spectral_init(struct ath11k_base *ab) in ath11k_spectral_init()
58 static inline void ath11k_spectral_deinit(struct ath11k_base *ab) in ath11k_spectral_deinit()
H A Dcore.c975 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend()
1034 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume()
1079 struct ath11k_base *ab = data; in ath11k_core_check_cc_code_bdfext()
2052 struct ath11k_base *ab = ar->ab; in ath11k_core_halt()
2074 struct ath11k_base *ab = container_of(work, struct ath11k_base, update_11d_work); in ath11k_update_11d()
2194 struct ath11k_base *ab = container_of(work, struct ath11k_base, restart_work); in ath11k_core_restart()
2212 struct ath11k_base *ab = container_of(work, struct ath11k_base, reset_work); in ath11k_core_reset()
2328 int ath11k_core_init(struct ath11k_base *ab) in ath11k_core_init()
2342 void ath11k_core_deinit(struct ath11k_base *ab) in ath11k_core_deinit()
2357 void ath11k_core_free(struct ath11k_base *ab) in ath11k_core_free()
[all …]
H A Dce.c274 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 …]
H A Ddebugfs.h267 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);
318 static inline int ath11k_debugfs_soc_create(struct ath11k_base *ab) in ath11k_debugfs_soc_create()
323 static inline void ath11k_debugfs_soc_destroy(struct ath11k_base *ab) in ath11k_debugfs_soc_destroy()
327 static inline int ath11k_debugfs_pdev_create(struct ath11k_base *ab) in ath11k_debugfs_pdev_create()
332 static inline void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab) in ath11k_debugfs_pdev_destroy()
H A Ddp.c24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup()
46 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup()
580 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free()
683 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup()
772 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng()
873 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free()
912 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc()
1013 struct ath11k_base *ab = ctx; in ath11k_dp_tx_pending_cleanup()
1024 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free()
1048 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc()
[all …]

123