| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | hif.h | 12 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 (*suspend)(struct ath11k_base *ab); 21 int (*resume)(struct ath11k_base *ab); [all …]
|
| 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); 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 …]
|
| D | ce.h | 58 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 *); 178 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab); 180 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id); 181 int ath11k_ce_send(struct ath11k_base *ab, struct sk_buff *skb, u8 pipe_id, 183 void ath11k_ce_rx_post_buf(struct ath11k_base *ab); 184 int ath11k_ce_init_pipes(struct ath11k_base *ab); 185 int ath11k_ce_alloc_pipes(struct ath11k_base *ab); [all …]
|
| D | debugfs.h | 107 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()
|
| 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()
|
| D | pci.c | 135 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 160 static inline u32 ath11k_pci_get_window_start(struct ath11k_base *ab, in ath11k_pci_get_window_start() 177 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_write32() 214 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_read32() 253 static void ath11k_pci_soc_global_reset(struct ath11k_base *ab) in ath11k_pci_soc_global_reset() 279 static void ath11k_pci_clear_dbg_registers(struct ath11k_base *ab) in ath11k_pci_clear_dbg_registers() 309 static int ath11k_pci_set_link_reg(struct ath11k_base *ab, in ath11k_pci_set_link_reg() 335 static int ath11k_pci_fix_l1ss(struct ath11k_base *ab) in ath11k_pci_fix_l1ss() 378 static void ath11k_pci_enable_ltssm(struct ath11k_base *ab) in ath11k_pci_enable_ltssm() 406 static void ath11k_pci_clear_all_intrs(struct ath11k_base *ab) in ath11k_pci_clear_all_intrs() [all …]
|
| D | ahb.c | 137 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() 191 static void ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_setbit32() 199 static void ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_clearbit32() 207 static void ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_enable() 222 static void ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) in ath11k_ahb_ce_irq_disable() 237 static void ath11k_ahb_sync_ce_irqs(struct ath11k_base *ab) in ath11k_ahb_sync_ce_irqs() 251 static void ath11k_ahb_sync_ext_irqs(struct ath11k_base *ab) in ath11k_ahb_sync_ext_irqs() [all …]
|
| D | mac.h | 13 struct ath11k_base; 127 void ath11k_mac_destroy(struct ath11k_base *ab); 128 void ath11k_mac_unregister(struct ath11k_base *ab); 129 int ath11k_mac_register(struct ath11k_base *ab); 130 int ath11k_mac_allocate(struct ath11k_base *ab); 142 struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab, 144 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 145 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
| D | peer.h | 33 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id); 34 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 36 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 38 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, 40 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id); 47 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab,
|
| D | hal_rx.h | 294 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, 296 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc, 298 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 300 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 302 void ath11k_hal_reo_unblk_cache_status(struct ath11k_base *ab, u32 *reo_desc, 304 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab, 307 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab, 310 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab, 317 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, 324 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, [all …]
|
| D | hal.h | 12 struct ath11k_base; 909 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab, 911 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab, 916 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab, 918 dma_addr_t ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab, 927 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type); 928 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type); 929 void ath11k_hal_srng_get_params(struct ath11k_base *ab, struct hal_srng *srng, 931 u32 *ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab, 933 u32 *ath11k_hal_srng_dst_peek(struct ath11k_base *ab, struct hal_srng *srng); [all …]
|
| D | core.c | 236 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() 284 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume() 317 int ath11k_core_check_dt(struct ath11k_base *ab) in ath11k_core_check_dt() 340 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name() 361 const struct firmware *ath11k_core_firmware_request(struct ath11k_base *ab, in ath11k_core_firmware_request() 383 void ath11k_core_free_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_free_bdf() 391 static int ath11k_core_parse_bd_ie_board(struct ath11k_base *ab, in ath11k_core_parse_bd_ie_board() 472 static int ath11k_core_fetch_board_data_api_n(struct ath11k_base *ab, in ath11k_core_fetch_board_data_api_n() 578 static int ath11k_core_fetch_board_data_api_1(struct ath11k_base *ab, in ath11k_core_fetch_board_data_api_1() 592 int ath11k_core_fetch_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_fetch_bdf() [all …]
|
| 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()
|
| D | dp.c | 15 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 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 …]
|
| D | dp_tx.h | 18 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,
|
| D | htc.h | 15 struct ath11k_base; 227 void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *); 228 void (*ep_rx_complete)(struct ath11k_base *, struct sk_buff *); 229 void (*ep_tx_credits)(struct ath11k_base *); 279 struct ath11k_base *ab; 297 int ath11k_htc_init(struct ath11k_base *ar); 305 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ar, int size); 306 void ath11k_htc_rx_completion_handler(struct ath11k_base *ar,
|
| D | spectral.h | 42 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()
|
| D | hal.c | 192 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() 206 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() 220 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() 234 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() 248 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup() 266 static void ath11k_hal_srng_dst_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_dst_hw_init() 345 static void ath11k_hal_srng_src_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_src_hw_init() 454 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init() 463 static int ath11k_hal_srng_get_ring_id(struct ath11k_base *ab, in ath11k_hal_srng_get_ring_id() 485 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize() [all …]
|
| D | mhi.c | 200 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() 217 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() 222 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() 227 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() 232 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus() 237 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector() 247 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() 287 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath11k_mhi_op_status_cb() 316 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() 416 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_set_state_bit() [all …]
|
| D | ce.c | 251 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() 266 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 314 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 364 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() 413 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() 453 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() 494 struct ath11k_base *ab = pipe->ab; in ath11k_ce_send_done_cb() 507 static void ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, in ath11k_ce_srng_msi_ring_params_setup() 533 static int ath11k_ce_init_ring(struct ath11k_base *ab, in ath11k_ce_init_ring() 592 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() [all …]
|
| 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()
|
| D | core.h | 130 struct ath11k_base *ab; 445 struct ath11k_base *ab; 659 struct ath11k_base { struct 886 int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab); 887 int ath11k_core_pre_init(struct ath11k_base *ab); 888 int ath11k_core_init(struct ath11k_base *ath11k); 889 void ath11k_core_deinit(struct ath11k_base *ath11k); 890 struct ath11k_base *ath11k_core_alloc(struct device *dev, size_t priv_size, 893 void ath11k_core_free(struct ath11k_base *ath11k); 894 int ath11k_core_fetch_bdf(struct ath11k_base *ath11k, [all …]
|
| D | hal_tx.h | 64 void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd, 66 void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id); 67 int ath11k_hal_reo_cmd_send(struct ath11k_base *ab, struct hal_srng *srng, 70 void ath11k_hal_tx_init_data_ring(struct ath11k_base *ab,
|
| D | pci.h | 75 struct ath11k_base *ab; 92 static inline struct ath11k_pci *ath11k_pci_priv(struct ath11k_base *ab) in ath11k_pci_priv() 101 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value); 102 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset);
|
| D | peer.c | 10 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() 148 static int ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, in ath11k_wait_for_peer_common() 173 struct ath11k_base *ab = ar->ab; in ath11k_peer_cleanup()
|