Home
last modified time | relevance | path

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

123

/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhif.h12 u32 (*read32)(struct ath11k_base *sc, u32 address);
13 void (*write32)(struct ath11k_base *sc, u32 address, u32 data);
14 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end);
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);
[all …]
H A Dpcic.h29 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name,
32 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value);
33 u32 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset);
34 void ath11k_pcic_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo,
36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx);
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);
[all …]
H A Dce.h63 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;
174 void (*send_cb)(struct ath11k_base *, struct sk_buff *);
175 void (*recv_cb)(struct ath11k_base *, struct sk_buff *);
195 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab);
197 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id);
198 int ath11k_ce_send(struct ath11k_base *ab, struct sk_buff *skb, u8 pipe_id,
200 void ath11k_ce_rx_post_buf(struct ath11k_base *ab);
[all …]
H A Ddp_rx.h59 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);
67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget);
68 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab,
70 int ath11k_dp_process_rx_err(struct ath11k_base *ab, struct napi_struct *napi,
[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.c120 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config()
143 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32()
155 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32()
175 static u32 __ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) in __ath11k_pcic_read32()
191 u32 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) in ath11k_pcic_read32()
214 int ath11k_pcic_read(struct ath11k_base *ab, void *buf, u32 start, u32 end) in ath11k_pcic_read()
252 void ath11k_pcic_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, in ath11k_pcic_get_msi_address()
260 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, in ath11k_pcic_get_user_msi_assignment()
288 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx) in ath11k_pcic_get_ce_msi_idx()
305 static void ath11k_pcic_free_ext_irq(struct ath11k_base *ab) in ath11k_pcic_free_ext_irq()
[all …]
H A Dahb.c144 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750()
150 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750()
166 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750()
177 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750()
198 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32()
203 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32()
208 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets()
230 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable()
255 static void ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_setbit32()
263 static void ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_clearbit32()
[all …]
H A Dmac.h14 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);
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 Dpci.c46 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up()
53 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release()
60 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start()
78 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()
99 ath11k_pci_window_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_window_write32()
126 static u32 ath11k_pci_window_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_window_read32()
155 int ath11k_pci_get_msi_irq(struct ath11k_base *ab, unsigned int vector) in ath11k_pci_get_msi_irq()
207 static void ath11k_pci_soc_global_reset(struct ath11k_base *ab) in ath11k_pci_soc_global_reset()
233 static void ath11k_pci_clear_dbg_registers(struct ath11k_base *ab) in ath11k_pci_clear_dbg_registers()
263 static int ath11k_pci_set_link_reg(struct ath11k_base *ab, in ath11k_pci_set_link_reg()
[all …]
H A Dhal.h13 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,
939 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type);
940 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type);
941 void ath11k_hal_srng_get_params(struct ath11k_base *ab, struct hal_srng *srng,
943 u32 *ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab,
945 u32 *ath11k_hal_srng_dst_peek(struct ath11k_base *ab, struct hal_srng *srng);
[all …]
H A Dcore.h187 struct ath11k_base *ab;
617 struct ath11k_base *ab;
803 int (*wakeup)(struct ath11k_base *ab);
804 void (*release)(struct ath11k_base *ab);
805 int (*get_msi_irq)(struct ath11k_base *ab, unsigned int vector);
806 void (*window_write32)(struct ath11k_base *ab, u32 offset, u32 value);
807 u32 (*window_read32)(struct ath11k_base *ab, u32 offset);
865 struct ath11k_base { struct
1190 int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab);
1191 int ath11k_core_pre_init(struct ath11k_base *ab);
[all …]
H A Dpeer.c11 static struct ath11k_peer *ath11k_peer_find_list_by_id(struct ath11k_base *ab, in ath11k_peer_find_list_by_id()
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()
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()
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()
[all …]
H A Dhtc.h15 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,
H A Ddp_tx.h20 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);
23 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);
24 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,
37 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id,
42 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
H A Dmhi.c213 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset()
230 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb()
235 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus()
240 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb()
245 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus()
250 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector()
260 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()
331 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath11k_mhi_op_status_cb()
392 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()
480 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_start()
[all …]
H A Dcore.c716 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) in ath11k_core_get_single_pdev()
769 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support()
781 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend()
840 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume()
885 struct ath11k_base *ab = data; in ath11k_core_check_cc_code_bdfext()
967 int ath11k_core_check_smbios(struct ath11k_base *ab) in ath11k_core_check_smbios()
978 int ath11k_core_check_dt(struct ath11k_base *ab) in ath11k_core_check_dt()
1005 static int __ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in __ath11k_core_create_board_name()
1047 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name()
1053 static int ath11k_core_create_fallback_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_fallback_board_name()
[all …]
H A Dhal.c196 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp()
210 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp()
224 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp()
238 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp()
252 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup()
270 static void ath11k_hal_srng_dst_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_dst_hw_init()
349 static void ath11k_hal_srng_src_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_src_hw_init()
458 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init()
467 static int ath11k_hal_srng_get_ring_id(struct ath11k_base *ab, in ath11k_hal_srng_get_ring_id()
489 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize()
[all …]
H A Dce.c259 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers()
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()
529 static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, in ath11k_ce_srng_msi_ring_params_setup()
555 static int ath11k_ce_init_ring(struct ath11k_base *ab, in ath11k_ce_init_ring()
614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring()
[all …]
H A Ddp.c19 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete()
27 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup()
49 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup()
105 void ath11k_dp_srng_cleanup(struct ath11k_base *ab, struct dp_srng *ring) in ath11k_dp_srng_cleanup()
133 static int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab, in ath11k_dp_srng_calculate_msi_group()
184 static void ath11k_dp_srng_msi_setup(struct ath11k_base *ab, in ath11k_dp_srng_msi_setup()
224 int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, in ath11k_dp_srng_setup()
340 void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers()
353 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup()
373 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup()
[all …]
H A Dhal_rx.h461 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc,
463 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc,
465 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc,
467 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc,
469 void ath11k_hal_reo_unblk_cache_status(struct ath11k_base *ab, u32 *reo_desc,
471 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab,
474 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab,
477 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab,
484 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc,
491 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc,
[all …]
H A Dthermal.h29 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()
H A Dwow.h34 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()
H A Dspectral.h43 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()
H A Ddebugfs.h266 int ath11k_debugfs_soc_create(struct ath11k_base *ab);
267 void ath11k_debugfs_soc_destroy(struct ath11k_base *ab);
268 int ath11k_debugfs_pdev_create(struct ath11k_base *ab);
269 void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab);
317 static inline int ath11k_debugfs_soc_create(struct ath11k_base *ab) in ath11k_debugfs_soc_create()
322 static inline void ath11k_debugfs_soc_destroy(struct ath11k_base *ab) in ath11k_debugfs_soc_destroy()
326 static inline int ath11k_debugfs_pdev_create(struct ath11k_base *ab) in ath11k_debugfs_pdev_create()
331 static inline void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab) in ath11k_debugfs_pdev_destroy()

123