Home
last modified time | relevance | path

Searched refs:ath12k_base (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dhif.h13 u32 (*read32)(struct ath12k_base *ab, u32 address);
15 void (*irq_enable)(struct ath12k_base *ab);
16 void (*irq_disable)(struct ath12k_base *ab);
17 int (*start)(struct ath12k_base *ab);
18 void (*stop)(struct ath12k_base *ab);
19 int (*power_up)(struct ath12k_base *ab);
21 int (*suspend)(struct ath12k_base *ab);
22 int (*resume)(struct ath12k_base *ab);
30 void (*ce_irq_enable)(struct ath12k_base *ab);
31 void (*ce_irq_disable)(struct ath12k_base *ab);
[all …]
H A Ddp_rx.h33 struct ath12k_base *ab;
108 int ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab);
109 void ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab);
110 int ath12k_dp_rx_htt_setup(struct ath12k_base *ab);
111 int ath12k_dp_rx_alloc(struct ath12k_base *ab);
112 void ath12k_dp_rx_free(struct ath12k_base *ab);
117 int ath12k_dp_rx_process_wbm_err(struct ath12k_base *ab,
124 int ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab,
131 u8 ath12k_dp_rx_h_l3pad(struct ath12k_base *ab,
135 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab,
[all …]
H A Dpci.h94 int (*wakeup)(struct ath12k_base *ab);
95 void (*release)(struct ath12k_base *ab);
100 struct ath12k_base *ab;
131 u32 ath12k_pci_read32(struct ath12k_base *ab, u32 offset);
140 void ath12k_pci_ext_irq_enable(struct ath12k_base *ab);
141 void ath12k_pci_ext_irq_disable(struct ath12k_base *ab);
142 int ath12k_pci_hif_suspend(struct ath12k_base *ab);
143 int ath12k_pci_hif_resume(struct ath12k_base *ab);
144 void ath12k_pci_stop(struct ath12k_base *ab);
145 int ath12k_pci_start(struct ath12k_base *ab);
[all …]
H A Dce.h52 struct ath12k_base;
94 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb);
142 struct ath12k_base *ab;
149 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb);
168 void ath12k_ce_cleanup_pipes(struct ath12k_base *ab);
173 void ath12k_ce_rx_post_buf(struct ath12k_base *ab);
174 int ath12k_ce_init_pipes(struct ath12k_base *ab);
175 int ath12k_ce_alloc_pipes(struct ath12k_base *ab);
176 void ath12k_ce_free_pipes(struct ath12k_base *ab);
177 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id);
[all …]
H A Dacpi.h75 int ath12k_acpi_start(struct ath12k_base *ab);
76 void ath12k_acpi_stop(struct ath12k_base *ab);
77 bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab);
78 bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab);
79 void ath12k_acpi_set_dsm_func(struct ath12k_base *ab);
80 int ath12k_acpi_check_bdf_variant_name(struct ath12k_base *ab);
84 static inline int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start()
89 static inline void ath12k_acpi_stop(struct ath12k_base *ab) in ath12k_acpi_stop()
93 static inline bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab) in ath12k_acpi_get_disable_rfkill()
98 static inline bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab) in ath12k_acpi_get_disable_11be()
[all …]
H A Dcore.c881 struct ath12k_base *ab; in ath12k_core_hw_group_stop()
999 struct ath12k_base *ab; in ath12k_core_hw_group_start()
1217 struct ath12k_base *ab = container_of(work, struct ath12k_base, rfkill_work); in ath12k_rfkill_work()
1369 struct ath12k_base *ab = container_of(work, struct ath12k_base, restart_work); in ath12k_core_restart()
1400 struct ath12k_base *ab = container_of(work, struct ath12k_base, reset_work); in ath12k_core_reset()
1483 struct ath12k_base *ab = container_of(nb, struct ath12k_base, in ath12k_core_panic_handler()
1762 struct ath12k_base *ab; in ath12k_core_hw_group_destroy()
1779 struct ath12k_base *ab; in ath12k_core_hw_group_cleanup()
1811 struct ath12k_base *ab; in ath12k_core_hw_group_create()
1838 struct ath12k_base *ab; in ath12k_core_hw_group_set_mlo_capable()
[all …]
H A Dpci.c165 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window()
443 struct ath12k_base *ab = ce_pipe->ab; in ath12k_pci_ce_interrupt_handler()
528 struct ath12k_base *ab = irq_grp->ab; in ath12k_pci_ext_grp_napi_poll()
548 struct ath12k_base *ab = irq_grp->ab; in ath12k_pci_ext_interrupt_handler()
769 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_msi_alloc()
850 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_claim()
911 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_free_region()
923 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_aspm_disable()
1158 void ath12k_pci_stop(struct ath12k_base *ab) in ath12k_pci_stop()
1169 int ath12k_pci_start(struct ath12k_base *ab) in ath12k_pci_start()
[all …]
H A Dpeer.h73 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id);
74 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id,
76 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id,
78 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab,
80 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, int peer_id);
88 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id);
89 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, int ast_hash);
H A Ddebug.h32 __printf(2, 3) void ath12k_info(struct ath12k_base *ab, const char *fmt, ...);
33 __printf(2, 3) void ath12k_err(struct ath12k_base *ab, const char *fmt, ...);
43 __printf(3, 4) void __ath12k_dbg(struct ath12k_base *ab,
46 void ath12k_dbg_dump(struct ath12k_base *ab,
51 static inline void __ath12k_dbg(struct ath12k_base *ab, in __ath12k_dbg()
57 static inline void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
H A Dcore.h165 struct ath12k_base *ab;
610 struct ath12k_base *ab;
876 struct ath12k_base *ab[ATH12K_MAX_SOCS];
903 struct ath12k_base { struct
1096 struct ath12k_base *ab; argument
1188 int ath12k_core_pre_init(struct ath12k_base *ab);
1189 int ath12k_core_init(struct ath12k_base *ath12k);
1190 void ath12k_core_deinit(struct ath12k_base *ath12k);
1193 void ath12k_core_free(struct ath12k_base *ath12k);
1205 int ath12k_core_resume(struct ath12k_base *ab);
[all …]
H A Dhal.h13 struct ath12k_base;
1085 int (*create_srng_config)(struct ath12k_base *ab);
1103 void ath12k_hal_reo_init_cmd_ring(struct ath12k_base *ab,
1106 void ath12k_hal_setup_link_idle_list(struct ath12k_base *ab,
1111 dma_addr_t ath12k_hal_srng_get_tp_addr(struct ath12k_base *ab,
1134 void *ath12k_hal_srng_src_reap_next(struct ath12k_base *ab,
1140 void ath12k_hal_srng_access_begin(struct ath12k_base *ab,
1146 int ath12k_hal_srng_init(struct ath12k_base *ath12k);
1147 void ath12k_hal_srng_deinit(struct ath12k_base *ath12k);
1148 void ath12k_hal_dump_srng_stats(struct ath12k_base *ab);
[all …]
H A Dtestmode.h12 void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id,
14 void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id,
22 static inline void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id, in ath12k_tm_wmi_event_unsegmented()
27 static inline void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id, in ath12k_tm_process_event()
H A Dhtc.h16 struct ath12k_base;
234 void (*ep_tx_complete)(struct ath12k_base *ab, struct sk_buff *skb);
235 void (*ep_rx_complete)(struct ath12k_base *ab, struct sk_buff *skb);
236 void (*ep_tx_credits)(struct ath12k_base *ab);
286 struct ath12k_base *ab;
304 int ath12k_htc_init(struct ath12k_base *ar);
312 struct sk_buff *ath12k_htc_alloc_skb(struct ath12k_base *ar, int size);
313 void ath12k_htc_rx_completion_handler(struct ath12k_base *ar,
H A Dce.c225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe()
273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe()
322 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_recv_next()
371 struct ath12k_base *ab = pipe->ab; in ath12k_ce_recv_process_cb()
411 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_send_next()
452 struct ath12k_base *ab = pipe->ab; in ath12k_ce_send_done_cb()
721 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_pipe_cleanup()
757 void ath12k_ce_rx_post_buf(struct ath12k_base *ab) in ath12k_ce_rx_post_buf()
825 int ath12k_ce_init_pipes(struct ath12k_base *ab) in ath12k_ce_init_pipes()
886 void ath12k_ce_free_pipes(struct ath12k_base *ab) in ath12k_ce_free_pipes()
[all …]
H A Ddp.c30 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup()
57 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup()
682 ath12k_dp_link_desc_bank_free(struct ath12k_base *ab, in ath12k_dp_link_desc_bank_free()
876 int ath12k_dp_service_srng(struct ath12k_base *ab, in ath12k_dp_service_srng()
981 void ath12k_dp_pdev_free(struct ath12k_base *ab) in ath12k_dp_pdev_free()
1048 int ath12k_dp_pdev_alloc(struct ath12k_base *ab) in ath12k_dp_pdev_alloc()
1129 struct ath12k_base *ab = ar->ab; in ath12k_dp_vdev_tx_attach()
1283 void ath12k_dp_free(struct ath12k_base *ab) in ath12k_dp_free()
1311 void ath12k_dp_cc_config(struct ath12k_base *ab) in ath12k_dp_cc_config()
1648 ath12k_dp_get_idle_link_rbm(struct ath12k_base *ab) in ath12k_dp_get_idle_link_rbm()
[all …]
H A Ddp_tx.h18 int ath12k_dp_tx_htt_h2t_ver_req_msg(struct ath12k_base *ab);
21 void ath12k_dp_tx_completion_handler(struct ath12k_base *ab, int ring_id);
30 int ath12k_dp_tx_htt_rx_filter_setup(struct ath12k_base *ab, u32 ring_id,
35 int ath12k_dp_tx_htt_tx_filter_setup(struct ath12k_base *ab, u32 ring_id,
H A Ddp_rx.c486 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_pdev_srng_free()
529 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_pdev_srng_alloc()
680 struct ath12k_base *ab = dp->ab; in ath12k_dp_rx_tid_del_func()
941 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_peer_tid_setup()
1071 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_ampdu_start()
1099 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_ampdu_stop()
1149 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_peer_pn_replay_config()
1362 struct ath12k_base *ab = ar->ab; in ath12k_update_per_peer_tx_stats()
2659 struct ath12k_base *partner_ab; in ath12k_dp_rx_process_received_packets()
2734 struct ath12k_base *partner_ab; in ath12k_dp_rx_process()
[all …]
H A Dmhi.c151 void ath12k_mhi_set_mhictrl_reset(struct ath12k_base *ab) in ath12k_mhi_set_mhictrl_reset()
168 static void ath12k_mhi_reset_txvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_txvecdb()
173 static void ath12k_mhi_reset_txvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_txvecstatus()
178 static void ath12k_mhi_reset_rxvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecdb()
183 static void ath12k_mhi_reset_rxvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecstatus()
188 void ath12k_mhi_clear_vector(struct ath12k_base *ab) in ath12k_mhi_clear_vector()
198 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi()
316 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register()
447 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_set_state_bit()
486 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_check_state_bit()
[all …]
H A Dacpi.c11 static int ath12k_acpi_dsm_get_data(struct ath12k_base *ab, int func) in ath12k_acpi_dsm_get_data()
161 static int ath12k_acpi_set_power_limit(struct ath12k_base *ab) in ath12k_acpi_set_power_limit()
183 static int ath12k_acpi_set_bios_sar_power(struct ath12k_base *ab) in ath12k_acpi_set_bios_sar_power()
205 struct ath12k_base *ab = data; in ath12k_acpi_dsm_notify()
264 static int ath12k_acpi_set_tas_params(struct ath12k_base *ab) in ath12k_acpi_set_tas_params()
289 bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab) in ath12k_acpi_get_disable_rfkill()
294 bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab) in ath12k_acpi_get_disable_11be()
299 void ath12k_acpi_set_dsm_func(struct ath12k_base *ab) in ath12k_acpi_set_dsm_func()
351 int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start()
485 int ath12k_acpi_check_bdf_variant_name(struct ath12k_base *ab) in ath12k_acpi_check_bdf_variant_name()
[all …]
H A Ddebugfs.h11 void ath12k_debugfs_soc_create(struct ath12k_base *ab);
12 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab);
111 static inline void ath12k_debugfs_soc_create(struct ath12k_base *ab) in ath12k_debugfs_soc_create()
115 static inline void ath12k_debugfs_soc_destroy(struct ath12k_base *ab) in ath12k_debugfs_soc_destroy()
H A Ddebug.c11 void ath12k_info(struct ath12k_base *ab, const char *fmt, ...) in ath12k_info()
25 void ath12k_err(struct ath12k_base *ab, const char *fmt, ...) in ath12k_err()
55 void __ath12k_dbg(struct ath12k_base *ab, enum ath12k_debug_mask mask, in __ath12k_dbg()
76 void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
H A Dcoredump.c43 struct ath12k_base *ab = container_of(work, struct ath12k_base, dump_work); in ath12k_coredump_upload()
51 void ath12k_coredump_collect(struct ath12k_base *ab) in ath12k_coredump_collect()
H A Dpeer.c27 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find()
46 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx()
65 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr()
82 static struct ath12k_peer *ath12k_peer_find_by_ml_id(struct ath12k_base *ab, in ath12k_peer_find_by_ml_id()
96 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, in ath12k_peer_find_by_id()
113 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) in ath12k_peer_exist_by_vdev_id()
129 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, in ath12k_peer_find_by_ast()
143 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id) in ath12k_peer_unmap_event()
167 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event()
220 struct ath12k_base *ab = ar->ab; in ath12k_peer_cleanup()
[all …]
H A Dhal.c1576 static int ath12k_hal_alloc_cont_rdp(struct ath12k_base *ab) in ath12k_hal_alloc_cont_rdp()
1590 static void ath12k_hal_free_cont_rdp(struct ath12k_base *ab) in ath12k_hal_free_cont_rdp()
1604 static int ath12k_hal_alloc_cont_wrp(struct ath12k_base *ab) in ath12k_hal_alloc_cont_wrp()
1618 static void ath12k_hal_free_cont_wrp(struct ath12k_base *ab) in ath12k_hal_free_cont_wrp()
1632 static void ath12k_hal_ce_dst_setup(struct ath12k_base *ab, in ath12k_hal_ce_dst_setup()
1821 static void ath12k_hal_srng_hw_init(struct ath12k_base *ab, in ath12k_hal_srng_hw_init()
2090 void *ath12k_hal_srng_src_reap_next(struct ath12k_base *ab, in ath12k_hal_srng_src_reap_next()
2466 void ath12k_hal_srng_shadow_config(struct ath12k_base *ab) in ath12k_hal_srng_shadow_config()
2529 int ath12k_hal_srng_init(struct ath12k_base *ab) in ath12k_hal_srng_init()
2559 void ath12k_hal_srng_deinit(struct ath12k_base *ab) in ath12k_hal_srng_deinit()
[all …]
H A Dmac.h15 struct ath12k_base;
84 struct ath12k_link_vif *ath12k_mac_get_arvif_by_vdev_id(struct ath12k_base *ab,
86 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id);
87 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);

123