| /linux/drivers/net/wireless/ath/ath12k/ |
| A D | hif.h | 13 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 …]
|
| A D | dp_rx.h | 33 struct ath12k_base *ab; 103 int ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab); 104 void ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab); 105 int ath12k_dp_rx_htt_setup(struct ath12k_base *ab); 106 int ath12k_dp_rx_alloc(struct ath12k_base *ab); 107 void ath12k_dp_rx_free(struct ath12k_base *ab); 112 int ath12k_dp_rx_process_wbm_err(struct ath12k_base *ab, 119 int ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab, 126 u8 ath12k_dp_rx_h_l3pad(struct ath12k_base *ab, 130 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, [all …]
|
| A D | pci.h | 94 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 …]
|
| A D | ce.h | 52 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 …]
|
| A D | core.c | 69 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() 142 int ath12k_core_resume(struct ath12k_base *ab) in ath12k_core_resume() 610 struct ath12k_base *ab = data; in ath12k_core_check_bdfext() 974 struct ath12k_base *ab = container_of(work, struct ath12k_base, rfkill_work); in ath12k_rfkill_work() 1005 struct ath12k_base *ab = ar->ab; in ath12k_core_halt() 1120 struct ath12k_base *ab = container_of(work, struct ath12k_base, restart_work); in ath12k_core_restart() 1142 struct ath12k_base *ab = container_of(work, struct ath12k_base, reset_work); in ath12k_core_reset() 1224 struct ath12k_base *ab = container_of(nb, struct ath12k_base, in ath12k_core_panic_handler() 1244 int ath12k_core_init(struct ath12k_base *ab) in ath12k_core_init() 1278 void ath12k_core_free(struct ath12k_base *ab) in ath12k_core_free() [all …]
|
| A D | pci.c | 163 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() 441 struct ath12k_base *ab = ce_pipe->ab; in ath12k_pci_ce_interrupt_handler() 523 struct ath12k_base *ab = irq_grp->ab; in ath12k_pci_ext_grp_napi_poll() 543 struct ath12k_base *ab = irq_grp->ab; in ath12k_pci_ext_interrupt_handler() 764 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_msi_alloc() 845 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_claim() 906 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_free_region() 918 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_aspm_disable() 1146 void ath12k_pci_stop(struct ath12k_base *ab) in ath12k_pci_stop() 1152 int ath12k_pci_start(struct ath12k_base *ab) in ath12k_pci_start() [all …]
|
| A D | debug.h | 32 __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, ...); 34 __printf(2, 3) void ath12k_warn(struct ath12k_base *ab, const char *fmt, ...); 39 __printf(3, 4) void __ath12k_dbg(struct ath12k_base *ab, 42 void ath12k_dbg_dump(struct ath12k_base *ab, 47 static inline void __ath12k_dbg(struct ath12k_base *ab, in __ath12k_dbg() 53 static inline void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
|
| A D | mac.h | 15 struct ath12k_base; 54 void ath12k_mac_destroy(struct ath12k_base *ab); 55 void ath12k_mac_unregister(struct ath12k_base *ab); 56 int ath12k_mac_register(struct ath12k_base *ab); 57 int ath12k_mac_allocate(struct ath12k_base *ab); 69 struct ath12k_vif *ath12k_mac_get_arvif_by_vdev_id(struct ath12k_base *ab, 71 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id); 72 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
|
| A D | peer.h | 52 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id); 53 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, 55 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, 57 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, 59 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, int peer_id); 67 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id); 68 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, int ast_hash);
|
| A D | core.h | 146 struct ath12k_base *ab; 525 struct ath12k_base *ab; 773 struct ath12k_base { struct 966 struct ath12k_base *ab; argument 971 int ath12k_core_pre_init(struct ath12k_base *ab); 972 int ath12k_core_init(struct ath12k_base *ath12k); 973 void ath12k_core_deinit(struct ath12k_base *ath12k); 976 void ath12k_core_free(struct ath12k_base *ath12k); 980 int ath12k_core_fetch_bdf(struct ath12k_base *ath12k, 988 int ath12k_core_resume(struct ath12k_base *ab); [all …]
|
| A D | debugfs.h | 11 void ath12k_debugfs_soc_create(struct ath12k_base *ab); 12 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab); 16 static inline void ath12k_debugfs_soc_create(struct ath12k_base *ab) in ath12k_debugfs_soc_create() 20 static inline void ath12k_debugfs_soc_destroy(struct ath12k_base *ab) in ath12k_debugfs_soc_destroy()
|
| A D | hal.h | 13 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 …]
|
| A D | htc.h | 16 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,
|
| A D | ce.c | 225 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 …]
|
| A D | dp.c | 30 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() 52 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() 674 ath12k_dp_link_desc_bank_free(struct ath12k_base *ab, in ath12k_dp_link_desc_bank_free() 868 int ath12k_dp_service_srng(struct ath12k_base *ab, in ath12k_dp_service_srng() 973 void ath12k_dp_pdev_free(struct ath12k_base *ab) in ath12k_dp_pdev_free() 1044 int ath12k_dp_pdev_alloc(struct ath12k_base *ab) in ath12k_dp_pdev_alloc() 1125 struct ath12k_base *ab = ar->ab; in ath12k_dp_vdev_tx_attach() 1264 void ath12k_dp_free(struct ath12k_base *ab) in ath12k_dp_free() 1286 void ath12k_dp_cc_config(struct ath12k_base *ab) in ath12k_dp_cc_config() 1591 ath12k_dp_get_idle_link_rbm(struct ath12k_base *ab) in ath12k_dp_get_idle_link_rbm() [all …]
|
| A D | acpi.h | 60 int ath12k_acpi_start(struct ath12k_base *ab); 61 void ath12k_acpi_stop(struct ath12k_base *ab); 65 static inline int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start() 70 static inline void ath12k_acpi_stop(struct ath12k_base *ab) in ath12k_acpi_stop()
|
| A D | dp_tx.h | 18 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,
|
| A D | debug.c | 11 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() 39 void ath12k_warn(struct ath12k_base *ab, const char *fmt, ...) in ath12k_warn() 55 void __ath12k_dbg(struct ath12k_base *ab, enum ath12k_debug_mask mask, in __ath12k_dbg() 74 void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
|
| A D | dp_rx.c | 486 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() 924 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_peer_tid_setup() 1043 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_ampdu_start() 1060 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_ampdu_stop() 1100 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_peer_pn_replay_config() 1313 struct ath12k_base *ab = ar->ab; in ath12k_update_per_peer_tx_stats() 1764 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_msdu_coalesce() 1865 struct ath12k_base *ab = ar->ab; in ath12k_dp_rx_h_csum_offload() [all …]
|
| A D | peer.c | 11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() 30 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx() 49 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr() 66 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, in ath12k_peer_find_by_id() 80 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) in ath12k_peer_exist_by_vdev_id() 96 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, in ath12k_peer_find_by_ast() 110 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id) in ath12k_peer_unmap_event() 134 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event() 162 static int ath12k_wait_for_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_peer_common() 187 struct ath12k_base *ab = ar->ab; in ath12k_peer_cleanup()
|
| A D | mhi.c | 151 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 …]
|
| A D | acpi.c | 11 static int ath12k_acpi_dsm_get_data(struct ath12k_base *ab, int func) in ath12k_acpi_dsm_get_data() 122 static int ath12k_acpi_set_power_limit(struct ath12k_base *ab) in ath12k_acpi_set_power_limit() 144 static int ath12k_acpi_set_bios_sar_power(struct ath12k_base *ab) in ath12k_acpi_set_bios_sar_power() 166 struct ath12k_base *ab = data; in ath12k_acpi_dsm_notify() 206 static int ath12k_acpi_set_bios_sar_params(struct ath12k_base *ab) in ath12k_acpi_set_bios_sar_params() 225 static int ath12k_acpi_set_tas_params(struct ath12k_base *ab) in ath12k_acpi_set_tas_params() 250 int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start() 386 void ath12k_acpi_stop(struct ath12k_base *ab) in ath12k_acpi_stop()
|
| A D | hal_rx.h | 663 void ath12k_hal_reo_status_queue_stats(struct ath12k_base *ab, 666 void ath12k_hal_reo_flush_queue_status(struct ath12k_base *ab, 669 void ath12k_hal_reo_flush_cache_status(struct ath12k_base *ab, 672 void ath12k_hal_reo_unblk_cache_status(struct ath12k_base *ab, 675 void ath12k_hal_reo_flush_timeout_list_status(struct ath12k_base *ab, 678 void ath12k_hal_reo_desc_thresh_reached_status(struct ath12k_base *ab, 681 void ath12k_hal_reo_update_rx_reo_queue_status(struct ath12k_base *ab, 687 void ath12k_hal_rx_msdu_link_desc_set(struct ath12k_base *ab, 696 int ath12k_hal_desc_reo_parse_err(struct ath12k_base *ab, 699 int ath12k_hal_wbm_desc_parse_err(struct ath12k_base *ab, void *desc, [all …]
|
| A D | hal.c | 1576 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 …]
|
| A D | dp.h | 15 struct ath12k_base; 280 struct ath12k_base *ab; 318 struct ath12k_base *ab; 1798 int ath12k_dp_service_srng(struct ath12k_base *ab, 1803 void ath12k_dp_free(struct ath12k_base *ab); 1804 int ath12k_dp_alloc(struct ath12k_base *ab); 1805 void ath12k_dp_cc_config(struct ath12k_base *ab); 1806 int ath12k_dp_pdev_alloc(struct ath12k_base *ab); 1807 void ath12k_dp_pdev_pre_alloc(struct ath12k_base *ab); 1808 void ath12k_dp_pdev_free(struct ath12k_base *ab); [all …]
|