/linux/drivers/net/wireless/ath/ath11k/ |
H A D | hif.h | 13 u32 (*read32)(struct ath11k_base *ab, u32 address); 14 void (*write32)(struct ath11k_base *ab, u32 address, u32 data); 15 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end); 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); [all …]
|
H A D | pcic.h | 29 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 D | dp_rx.h | 60 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); 68 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget); 69 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab, 71 int ath11k_dp_process_rx_err(struct ath11k_base *ab, struct napi_struct *napi, [all …]
|
H A D | ce.h | 64 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 *); 176 void (*recv_cb)(struct ath11k_base *, struct sk_buff *); 196 void ath11k_ce_cleanup_pipes(struct ath11k_base *ab); 198 void ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id); 199 int ath11k_ce_send(struct ath11k_base *ab, struct sk_buff *skb, u8 pipe_id, 201 void ath11k_ce_rx_post_buf(struct ath11k_base *ab); [all …]
|
H A D | peer.h | 41 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 D | ahb.c | 145 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750() 151 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750() 167 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750() 178 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750() 199 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32() 204 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32() 209 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets() 231 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable() 256 static void ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_setbit32() 264 static void ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_clearbit32() [all …]
|
H A D | mac.h | 15 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 D | debug.h | 76 __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 D | peer.c | 11 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 D | htc.h | 16 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 D | dp_tx.h | 21 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 D | ce.c | 259 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 D | dp.c | 16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() 24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() 46 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() 102 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() 351 void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers() 364 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup() 384 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup() [all …]
|
H A D | thermal.h | 30 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 D | debugfs.h | 267 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 D | wow.h | 35 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 D | reg.h | 13 struct ath11k_base; 34 void ath11k_reg_free(struct ath11k_base *ab); 37 ath11k_reg_build_regd(struct ath11k_base *ab, 45 int ath11k_reg_handle_chan_list(struct ath11k_base *ab,
|
H A D | hal_rx.h | 468 void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, 470 void ath11k_hal_reo_flush_queue_status(struct ath11k_base *ab, u32 *reo_desc, 472 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 474 void ath11k_hal_reo_flush_cache_status(struct ath11k_base *ab, u32 *reo_desc, 476 void ath11k_hal_reo_unblk_cache_status(struct ath11k_base *ab, u32 *reo_desc, 478 void ath11k_hal_reo_flush_timeout_list_status(struct ath11k_base *ab, 481 void ath11k_hal_reo_desc_thresh_reached_status(struct ath11k_base *ab, 484 void ath11k_hal_reo_update_rx_reo_queue_status(struct ath11k_base *ab, 491 void ath11k_hal_rx_msdu_link_desc_set(struct ath11k_base *ab, void *desc, 498 int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, [all …]
|
H A D | spectral.h | 44 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 D | debug.c | 11 void ath11k_info(struct ath11k_base *ab, const char *fmt, ...) in ath11k_info() 26 void ath11k_err(struct ath11k_base *ab, const char *fmt, ...) in ath11k_err() 41 void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...) in ath11k_warn() 58 void __ath11k_dbg(struct ath11k_base *ab, enum ath11k_debug_mask mask, in __ath11k_dbg() 78 void ath11k_dbg_dump(struct ath11k_base *ab, in ath11k_dbg_dump()
|
H A D | hal_tx.h | 66 void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd, 68 void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id); 69 int ath11k_hal_reo_cmd_send(struct ath11k_base *ab, struct hal_srng *srng, 72 void ath11k_hal_tx_init_data_ring(struct ath11k_base *ab,
|
H A D | htc.c | 12 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size) in ath11k_htc_alloc_skb() 29 static void ath11k_htc_control_tx_complete(struct ath11k_base *ab, in ath11k_htc_control_tx_complete() 81 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() 156 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_credit_report() 190 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_trailer() 243 static void ath11k_htc_suspend_complete(struct ath11k_base *ab, bool ack) in ath11k_htc_suspend_complete() 255 void ath11k_htc_tx_completion_handler(struct ath11k_base *ab, in ath11k_htc_tx_completion_handler() 260 void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *); in ath11k_htc_tx_completion_handler() 280 static void ath11k_htc_wakeup_from_suspend(struct ath11k_base *ab) in ath11k_htc_wakeup_from_suspend() 285 void ath11k_htc_rx_completion_handler(struct ath11k_base *ab, in ath11k_htc_rx_completion_handler() [all …]
|
H A D | qmi.h | 44 struct ath11k_base; 128 struct ath11k_base *ab; 514 int ath11k_qmi_firmware_start(struct ath11k_base *ab, 516 void ath11k_qmi_firmware_stop(struct ath11k_base *ab); 517 void ath11k_qmi_deinit_service(struct ath11k_base *ab); 518 int ath11k_qmi_init_service(struct ath11k_base *ab); 519 void ath11k_qmi_free_resource(struct ath11k_base *ab); 520 int ath11k_qmi_fwreset_from_cold_boot(struct ath11k_base *ab);
|
H A D | pci.h | 62 struct ath11k_base *ab; 79 static inline struct ath11k_pci *ath11k_pci_priv(struct ath11k_base *ab) in ath11k_pci_priv() 84 int ath11k_pci_get_msi_irq(struct ath11k_base *ab, unsigned int vector);
|
H A D | fw.h | 24 int ath11k_fw_pre_init(struct ath11k_base *ab); 25 void ath11k_fw_destroy(struct ath11k_base *ab);
|