/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
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 …]
|
D | dp_rx.h | 33 struct ath12k_base *ab; 101 void ath12k_dp_htt_htc_t2h_msg_handler(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); 108 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx); 109 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx); 110 void ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base *ab); [all …]
|
D | pci.h | 94 int (*wakeup)(struct ath12k_base *ab); 95 void (*release)(struct ath12k_base *ab); 100 struct ath12k_base *ab; 121 static inline struct ath12k_pci *ath12k_pci_priv(struct ath12k_base *ab) in ath12k_pci_priv() 126 int ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name, 130 void ath12k_pci_write32(struct ath12k_base *ab, u32 offset, u32 value); 131 u32 ath12k_pci_read32(struct ath12k_base *ab, u32 offset); 132 int ath12k_pci_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, 134 void ath12k_pci_get_msi_address(struct ath12k_base *ab, u32 *msi_addr_lo, 136 void ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, [all …]
|
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); 170 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id); 171 int ath12k_ce_send(struct ath12k_base *ab, struct sk_buff *skb, u8 pipe_id, 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); [all …]
|
D | core.c | 25 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config() 52 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume() 69 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() 106 int ath12k_core_suspend_late(struct ath12k_base *ab) in ath12k_core_suspend_late() 125 int ath12k_core_resume_early(struct ath12k_base *ab) in ath12k_core_resume_early() 142 int ath12k_core_resume(struct ath12k_base *ab) in ath12k_core_resume() 162 static int __ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in __ath12k_core_create_board_name() 204 static int ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_board_name() 210 static int ath12k_core_create_fallback_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_fallback_board_name() 216 static int ath12k_core_create_bus_type_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_bus_type_board_name() [all …]
|
D | pci.c | 137 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up() 144 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release() 163 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() 197 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() 219 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset() 245 static void ath12k_pci_clear_dbg_registers(struct ath12k_base *ab) in ath12k_pci_clear_dbg_registers() 275 static void ath12k_pci_enable_ltssm(struct ath12k_base *ab) in ath12k_pci_enable_ltssm() 303 static void ath12k_pci_clear_all_intrs(struct ath12k_base *ab) in ath12k_pci_clear_all_intrs() 313 static void ath12k_pci_set_wlaon_pwr_ctrl(struct ath12k_base *ab) in ath12k_pci_set_wlaon_pwr_ctrl() 322 static void ath12k_pci_force_wake(struct ath12k_base *ab) in ath12k_pci_force_wake() [all …]
|
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()
|
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);
|
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);
|
D | core.h | 146 struct ath12k_base *ab; 525 struct ath12k_base *ab; 773 struct ath12k_base { struct 966 struct ath12k_base *ab; argument 970 int ath12k_core_qmi_firmware_ready(struct ath12k_base *ab); 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); 974 struct ath12k_base *ath12k_core_alloc(struct device *dev, size_t priv_size, 976 void ath12k_core_free(struct ath12k_base *ath12k); [all …]
|
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()
|
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, 1105 void ath12k_hal_reo_hw_setup(struct ath12k_base *ab, u32 ring_hash_map); 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, 1113 dma_addr_t ath12k_hal_srng_get_hp_addr(struct ath12k_base *ab, 1123 int ath12k_hal_srng_get_entrysize(struct ath12k_base *ab, u32 ring_type); 1124 int ath12k_hal_srng_get_max_entries(struct ath12k_base *ab, u32 ring_type); 1125 void ath12k_hal_srng_get_params(struct ath12k_base *ab, struct hal_srng *srng, [all …]
|
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,
|
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() 465 static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id, in ath12k_ce_srng_msi_ring_params_setup() 491 static int ath12k_ce_init_ring(struct ath12k_base *ab, in ath12k_ce_init_ring() 544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() 580 static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) in ath12k_ce_alloc_pipe() [all …]
|
D | dp.c | 22 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete() 30 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() 52 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() 193 static void ath12k_dp_srng_msi_setup(struct ath12k_base *ab, in ath12k_dp_srng_msi_setup() 233 int ath12k_dp_srng_setup(struct ath12k_base *ab, struct dp_srng *ring, in ath12k_dp_srng_setup() 330 u32 ath12k_dp_tx_get_vdev_bank_config(struct ath12k_base *ab, struct ath12k_vif *arvif) in ath12k_dp_tx_get_vdev_bank_config() 368 static int ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, struct ath12k_vif *arvif, in ath12k_dp_tx_get_bank_profile() 425 static void ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) in ath12k_dp_deinit_bank_profiles() [all …]
|
D | dp_rx.c | 24 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, in ath12k_dp_rx_h_enctype() 33 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, in ath12k_dp_rx_h_decap_type() 39 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, in ath12k_dp_rx_h_mesh_ctl_present() 45 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_ctrl_valid() 51 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_fc_valid() 57 static bool ath12k_dp_rx_h_more_frags(struct ath12k_base *ab, in ath12k_dp_rx_h_more_frags() 66 static u16 ath12k_dp_rx_h_frag_no(struct ath12k_base *ab, in ath12k_dp_rx_h_frag_no() 75 static u16 ath12k_dp_rx_h_seq_no(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_no() 81 static bool ath12k_dp_rx_h_msdu_done(struct ath12k_base *ab, in ath12k_dp_rx_h_msdu_done() 87 static bool ath12k_dp_rx_h_l4_cksum_fail(struct ath12k_base *ab, in ath12k_dp_rx_h_l4_cksum_fail() [all …]
|
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,
|
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()
|
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()
|
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()
|
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() 271 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath12k_mhi_op_status_cb() 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() [all …]
|
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()
|
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 …]
|
D | hal.c | 245 static unsigned int ath12k_hal_reo1_ring_id_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_id_offset() 250 static unsigned int ath12k_hal_reo1_ring_msi1_base_lsb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_base_lsb_offset() 255 static unsigned int ath12k_hal_reo1_ring_msi1_base_msb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_base_msb_offset() 260 static unsigned int ath12k_hal_reo1_ring_msi1_data_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_data_offset() 265 static unsigned int ath12k_hal_reo1_ring_base_msb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_base_msb_offset() 270 static unsigned int ath12k_hal_reo1_ring_producer_int_setup_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_producer_int_setup_offset() 275 static unsigned int ath12k_hal_reo1_ring_hp_addr_lsb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_hp_addr_lsb_offset() 280 static unsigned int ath12k_hal_reo1_ring_hp_addr_msb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_hp_addr_msb_offset() 285 static unsigned int ath12k_hal_reo1_ring_misc_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_misc_offset() 519 static int ath12k_hal_srng_create_config_qcn9274(struct ath12k_base *ab) in ath12k_hal_srng_create_config_qcn9274() [all …]
|
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 …]
|