| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | hif.h | 13 u32 (*read32)(struct ath12k_base *ab, u32 address); 14 void (*write32)(struct ath12k_base *ab, u32 address, u32 data); 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); 20 void (*power_down)(struct ath12k_base *ab, bool is_suspend); 21 int (*suspend)(struct ath12k_base *ab); 22 int (*resume)(struct ath12k_base *ab); [all …]
|
| H A D | pci.h | 99 int (*wakeup)(struct ath12k_base *ab); 100 void (*release)(struct ath12k_base *ab); 105 int (*arch_init)(struct ath12k_base *ab); 106 void (*arch_deinit)(struct ath12k_base *ab); 116 struct ath12k_base *ab; 150 static inline struct ath12k_pci *ath12k_pci_priv(struct ath12k_base *ab) in ath12k_pci_priv() 155 int ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name, 159 void ath12k_pci_write32(struct ath12k_base *ab, u32 offset, u32 value); 160 u32 ath12k_pci_read32(struct ath12k_base *ab, u32 offset); 161 int ath12k_pci_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, [all …]
|
| H A D | ce.h | 52 struct ath12k_base; 106 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb); 154 struct ath12k_base *ab; 161 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb); 177 void ath12k_ce_cleanup_pipes(struct ath12k_base *ab); 179 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id); 180 int ath12k_ce_send(struct ath12k_base *ab, struct sk_buff *skb, u8 pipe_id, 182 void ath12k_ce_rx_post_buf(struct ath12k_base *ab); 183 int ath12k_ce_init_pipes(struct ath12k_base *ab); 184 int ath12k_ce_alloc_pipes(struct ath12k_base *ab); [all …]
|
| H A D | acpi.h | 75 int ath12k_acpi_start(struct ath12k_base *ab); 76 void ath12k_acpi_stop(struct ath12k_base *ab); 77 bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab); 78 bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab); 79 void ath12k_acpi_set_dsm_func(struct ath12k_base *ab); 80 int ath12k_acpi_check_bdf_variant_name(struct ath12k_base *ab); 84 static inline int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start() 89 static inline void ath12k_acpi_stop(struct ath12k_base *ab) in ath12k_acpi_stop() 93 static inline bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab) in ath12k_acpi_get_disable_rfkill() 98 static inline bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab) in ath12k_acpi_get_disable_11be() [all …]
|
| H A D | hal.h | 12 struct ath12k_base; 1380 void (*ce_dst_setup)(struct ath12k_base *ab, 1382 void (*set_umac_srng_ptr_addr)(struct ath12k_base *ab, 1384 void (*srng_src_hw_init)(struct ath12k_base *ab, struct hal_srng *srng); 1385 void (*srng_dst_hw_init)(struct ath12k_base *ab, struct hal_srng *srng); 1386 int (*srng_update_shadow_config)(struct ath12k_base *ab, 1401 void (*tx_set_dscp_tid_map)(struct ath12k_base *ab, int id); 1402 void (*tx_configure_bank_register)(struct ath12k_base *ab, 1404 void (*reoq_lut_addr_read_enable)(struct ath12k_base *ab); 1405 void (*reoq_lut_set_max_peerid)(struct ath12k_base *ab); [all …]
|
| H A D | core.c | 72 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config() 102 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume() 119 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() 162 int ath12k_core_suspend_late(struct ath12k_base *ab) in ath12k_core_suspend_late() 181 int ath12k_core_resume_early(struct ath12k_base *ab) in ath12k_core_resume_early() 198 int ath12k_core_resume(struct ath12k_base *ab) in ath12k_core_resume() 218 static int __ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in __ath12k_core_create_board_name() 262 static int ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_board_name() 268 static int ath12k_core_create_fallback_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_fallback_board_name() 274 static int ath12k_core_create_bus_type_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_bus_type_board_name() [all …]
|
| H A D | hal.c | 10 static void ath12k_hal_ce_dst_setup(struct ath12k_base *ab, in ath12k_hal_ce_dst_setup() 16 static void ath12k_hal_srng_src_hw_init(struct ath12k_base *ab, in ath12k_hal_srng_src_hw_init() 22 static void ath12k_hal_srng_dst_hw_init(struct ath12k_base *ab, in ath12k_hal_srng_dst_hw_init() 28 static void ath12k_hal_set_umac_srng_ptr_addr(struct ath12k_base *ab, in ath12k_hal_set_umac_srng_ptr_addr() 41 int ath12k_hal_srng_update_shadow_config(struct ath12k_base *ab, in ath12k_hal_srng_update_shadow_config() 54 void ath12k_hal_tx_set_dscp_tid_map(struct ath12k_base *ab, int id) in ath12k_hal_tx_set_dscp_tid_map() 59 void ath12k_hal_tx_configure_bank_register(struct ath12k_base *ab, in ath12k_hal_tx_configure_bank_register() 65 void ath12k_hal_reoq_lut_addr_read_enable(struct ath12k_base *ab) in ath12k_hal_reoq_lut_addr_read_enable() 70 void ath12k_hal_reoq_lut_set_max_peerid(struct ath12k_base *ab) in ath12k_hal_reoq_lut_set_max_peerid() 75 void ath12k_hal_write_ml_reoq_lut_addr(struct ath12k_base *ab, dma_addr_t paddr) in ath12k_hal_write_ml_reoq_lut_addr() [all …]
|
| H A D | pci.c | 110 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() 146 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() 169 static void ath12k_pci_restore_window(struct ath12k_base *ab) in ath12k_pci_restore_window() 182 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset() 213 static void ath12k_pci_clear_dbg_registers(struct ath12k_base *ab) in ath12k_pci_clear_dbg_registers() 243 static void ath12k_pci_enable_ltssm(struct ath12k_base *ab) in ath12k_pci_enable_ltssm() 271 static void ath12k_pci_clear_all_intrs(struct ath12k_base *ab) in ath12k_pci_clear_all_intrs() 281 static void ath12k_pci_set_wlaon_pwr_ctrl(struct ath12k_base *ab) in ath12k_pci_set_wlaon_pwr_ctrl() 290 static void ath12k_pci_force_wake(struct ath12k_base *ab) in ath12k_pci_force_wake() 296 static void ath12k_pci_sw_reset(struct ath12k_base *ab, bool power_on) in ath12k_pci_sw_reset() [all …]
|
| H A D | dp_rx.h | 127 static inline u8 ath12k_dp_rx_h_l3pad(struct ath12k_base *ab, in ath12k_dp_rx_h_l3pad() 147 static inline u32 ath12k_dp_rxdesc_get_ppduid(struct ath12k_base *ab, in ath12k_dp_rxdesc_get_ppduid() 228 int ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab); 229 void ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab); 230 int ath12k_dp_rx_htt_setup(struct ath12k_base *ab); 231 int ath12k_dp_rx_alloc(struct ath12k_base *ab); 232 void ath12k_dp_rx_free(struct ath12k_base *ab); 233 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx); 234 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx); 235 void ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base *ab); [all …]
|
| H A D | ahb.c | 124 static u32 ath12k_ahb_read32(struct ath12k_base *ab, u32 offset) in ath12k_ahb_read32() 131 static void ath12k_ahb_write32(struct ath12k_base *ab, u32 offset, in ath12k_ahb_write32() 140 static void ath12k_ahb_cancel_workqueue(struct ath12k_base *ab) in ath12k_ahb_cancel_workqueue() 162 static void __ath12k_ahb_ext_irq_disable(struct ath12k_base *ab) in __ath12k_ahb_ext_irq_disable() 186 static void ath12k_ahb_setbit32(struct ath12k_base *ab, u8 bit, u32 offset) in ath12k_ahb_setbit32() 194 static void ath12k_ahb_clearbit32(struct ath12k_base *ab, u8 bit, u32 offset) in ath12k_ahb_clearbit32() 202 static void ath12k_ahb_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_enable() 223 static void ath12k_ahb_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) in ath12k_ahb_ce_irq_disable() 244 static void ath12k_ahb_sync_ce_irqs(struct ath12k_base *ab) in ath12k_ahb_sync_ce_irqs() 258 static void ath12k_ahb_sync_ext_irqs(struct ath12k_base *ab) in ath12k_ahb_sync_ext_irqs() [all …]
|
| H A D | core.h | 174 struct ath12k_base *ab; 612 struct ath12k_base *ab; 883 struct ath12k_base *ab[ATH12K_MAX_DEVICES]; 931 struct ath12k_base { struct 1148 struct ath12k_base *ab; argument 1239 int ath12k_core_qmi_firmware_ready(struct ath12k_base *ab); 1241 int ath12k_core_pre_init(struct ath12k_base *ab); 1242 int ath12k_core_init(struct ath12k_base *ath12k); 1243 void ath12k_core_deinit(struct ath12k_base *ath12k); 1244 struct ath12k_base *ath12k_core_alloc(struct device *dev, size_t priv_size, [all …]
|
| H A D | debug.h | 33 __printf(2, 3) void ath12k_info(struct ath12k_base *ab, const char *fmt, ...); 34 __printf(2, 3) void ath12k_err(struct ath12k_base *ab, const char *fmt, ...); 44 __printf(3, 4) void __ath12k_dbg(struct ath12k_base *ab, 47 void ath12k_dbg_dump(struct ath12k_base *ab, 52 static inline void __ath12k_dbg(struct ath12k_base *ab, in __ath12k_dbg() 58 static inline void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
|
| H A D | ce.c | 14 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() 62 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() 112 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_recv_next() 157 struct ath12k_base *ab = pipe->ab; in ath12k_ce_recv_process_cb() 197 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_send_next() 238 struct ath12k_base *ab = pipe->ab; in ath12k_ce_send_done_cb() 251 static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id, in ath12k_ce_srng_msi_ring_params_setup() 277 static int ath12k_ce_init_ring(struct ath12k_base *ab, in ath12k_ce_init_ring() 330 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() 366 static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) in ath12k_ce_alloc_pipe() [all …]
|
| H A D | peer.h | 22 int ath12k_link_sta_rhash_tbl_init(struct ath12k_base *ab); 23 void ath12k_link_sta_rhash_tbl_destroy(struct ath12k_base *ab); 24 void ath12k_link_sta_rhash_delete(struct ath12k_base *ab, struct ath12k_link_sta *arsta); 25 int ath12k_link_sta_rhash_add(struct ath12k_base *ab, struct ath12k_link_sta *arsta); 26 struct ath12k_link_sta *ath12k_link_sta_find_by_addr(struct ath12k_base *ab,
|
| H A D | debugfs.h | 11 void ath12k_debugfs_soc_create(struct ath12k_base *ab); 12 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab); 17 void ath12k_debugfs_pdev_create(struct ath12k_base *ab); 111 static inline void ath12k_debugfs_soc_create(struct ath12k_base *ab) in ath12k_debugfs_soc_create() 115 static inline void ath12k_debugfs_soc_destroy(struct ath12k_base *ab) in ath12k_debugfs_soc_destroy() 142 static inline void ath12k_debugfs_pdev_create(struct ath12k_base *ab) in ath12k_debugfs_pdev_create()
|
| H A D | dp.h | 17 struct ath12k_base; 330 struct ath12k_base *ab; 393 u32 (*tx_get_vdev_bank_config)(struct ath12k_base *ab, 395 int (*reo_cmd_send)(struct ath12k_base *ab, 404 void (*rx_peer_tid_delete)(struct ath12k_base *ab, 406 int (*reo_cache_flush)(struct ath12k_base *ab, 418 int (*rx_assign_reoq)(struct ath12k_base *ab, struct ath12k_dp_peer *dp_peer, 421 void (*peer_rx_tid_qref_setup)(struct ath12k_base *ab, u16 peer_id, u16 tid, 423 void (*peer_rx_tid_qref_reset)(struct ath12k_base *ab, u16 peer_id, u16 tid); 424 int (*rx_tid_delete_handler)(struct ath12k_base *ab, [all …]
|
| H A D | ahb.h | 45 struct ath12k_base; 49 int (*arch_init)(struct ath12k_base *ab); 50 void (*arch_deinit)(struct ath12k_base *ab); 54 struct ath12k_base *ab; 80 static inline struct ath12k_ahb *ath12k_ab_to_ahb(struct ath12k_base *ab) in ath12k_ab_to_ahb()
|
| H 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,
|
| H A D | mhi.c | 21 void ath12k_mhi_set_mhictrl_reset(struct ath12k_base *ab) in ath12k_mhi_set_mhictrl_reset() 38 static void ath12k_mhi_reset_txvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_txvecdb() 43 static void ath12k_mhi_reset_txvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_txvecstatus() 48 static void ath12k_mhi_reset_rxvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecdb() 53 static void ath12k_mhi_reset_rxvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecstatus() 58 void ath12k_mhi_clear_vector(struct ath12k_base *ab) in ath12k_mhi_clear_vector() 68 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi() 141 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath12k_mhi_op_status_cb() 189 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register() 320 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_set_state_bit() [all …]
|
| H A D | testmode.h | 12 void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id, 14 void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id, 22 static inline void ath12k_tm_wmi_event_unsegmented(struct ath12k_base *ab, u32 cmd_id, in ath12k_tm_wmi_event_unsegmented() 27 static inline void ath12k_tm_process_event(struct ath12k_base *ab, u32 cmd_id, in ath12k_tm_process_event()
|
| H A D | dp.c | 23 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() 51 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() 107 void ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) in ath12k_dp_srng_cleanup() 132 static int ath12k_dp_srng_calculate_msi_group(struct ath12k_base *ab, in ath12k_dp_srng_calculate_msi_group() 195 static void ath12k_dp_srng_msi_setup(struct ath12k_base *ab, in ath12k_dp_srng_msi_setup() 235 int ath12k_dp_srng_setup(struct ath12k_base *ab, struct dp_srng *ring, in ath12k_dp_srng_setup() 336 static int ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, in ath12k_dp_tx_get_bank_profile() 395 static void ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) in ath12k_dp_deinit_bank_profiles() 403 static int ath12k_dp_init_bank_profiles(struct ath12k_base *ab) in ath12k_dp_init_bank_profiles() 425 static void ath12k_dp_srng_common_cleanup(struct ath12k_base *ab) in ath12k_dp_srng_common_cleanup() [all …]
|
| H A D | acpi.c | 11 static int ath12k_acpi_dsm_get_data(struct ath12k_base *ab, int func) in ath12k_acpi_dsm_get_data() 161 static int ath12k_acpi_set_power_limit(struct ath12k_base *ab) in ath12k_acpi_set_power_limit() 183 static int ath12k_acpi_set_bios_sar_power(struct ath12k_base *ab) in ath12k_acpi_set_bios_sar_power() 205 struct ath12k_base *ab = data; in ath12k_acpi_dsm_notify() 245 static int ath12k_acpi_set_bios_sar_params(struct ath12k_base *ab) in ath12k_acpi_set_bios_sar_params() 264 static int ath12k_acpi_set_tas_params(struct ath12k_base *ab) in ath12k_acpi_set_tas_params() 289 bool ath12k_acpi_get_disable_rfkill(struct ath12k_base *ab) in ath12k_acpi_get_disable_rfkill() 294 bool ath12k_acpi_get_disable_11be(struct ath12k_base *ab) in ath12k_acpi_get_disable_11be() 299 void ath12k_acpi_set_dsm_func(struct ath12k_base *ab) in ath12k_acpi_set_dsm_func() 351 int ath12k_acpi_start(struct ath12k_base *ab) in ath12k_acpi_start() [all …]
|
| H A D | reg.h | 13 struct ath12k_base; 104 void ath12k_reg_free(struct ath12k_base *ab); 106 struct ieee80211_regdomain *ath12k_reg_build_regd(struct ath12k_base *ab, 114 int ath12k_reg_handle_chan_list(struct ath12k_base *ab, 121 enum ath12k_reg_status ath12k_reg_validate_reg_info(struct ath12k_base *ab,
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | dp_rx.h | 23 int ath12k_dp_rxdma_ring_sel_config_qcn9274(struct ath12k_base *ab); 24 int ath12k_dp_rxdma_ring_sel_config_wcn7850(struct ath12k_base *ab); 25 int ath12k_dp_rxdma_ring_sel_config_qcc2072(struct ath12k_base *ab); 29 int ath12k_wifi7_dp_rx_assign_reoq(struct ath12k_base *ab, struct ath12k_dp_peer *dp_peer, 37 void ath12k_wifi7_peer_rx_tid_qref_setup(struct ath12k_base *ab, u16 peer_id, u16 tid, 39 void ath12k_wifi7_dp_rx_peer_tid_delete(struct ath12k_base *ab, 41 int ath12k_wifi7_dp_reo_cmd_send(struct ath12k_base *ab, 47 int ath12k_wifi7_dp_reo_cache_flush(struct ath12k_base *ab, 54 void ath12k_wifi7_peer_rx_tid_qref_reset(struct ath12k_base *ab, u16 peer_id, u16 tid); 56 ath12k_wifi7_dp_rxdesc_mpdu_valid(struct ath12k_base *ab, [all …]
|
| H A D | hal.h | 519 int ath12k_wifi7_hal_init(struct ath12k_base *ab); 520 void ath12k_wifi7_hal_ce_dst_setup(struct ath12k_base *ab, 522 void ath12k_wifi7_hal_srng_dst_hw_init(struct ath12k_base *ab, 524 void ath12k_wifi7_hal_srng_src_hw_init(struct ath12k_base *ab, 526 void ath12k_wifi7_hal_set_umac_srng_ptr_addr(struct ath12k_base *ab, 528 int ath12k_wifi7_hal_srng_update_shadow_config(struct ath12k_base *ab, 535 void ath12k_wifi7_hal_cc_config(struct ath12k_base *ab); 550 ath12k_wifi7_hal_setup_link_idle_list(struct ath12k_base *ab, 554 void ath12k_wifi7_hal_reoq_lut_addr_read_enable(struct ath12k_base *ab); 555 void ath12k_wifi7_hal_reoq_lut_set_max_peerid(struct ath12k_base *ab); [all …]
|