Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/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 void (*irq_enable)(struct ath11k_base *sc);
15 void (*irq_disable)(struct ath11k_base *sc);
16 int (*start)(struct ath11k_base *sc);
17 void (*stop)(struct ath11k_base *sc);
18 int (*power_up)(struct ath11k_base *sc);
19 void (*power_down)(struct ath11k_base *sc);
20 int (*map_service_to_pipe)(struct ath11k_base *sc, u16 service_id,
22 int (*get_user_msi_vector)(struct ath11k_base *ab, char *user_name,
[all …]
H A Dce.h58 struct ath11k_base;
103 void (*recv_cb)(struct ath11k_base *, struct sk_buff *);
151 struct ath11k_base *ab;
158 void (*recv_cb)(struct ath11k_base *, struct sk_buff *);
177 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab);
179 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id);
180 int ath11k_ce_send(struct ath11k_base *ab, struct sk_buff *skb, u8 pipe_id,
182 void ath11k_ce_rx_post_buf(struct ath11k_base *ab);
183 int ath11k_ce_init_pipes(struct ath11k_base *ab);
184 int ath11k_ce_alloc_pipes(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 Dahb.c137 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32()
142 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32()
147 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets()
169 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable()
194 static void ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_setbit32()
202 static void ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_clearbit32()
210 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable()
225 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable()
240 static void ath11k_ahb_sync_ce_irqs(struct ath11k_base *ab) in ath11k_ahb_sync_ce_irqs()
254 static void ath11k_ahb_sync_ext_irqs(struct ath11k_base *ab) in ath11k_ahb_sync_ext_irqs()
[all …]
H A Ddebugfs.h107 int ath11k_debugfs_soc_create(struct ath11k_base *ab);
108 void ath11k_debugfs_soc_destroy(struct ath11k_base *ab);
109 int ath11k_debugfs_pdev_create(struct ath11k_base *ab);
110 void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab);
113 void ath11k_debugfs_fw_stats_process(struct ath11k_base *ab, struct sk_buff *skb);
149 static inline int ath11k_debugfs_soc_create(struct ath11k_base *ab) in ath11k_debugfs_soc_create()
154 static inline void ath11k_debugfs_soc_destroy(struct ath11k_base *ab) in ath11k_debugfs_soc_destroy()
158 static inline int ath11k_debugfs_pdev_create(struct ath11k_base *ab) in ath11k_debugfs_pdev_create()
163 static inline void ath11k_debugfs_pdev_destroy(struct ath11k_base *ab) in ath11k_debugfs_pdev_destroy()
176 static inline void ath11k_debugfs_fw_stats_process(struct ath11k_base *ab, in ath11k_debugfs_fw_stats_process()
H A Dpci.c120 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window()
133 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_write32()
158 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_read32()
186 static void ath11k_pci_soc_global_reset(struct ath11k_base *ab) in ath11k_pci_soc_global_reset()
212 static void ath11k_pci_clear_dbg_registers(struct ath11k_base *ab) in ath11k_pci_clear_dbg_registers()
242 static void ath11k_pci_force_wake(struct ath11k_base *ab) in ath11k_pci_force_wake()
248 static void ath11k_pci_sw_reset(struct ath11k_base *ab) in ath11k_pci_sw_reset()
264 static void ath11k_pci_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, in ath11k_pci_get_msi_address()
280 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_get_user_msi_assignment()
303 static int ath11k_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, in ath11k_get_user_msi_assignment()
[all …]
H A Dmac.h13 struct ath11k_base;
121 void ath11k_mac_destroy(struct ath11k_base *ab);
122 void ath11k_mac_unregister(struct ath11k_base *ab);
123 int ath11k_mac_register(struct ath11k_base *ab);
124 int ath11k_mac_allocate(struct ath11k_base *ab);
136 struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab,
138 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id);
139 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
140 struct ath11k *ath11k_mac_get_ar_vdev_stop_status(struct ath11k_base *ab,
H A Ddebug.h31 __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()
H A Dhal.h12 struct ath11k_base;
898 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab,
900 void ath11k_hal_reo_hw_setup(struct ath11k_base *ab, u32 ring_hash_map);
901 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab,
906 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab,
908 dma_addr_t ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab,
917 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type);
918 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type);
919 void ath11k_hal_srng_get_params(struct ath11k_base *ab, struct hal_srng *srng,
921 u32 *ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab,
[all …]
H A Dhal_rx.h286 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc,
288 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc,
290 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc,
292 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc,
294 void ath11k_hal_reo_unblk_cache_status(struct ath11k_base *ab, u32 *reo_desc,
296 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab,
299 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab,
302 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab,
309 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc,
316 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc,
[all …]
H A Dcore.c144 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name()
158 const struct firmware *ath11k_core_firmware_request(struct ath11k_base *ab, in ath11k_core_firmware_request()
180 void ath11k_core_free_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_free_bdf()
188 static int ath11k_core_parse_bd_ie_board(struct ath11k_base *ab, in ath11k_core_parse_bd_ie_board()
269 static int ath11k_core_fetch_board_data_api_n(struct ath11k_base *ab, in ath11k_core_fetch_board_data_api_n()
375 static int ath11k_core_fetch_board_data_api_1(struct ath11k_base *ab, in ath11k_core_fetch_board_data_api_1()
389 int ath11k_core_fetch_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_fetch_bdf()
418 static void ath11k_core_stop(struct ath11k_base *ab) in ath11k_core_stop()
430 static int ath11k_core_soc_create(struct ath11k_base *ab) in ath11k_core_soc_create()
461 static void ath11k_core_soc_destroy(struct ath11k_base *ab) in ath11k_core_soc_destroy()
[all …]
H A Dpeer.h32 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id);
33 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id,
35 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id,
37 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab,
39 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id);
46 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab,
H A Dcore.h122 struct ath11k_base *ab;
438 struct ath11k_base *ab;
650 struct ath11k_base { struct
870 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id);
871 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id,
873 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id,
875 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab,
877 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id);
878 int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab);
879 int ath11k_core_pre_init(struct ath11k_base *ab);
[all …]
H A Dhal.c246 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp()
260 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp()
274 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp()
288 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp()
302 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup()
320 static void ath11k_hal_srng_dst_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_dst_hw_init()
399 static void ath11k_hal_srng_src_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_src_hw_init()
498 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init()
507 static int ath11k_hal_srng_get_ring_id(struct ath11k_base *ab, in ath11k_hal_srng_get_ring_id()
529 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize()
[all …]
H A Dhtc.h15 struct ath11k_base;
225 void (*target_send_suspend_complete)(struct ath11k_base *ar);
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;
301 int ath11k_htc_init(struct ath11k_base *ar);
309 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ar, int size);
310 void ath11k_htc_rx_completion_handler(struct ath11k_base *ar,
H A Dce.c198 static void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers()
213 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe()
261 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe()
311 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next()
360 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb()
400 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next()
441 struct ath11k_base *ab = pipe->ab; in ath11k_ce_send_done_cb()
454 static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, in ath11k_ce_srng_msi_ring_params_setup()
479 static int ath11k_ce_init_ring(struct ath11k_base *ab, in ath11k_ce_init_ring()
538 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring()
[all …]
H A Dmhi.c110 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset()
127 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb()
132 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus()
137 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb()
142 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus()
147 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector()
157 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi()
217 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register()
299 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_set_state_bit()
337 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_check_state_bit()
[all …]
H A Ddp.c15 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete()
23 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup()
44 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup()
99 void ath11k_dp_srng_cleanup(struct ath11k_base *ab, struct dp_srng *ring) in ath11k_dp_srng_cleanup()
124 static int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab, in ath11k_dp_srng_calculate_msi_group()
177 static void ath11k_dp_srng_msi_setup(struct ath11k_base *ab, in ath11k_dp_srng_msi_setup()
217 int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, in ath11k_dp_srng_setup()
307 static void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers()
320 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup()
340 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup()
[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 Dpeer.c10 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find()
29 static struct ath11k_peer *ath11k_peer_find_by_pdev_idx(struct ath11k_base *ab, in ath11k_peer_find_by_pdev_idx()
48 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr()
65 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()
147 static int ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, in ath11k_wait_for_peer_common()
172 struct ath11k_base *ab = ar->ab; in ath11k_peer_cleanup()
H A Ddp_tx.h18 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab);
21 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id);
22 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid,
35 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id,
H A Ddebug.c10 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()
H A Dspectral.h42 int ath11k_spectral_init(struct ath11k_base *ab);
43 void ath11k_spectral_deinit(struct ath11k_base *ab);
51 static inline int ath11k_spectral_init(struct ath11k_base *ab) in ath11k_spectral_init()
56 static inline void ath11k_spectral_deinit(struct ath11k_base *ab) in ath11k_spectral_deinit()
H A Dpci.h45 struct ath11k_base *ab;
60 static inline struct ath11k_pci *ath11k_pci_priv(struct ath11k_base *ab) in ath11k_pci_priv()
69 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value);
70 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset);
H A Dhal_tx.h62 void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd,
64 void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id);
65 int ath11k_hal_reo_cmd_send(struct ath11k_base *ab, struct hal_srng *srng,
68 void ath11k_hal_tx_init_data_ring(struct ath11k_base *ab,

12