Home
last modified time | relevance | path

Searched defs:ab (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dcore.c29 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend()
71 int ath12k_core_resume(struct ath12k_base *ab) in ath12k_core_resume()
97 static int ath12k_core_create_board_name(struct ath12k_base *ab, char *name, in ath12k_core_create_board_name()
118 const struct firmware *ath12k_core_firmware_request(struct ath12k_base *ab, in ath12k_core_firmware_request()
140 void ath12k_core_free_bdf(struct ath12k_base *ab, struct ath12k_board_data *bd) in ath12k_core_free_bdf()
148 static int ath12k_core_parse_bd_ie_board(struct ath12k_base *ab, in ath12k_core_parse_bd_ie_board()
237 static int ath12k_core_fetch_board_data_api_n(struct ath12k_base *ab, in ath12k_core_fetch_board_data_api_n()
351 int ath12k_core_fetch_board_data_api_1(struct ath12k_base *ab, in ath12k_core_fetch_board_data_api_1()
366 int ath12k_core_fetch_bdf(struct ath12k_base *ab, struct ath12k_board_data *bd) in ath12k_core_fetch_bdf()
395 static void ath12k_core_stop(struct ath12k_base *ab) in ath12k_core_stop()
[all …]
H A Dpci.c125 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up()
132 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release()
151 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() local
194 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start()
217 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset()
243 static void ath12k_pci_clear_dbg_registers(struct ath12k_base *ab) in ath12k_pci_clear_dbg_registers()
273 static void ath12k_pci_enable_ltssm(struct ath12k_base *ab) in ath12k_pci_enable_ltssm()
301 static void ath12k_pci_clear_all_intrs(struct ath12k_base *ab) in ath12k_pci_clear_all_intrs()
311 static void ath12k_pci_set_wlaon_pwr_ctrl(struct ath12k_base *ab) in ath12k_pci_set_wlaon_pwr_ctrl()
320 static void ath12k_pci_force_wake(struct ath12k_base *ab) in ath12k_pci_force_wake()
[all …]
H A Dhif.h35 static inline int ath12k_hif_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, in ath12k_hif_map_service_to_pipe()
42 static inline int ath12k_hif_get_user_msi_vector(struct ath12k_base *ab, in ath12k_hif_get_user_msi_vector()
56 static inline void ath12k_hif_get_msi_address(struct ath12k_base *ab, in ath12k_hif_get_msi_address()
66 static inline void ath12k_hif_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, in ath12k_hif_get_ce_msi_idx()
75 static inline void ath12k_hif_ce_irq_enable(struct ath12k_base *ab) in ath12k_hif_ce_irq_enable()
81 static inline void ath12k_hif_ce_irq_disable(struct ath12k_base *ab) in ath12k_hif_ce_irq_disable()
87 static inline void ath12k_hif_irq_enable(struct ath12k_base *ab) in ath12k_hif_irq_enable()
92 static inline void ath12k_hif_irq_disable(struct ath12k_base *ab) in ath12k_hif_irq_disable()
97 static inline int ath12k_hif_suspend(struct ath12k_base *ab) in ath12k_hif_suspend()
105 static inline int ath12k_hif_resume(struct ath12k_base *ab) in ath12k_hif_resume()
[all …]
H A Dce.c225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() local
273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() local
322 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_recv_next() local
371 struct ath12k_base *ab = pipe->ab; in ath12k_ce_recv_process_cb() local
411 struct ath12k_base *ab = pipe->ab; in ath12k_ce_completed_send_next() local
452 struct ath12k_base *ab = pipe->ab; in ath12k_ce_send_done_cb() local
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 …]
H A Ddp.c17 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete()
25 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local
46 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local
101 void ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) in ath12k_dp_srng_cleanup()
126 static int ath12k_dp_srng_calculate_msi_group(struct ath12k_base *ab, in ath12k_dp_srng_calculate_msi_group()
177 static void ath12k_dp_srng_msi_setup(struct ath12k_base *ab, in ath12k_dp_srng_msi_setup()
217 int ath12k_dp_srng_setup(struct ath12k_base *ab, struct dp_srng *ring, in ath12k_dp_srng_setup()
314 u32 ath12k_dp_tx_get_vdev_bank_config(struct ath12k_base *ab, struct ath12k_vif *arvif) in ath12k_dp_tx_get_vdev_bank_config()
352 static int ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, struct ath12k_vif *arvif, in ath12k_dp_tx_get_bank_profile()
409 static void ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) in ath12k_dp_deinit_bank_profiles()
[all …]
H A 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 …]
H A Dqmi.c1928 static int ath12k_qmi_host_cap_send(struct ath12k_base *ab) in ath12k_qmi_host_cap_send()
2007 static int ath12k_qmi_fw_ind_register_send(struct ath12k_base *ab) in ath12k_qmi_fw_ind_register_send()
2076 static int ath12k_qmi_respond_fw_mem_request(struct ath12k_base *ab) in ath12k_qmi_respond_fw_mem_request()
2153 static void ath12k_qmi_free_target_mem_chunk(struct ath12k_base *ab) in ath12k_qmi_free_target_mem_chunk()
2168 static int ath12k_qmi_alloc_target_mem_chunk(struct ath12k_base *ab) in ath12k_qmi_alloc_target_mem_chunk()
2217 static int ath12k_qmi_request_target_cap(struct ath12k_base *ab) in ath12k_qmi_request_target_cap()
2318 static int ath12k_qmi_load_file_target_mem(struct ath12k_base *ab, in ath12k_qmi_load_file_target_mem()
2407 static int ath12k_qmi_load_bdf_qmi(struct ath12k_base *ab, in ath12k_qmi_load_bdf_qmi()
2506 static int ath12k_qmi_m3_load(struct ath12k_base *ab) in ath12k_qmi_m3_load()
2542 static void ath12k_qmi_m3_free(struct ath12k_base *ab) in ath12k_qmi_m3_free()
[all …]
H A Dmhi.c206 void ath12k_mhi_set_mhictrl_reset(struct ath12k_base *ab) in ath12k_mhi_set_mhictrl_reset()
223 static void ath12k_mhi_reset_txvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_txvecdb()
228 static void ath12k_mhi_reset_txvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_txvecstatus()
233 static void ath12k_mhi_reset_rxvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecdb()
238 static void ath12k_mhi_reset_rxvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecstatus()
243 void ath12k_mhi_clear_vector(struct ath12k_base *ab) in ath12k_mhi_clear_vector()
253 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_get_msi() local
319 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath12k_mhi_op_status_cb() local
355 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_register() local
440 struct ath12k_base *ab = ab_pci->ab; in ath12k_mhi_set_state_bit() local
[all …]
H A Ddp_rx.c23 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, in ath12k_dp_rx_h_enctype()
32 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, in ath12k_dp_rx_h_decap_type()
38 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, in ath12k_dp_rx_h_mesh_ctl_present()
44 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_ctrl_valid()
50 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_fc_valid()
56 static bool ath12k_dp_rx_h_more_frags(struct ath12k_base *ab, in ath12k_dp_rx_h_more_frags()
65 static u16 ath12k_dp_rx_h_frag_no(struct ath12k_base *ab, in ath12k_dp_rx_h_frag_no()
74 static u16 ath12k_dp_rx_h_seq_no(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_no()
80 static bool ath12k_dp_rx_h_msdu_done(struct ath12k_base *ab, in ath12k_dp_rx_h_msdu_done()
86 static bool ath12k_dp_rx_h_l4_cksum_fail(struct ath12k_base *ab, in ath12k_dp_rx_h_l4_cksum_fail()
[all …]
H A Dpeer.c11 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() local
H A Dhal_rx.c220 int ath12k_hal_reo_cmd_send(struct ath12k_base *ab, struct hal_srng *srng, in ath12k_hal_reo_cmd_send()
317 int ath12k_hal_desc_reo_parse_err(struct ath12k_base *ab, in ath12k_hal_desc_reo_parse_err()
350 int ath12k_hal_wbm_desc_parse_err(struct ath12k_base *ab, void *desc, in ath12k_hal_wbm_desc_parse_err()
438 void ath12k_hal_rx_reo_ent_paddr_get(struct ath12k_base *ab, in ath12k_hal_rx_reo_ent_paddr_get()
449 void ath12k_hal_rx_msdu_link_desc_set(struct ath12k_base *ab, in ath12k_hal_rx_msdu_link_desc_set()
462 void ath12k_hal_reo_status_queue_stats(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_status_queue_stats()
525 void ath12k_hal_reo_flush_queue_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_flush_queue_status()
542 void ath12k_hal_reo_flush_cache_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_flush_cache_status()
583 void ath12k_hal_reo_unblk_cache_status(struct ath12k_base *ab, struct hal_tlv_64_hdr *tlv, in ath12k_hal_reo_unblk_cache_status()
610 void ath12k_hal_reo_flush_timeout_list_status(struct ath12k_base *ab, in ath12k_hal_reo_flush_timeout_list_status()
[all …]
H A Ddp_tx.c16 struct ath12k_base *ab = arvif->ar->ab; in ath12k_dp_tx_get_encap_type() local
113 static void ath12k_hal_tx_cmd_ext_desc_setup(struct ath12k_base *ab, void *cmd, in ath12k_hal_tx_cmd_ext_desc_setup()
135 struct ath12k_base *ab = ar->ab; in ath12k_dp_tx() local
348 static void ath12k_dp_tx_free_txbuf(struct ath12k_base *ab, in ath12k_dp_tx_free_txbuf()
371 ath12k_dp_tx_htt_tx_complete_buf(struct ath12k_base *ab, in ath12k_dp_tx_htt_tx_complete_buf()
410 ath12k_dp_tx_process_htt_tx_complete(struct ath12k_base *ab, in ath12k_dp_tx_process_htt_tx_complete()
456 struct ath12k_base *ab = ar->ab; in ath12k_dp_tx_complete_msdu() local
513 static void ath12k_dp_tx_status_parse(struct ath12k_base *ab, in ath12k_dp_tx_status_parse()
537 void ath12k_dp_tx_completion_handler(struct ath12k_base *ab, int ring_id) in ath12k_dp_tx_completion_handler()
628 ath12k_dp_tx_get_ring_id_type(struct ath12k_base *ab, in ath12k_dp_tx_get_ring_id_type()
[all …]
H A Dhtc.c12 struct sk_buff *ath12k_htc_alloc_skb(struct ath12k_base *ab, int size) in ath12k_htc_alloc_skb()
29 static void ath12k_htc_control_tx_complete(struct ath12k_base *ab, in ath12k_htc_control_tx_complete()
81 struct ath12k_base *ab = htc->ab; in ath12k_htc_send() local
150 struct ath12k_base *ab = htc->ab; in ath12k_htc_process_credit_report() local
184 struct ath12k_base *ab = htc->ab; in ath12k_htc_process_trailer() local
235 static void ath12k_htc_suspend_complete(struct ath12k_base *ab, bool ack) in ath12k_htc_suspend_complete()
247 void ath12k_htc_rx_completion_handler(struct ath12k_base *ab, in ath12k_htc_rx_completion_handler()
374 static void ath12k_htc_control_rx_complete(struct ath12k_base *ab, in ath12k_htc_control_rx_complete()
488 struct ath12k_base *ab = htc->ab; in ath12k_htc_wait_target() local
555 struct ath12k_base *ab = htc->ab; in ath12k_htc_connect_service() local
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dpci.c46 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up()
53 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release()
60 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start()
78 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local
99 ath11k_pci_window_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_window_write32()
126 static u32 ath11k_pci_window_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_window_read32()
155 int ath11k_pci_get_msi_irq(struct ath11k_base *ab, unsigned int vector) in ath11k_pci_get_msi_irq()
207 static void ath11k_pci_soc_global_reset(struct ath11k_base *ab) in ath11k_pci_soc_global_reset()
233 static void ath11k_pci_clear_dbg_registers(struct ath11k_base *ab) in ath11k_pci_clear_dbg_registers()
263 static int ath11k_pci_set_link_reg(struct ath11k_base *ab, in ath11k_pci_set_link_reg()
[all …]
H A Dcore.c716 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) in ath11k_core_get_single_pdev()
769 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support()
781 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend()
840 int ath11k_core_resume(struct ath11k_base *ab) in ath11k_core_resume()
885 struct ath11k_base *ab = data; in ath11k_core_check_cc_code_bdfext() local
967 int ath11k_core_check_smbios(struct ath11k_base *ab) in ath11k_core_check_smbios()
978 int ath11k_core_check_dt(struct ath11k_base *ab) in ath11k_core_check_dt()
1005 static int __ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in __ath11k_core_create_board_name()
1047 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name()
1053 static int ath11k_core_create_fallback_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_fallback_board_name()
[all …]
H A Dhal.c196 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp()
210 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp()
224 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp()
238 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp()
252 static void ath11k_hal_ce_dst_setup(struct ath11k_base *ab, in ath11k_hal_ce_dst_setup()
270 static void ath11k_hal_srng_dst_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_dst_hw_init()
349 static void ath11k_hal_srng_src_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_src_hw_init()
458 static void ath11k_hal_srng_hw_init(struct ath11k_base *ab, in ath11k_hal_srng_hw_init()
467 static int ath11k_hal_srng_get_ring_id(struct ath11k_base *ab, in ath11k_hal_srng_get_ring_id()
489 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) in ath11k_hal_srng_get_entrysize()
[all …]
H A Dpcic.c120 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config()
143 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32()
155 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32()
175 static u32 __ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) in __ath11k_pcic_read32()
191 u32 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) in ath11k_pcic_read32()
214 int ath11k_pcic_read(struct ath11k_base *ab, void *buf, u32 start, u32 end) in ath11k_pcic_read()
252 void ath11k_pcic_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, in ath11k_pcic_get_msi_address()
260 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, in ath11k_pcic_get_user_msi_assignment()
288 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx) in ath11k_pcic_get_ce_msi_idx()
305 static void ath11k_pcic_free_ext_irq(struct ath11k_base *ab) in ath11k_pcic_free_ext_irq()
[all …]
H A Dahb.c144 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750()
150 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750()
166 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750()
177 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750()
198 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32()
203 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32()
208 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets()
230 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable()
255 static void ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_setbit32()
263 static void ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) in ath11k_ahb_clearbit32()
[all …]
H A Dpeer.c11 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 Dce.c259 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() local
322 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() local
372 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() local
421 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() local
461 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() local
502 struct ath11k_base *ab = pipe->ab; in ath11k_ce_tx_process_cb() local
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 Dqmi.c1721 static int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send()
1804 static int ath11k_qmi_fw_ind_register_send(struct ath11k_base *ab) in ath11k_qmi_fw_ind_register_send()
1883 static int ath11k_qmi_respond_fw_mem_request(struct ath11k_base *ab) in ath11k_qmi_respond_fw_mem_request()
1967 static void ath11k_qmi_free_target_mem_chunk(struct ath11k_base *ab) in ath11k_qmi_free_target_mem_chunk()
1988 static int ath11k_qmi_alloc_target_mem_chunk(struct ath11k_base *ab) in ath11k_qmi_alloc_target_mem_chunk()
2039 static int ath11k_qmi_assign_target_mem_chunk(struct ath11k_base *ab) in ath11k_qmi_assign_target_mem_chunk()
2136 static int ath11k_qmi_request_device_info(struct ath11k_base *ab) in ath11k_qmi_request_device_info()
2215 static int ath11k_qmi_request_target_cap(struct ath11k_base *ab) in ath11k_qmi_request_target_cap()
2315 static int ath11k_qmi_load_file_target_mem(struct ath11k_base *ab, in ath11k_qmi_load_file_target_mem()
2435 static int ath11k_qmi_load_bdf_qmi(struct ath11k_base *ab, in ath11k_qmi_load_bdf_qmi()
[all …]
H A Ddp.c19 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete()
27 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
49 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
105 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()
340 void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers()
353 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup()
373 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup()
[all …]
H A Dmhi.c213 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset()
230 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb()
235 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus()
240 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb()
245 static void ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecstatus()
250 void ath11k_mhi_clear_vector(struct ath11k_base *ab) in ath11k_mhi_clear_vector()
260 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() local
331 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath11k_mhi_op_status_cb() local
392 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() local
480 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_start() local
[all …]
H A Dhtc.c11 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size) in ath11k_htc_alloc_skb()
28 static void ath11k_htc_control_tx_complete(struct ath11k_base *ab, in ath11k_htc_control_tx_complete()
34 static struct sk_buff *ath11k_htc_build_tx_ctrl_skb(void *ab) in ath11k_htc_build_tx_ctrl_skb()
80 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() local
155 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_credit_report() local
189 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_trailer() local
242 static void ath11k_htc_suspend_complete(struct ath11k_base *ab, bool ack) in ath11k_htc_suspend_complete()
254 void ath11k_htc_tx_completion_handler(struct ath11k_base *ab, in ath11k_htc_tx_completion_handler()
279 static void ath11k_htc_wakeup_from_suspend(struct ath11k_base *ab) in ath11k_htc_wakeup_from_suspend()
284 void ath11k_htc_rx_completion_handler(struct ath11k_base *ab, in ath11k_htc_rx_completion_handler()
[all …]
H A Dhal.h35 #define HAL_SHADOW_BASE_ADDR(ab) ab->hw_params.regs->hal_shadow_base_addr argument
40 #define HAL_SHADOW_REG(ab, x) (HAL_SHADOW_BASE_ADDR(ab) + (4 * (x))) argument
62 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument
63 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument
64 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument
65 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument
66 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ argument
68 #define HAL_TCL1_RING_TP_ADDR_MSB(ab) \ argument
70 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) \ argument
72 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX1(ab) \ argument
[all …]

1234