Home
last modified time | relevance | path

Searched refs:ath12k_base (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.14.4/drivers/net/wireless/ath/ath12k/
Dhif.h13 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 …]
Ddp_rx.h33 struct ath12k_base *ab;
103 void ath12k_dp_htt_htc_t2h_msg_handler(struct ath12k_base *ab,
105 int ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab);
106 void ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab);
107 int ath12k_dp_rx_htt_setup(struct ath12k_base *ab);
108 int ath12k_dp_rx_alloc(struct ath12k_base *ab);
109 void ath12k_dp_rx_free(struct ath12k_base *ab);
110 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx);
111 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx);
112 void ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base *ab);
[all …]
Dpci.h94 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 …]
Dce.h52 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 …]
Dcore.c31 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config()
58 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume()
75 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend()
118 int ath12k_core_suspend_late(struct ath12k_base *ab) in ath12k_core_suspend_late()
137 int ath12k_core_resume_early(struct ath12k_base *ab) in ath12k_core_resume_early()
154 int ath12k_core_resume(struct ath12k_base *ab) in ath12k_core_resume()
174 static int __ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in __ath12k_core_create_board_name()
216 static int ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_board_name()
222 static int ath12k_core_create_fallback_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_fallback_board_name()
228 static int ath12k_core_create_bus_type_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_bus_type_board_name()
[all …]
Dpci.c139 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up()
146 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release()
165 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window()
199 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start()
221 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset()
247 static void ath12k_pci_clear_dbg_registers(struct ath12k_base *ab) in ath12k_pci_clear_dbg_registers()
277 static void ath12k_pci_enable_ltssm(struct ath12k_base *ab) in ath12k_pci_enable_ltssm()
305 static void ath12k_pci_clear_all_intrs(struct ath12k_base *ab) in ath12k_pci_clear_all_intrs()
315 static void ath12k_pci_set_wlaon_pwr_ctrl(struct ath12k_base *ab) in ath12k_pci_set_wlaon_pwr_ctrl()
324 static void ath12k_pci_force_wake(struct ath12k_base *ab) in ath12k_pci_force_wake()
[all …]
Dcore.h164 struct ath12k_base *ab;
585 struct ath12k_base *ab;
847 struct ath12k_base *ab[ATH12K_MAX_SOCS];
874 struct ath12k_base { struct
1061 struct ath12k_base *ab; argument
1065 int ath12k_core_qmi_firmware_ready(struct ath12k_base *ab);
1066 int ath12k_core_pre_init(struct ath12k_base *ab);
1067 int ath12k_core_init(struct ath12k_base *ath12k);
1068 void ath12k_core_deinit(struct ath12k_base *ath12k);
1069 struct ath12k_base *ath12k_core_alloc(struct device *dev, size_t priv_size,
[all …]
Ddebug.h32 __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, ...);
42 __printf(3, 4) void __ath12k_dbg(struct ath12k_base *ab,
45 void ath12k_dbg_dump(struct ath12k_base *ab,
50 static inline void __ath12k_dbg(struct ath12k_base *ab, in __ath12k_dbg()
56 static inline void ath12k_dbg_dump(struct ath12k_base *ab, in ath12k_dbg_dump()
Dpeer.h73 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id);
74 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id,
76 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id,
78 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab,
80 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, int peer_id);
88 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id);
89 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, int ast_hash);
Ddebugfs.h11 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()
Dhal.h13 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 …]
Dhtc.h16 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,
Dce.c225 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 …]
Ddp.c22 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()
57 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup()
112 void ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) in ath12k_dp_srng_cleanup()
137 static int ath12k_dp_srng_calculate_msi_group(struct ath12k_base *ab, in ath12k_dp_srng_calculate_msi_group()
198 static void ath12k_dp_srng_msi_setup(struct ath12k_base *ab, in ath12k_dp_srng_msi_setup()
238 int ath12k_dp_srng_setup(struct ath12k_base *ab, struct dp_srng *ring, in ath12k_dp_srng_setup()
335 u32 ath12k_dp_tx_get_vdev_bank_config(struct ath12k_base *ab, in ath12k_dp_tx_get_vdev_bank_config()
375 static int ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, in ath12k_dp_tx_get_bank_profile()
433 static void ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) in ath12k_dp_deinit_bank_profiles()
[all …]
Dacpi.h60 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()
Ddp_tx.h18 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,
Ddp_rx.c24 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 …]
Dmhi.c151 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 …]
Ddebug.c11 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()
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()
Dcoredump.c43 struct ath12k_base *ab = container_of(work, struct ath12k_base, dump_work); in ath12k_coredump_upload()
51 void ath12k_coredump_collect(struct ath12k_base *ab) in ath12k_coredump_collect()
Dpeer.c27 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find()
46 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx()
65 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr()
82 static struct ath12k_peer *ath12k_peer_find_by_ml_id(struct ath12k_base *ab, in ath12k_peer_find_by_ml_id()
96 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, in ath12k_peer_find_by_id()
113 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) in ath12k_peer_exist_by_vdev_id()
129 struct ath12k_peer *ath12k_peer_find_by_ast(struct ath12k_base *ab, in ath12k_peer_find_by_ast()
143 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id) in ath12k_peer_unmap_event()
167 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event()
195 static int ath12k_wait_for_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_peer_common()
[all …]
Dacpi.c11 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()
Dmac.h15 struct ath12k_base;
84 struct ath12k_link_vif *ath12k_mac_get_arvif_by_vdev_id(struct ath12k_base *ab,
86 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id);
87 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
Dhal.c245 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 …]
Ddp.h15 struct ath12k_base;
281 struct ath12k_base *ab;
318 struct ath12k_base *ab;
1819 int ath12k_dp_service_srng(struct ath12k_base *ab,
1824 void ath12k_dp_free(struct ath12k_base *ab);
1825 int ath12k_dp_alloc(struct ath12k_base *ab);
1826 void ath12k_dp_cc_config(struct ath12k_base *ab);
1827 void ath12k_dp_partner_cc_init(struct ath12k_base *ab);
1828 int ath12k_dp_pdev_alloc(struct ath12k_base *ab);
1830 void ath12k_dp_pdev_free(struct ath12k_base *ab);
[all …]

123