Lines Matching refs:soc

30 static inline bool dp_is_mon_mask_valid(struct dp_soc *soc,  in dp_is_mon_mask_valid()  argument
39 static inline bool dp_is_mon_mask_valid(struct dp_soc *soc, in dp_is_mon_mask_valid() argument
86 void dp_soc_print_inactive_objects(struct dp_soc *soc);
105 void dp_find_missing_tx_comp(struct dp_soc *soc);
107 void dp_enable_verbose_debug(struct dp_soc *soc);
109 QDF_STATUS dp_peer_legacy_setup(struct dp_soc *soc, struct dp_peer *peer);
113 void dp_soc_interrupt_map_calculate(struct dp_soc *soc, int intr_ctx_num,
115 void dp_srng_msi_setup(struct dp_soc *soc, struct dp_srng *srng,
119 dp_srng_configure_interrupt_thresholds(struct dp_soc *soc,
151 void dp_soc_set_interrupt_mode(struct dp_soc *soc);
198 dp_soc_get_mon_mask_for_interrupt_mode(struct dp_soc *soc, int intr_ctx_num) in dp_soc_get_mon_mask_for_interrupt_mode() argument
200 return wlan_cfg_get_rx_mon_ring_mask(soc->wlan_cfg_ctx, intr_ctx_num); in dp_soc_get_mon_mask_for_interrupt_mode()
219 dp_soc_get_mon_mask_for_interrupt_mode(struct dp_soc *soc, int intr_ctx_num) in dp_soc_get_mon_mask_for_interrupt_mode() argument
235 uint32_t dp_soc_get_mon_mask_for_interrupt_mode(struct dp_soc *soc, in dp_soc_get_mon_mask_for_interrupt_mode() argument
238 return wlan_cfg_get_rx_mon_ring_mask(soc->wlan_cfg_ctx, intr_ctx_num); in dp_soc_get_mon_mask_for_interrupt_mode()
250 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
260 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
262 if (soc->cdp_soc.ol_ops->get_con_mode && in dp_skip_msi_cfg()
263 soc->cdp_soc.ol_ops->get_con_mode() == QDF_GLOBAL_MONITOR_MODE) { in dp_skip_msi_cfg()
267 !dp_mon_mode_local_pkt_capture(soc)) { in dp_skip_msi_cfg()
274 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
276 if (soc->cdp_soc.ol_ops->get_con_mode && in dp_skip_msi_cfg()
277 soc->cdp_soc.ol_ops->get_con_mode() == QDF_GLOBAL_MONITOR_MODE) { in dp_skip_msi_cfg()
281 !dp_mon_mode_local_pkt_capture(soc)) { in dp_skip_msi_cfg()
289 static inline bool dp_skip_msi_cfg(struct dp_soc *soc, int ring_type) in dp_skip_msi_cfg() argument
304 static inline bool dp_is_msi_group_number_invalid(struct dp_soc *soc, in dp_is_msi_group_number_invalid() argument
308 if (soc && soc->osdev && soc->osdev->dev && in dp_is_msi_group_number_invalid()
309 pld_is_one_msi(soc->osdev->dev)) in dp_is_msi_group_number_invalid()
346 void dp_hw_link_desc_ring_free(struct dp_soc *soc);
359 QDF_STATUS dp_hw_link_desc_ring_alloc(struct dp_soc *soc);
368 QDF_STATUS dp_hw_link_desc_ring_init(struct dp_soc *soc);
376 void dp_hw_link_desc_ring_deinit(struct dp_soc *soc);
384 void dp_ipa_hal_tx_init_alt_data_ring(struct dp_soc *soc);
392 void dp_soc_reset_cpu_ring_map(struct dp_soc *soc);
401 void dp_soc_reset_ipa_vlan_intr_mask(struct dp_soc *soc);
409 void dp_soc_reset_intr_mask(struct dp_soc *soc);
429 void dp_reo_frag_dst_set(struct dp_soc *soc, uint8_t *frag_dst_ring);
459 dp_htt_setup_rxdma_err_dst_ring(struct dp_soc *soc, int mac_id,
557 dp_dump_wbm_idle_hptp(struct dp_soc *soc, struct dp_pdev *pdev);
580 void dp_update_ring_hptp(struct dp_soc *soc, bool force_flush_tx);
622 void *dp_soc_init(struct dp_soc *soc, HTC_HANDLE htc_handle,
625 void dp_tx_init_cmd_credit_ring(struct dp_soc *soc);
632 void dp_soc_srng_deinit(struct dp_soc *soc);
641 QDF_STATUS dp_soc_srng_init(struct dp_soc *soc);
648 void dp_soc_srng_free(struct dp_soc *soc);
657 QDF_STATUS dp_soc_srng_alloc(struct dp_soc *soc);
664 void dp_soc_cfg_attach(struct dp_soc *soc);
667 static inline void dp_hw_link_desc_ring_free(struct dp_soc *soc) in dp_hw_link_desc_ring_free() argument
671 static inline QDF_STATUS dp_hw_link_desc_ring_alloc(struct dp_soc *soc) in dp_hw_link_desc_ring_alloc() argument
676 static inline QDF_STATUS dp_hw_link_desc_ring_init(struct dp_soc *soc) in dp_hw_link_desc_ring_init() argument
681 static inline void dp_hw_link_desc_ring_deinit(struct dp_soc *soc) in dp_hw_link_desc_ring_deinit() argument
685 static inline void dp_ipa_hal_tx_init_alt_data_ring(struct dp_soc *soc) in dp_ipa_hal_tx_init_alt_data_ring() argument
689 static inline void dp_soc_reset_cpu_ring_map(struct dp_soc *soc) in dp_soc_reset_cpu_ring_map() argument
693 static inline void dp_soc_reset_ipa_vlan_intr_mask(struct dp_soc *soc) in dp_soc_reset_ipa_vlan_intr_mask() argument
697 static inline void dp_soc_reset_intr_mask(struct dp_soc *soc) in dp_soc_reset_intr_mask() argument
702 void dp_reo_frag_dst_set(struct dp_soc *soc, uint8_t *frag_dst_ring) in dp_reo_frag_dst_set() argument
730 dp_htt_setup_rxdma_err_dst_ring(struct dp_soc *soc, int mac_id, in dp_htt_setup_rxdma_err_dst_ring() argument
733 if ((soc->cdp_soc.ol_ops->get_con_mode && in dp_htt_setup_rxdma_err_dst_ring()
734 soc->cdp_soc.ol_ops->get_con_mode() == QDF_GLOBAL_MONITOR_MODE) && in dp_htt_setup_rxdma_err_dst_ring()
735 soc->rxdma_err_dst_ring[lmac_id].hal_srng) in dp_htt_setup_rxdma_err_dst_ring()
736 htt_srng_setup(soc->htt_handle, mac_id, in dp_htt_setup_rxdma_err_dst_ring()
737 soc->rxdma_err_dst_ring[lmac_id].hal_srng, in dp_htt_setup_rxdma_err_dst_ring()
750 dp_dump_wbm_idle_hptp(struct dp_soc *soc, struct dp_pdev *pdev) in dp_dump_wbm_idle_hptp() argument
758 static inline void dp_tx_init_cmd_credit_ring(struct dp_soc *soc) in dp_tx_init_cmd_credit_ring() argument
767 static inline void dp_soc_srng_deinit(struct dp_soc *soc) in dp_soc_srng_deinit() argument
778 static inline QDF_STATUS dp_soc_srng_init(struct dp_soc *soc) in dp_soc_srng_init() argument
780 dp_enable_verbose_debug(soc); in dp_soc_srng_init()
790 static inline void dp_soc_srng_free(struct dp_soc *soc) in dp_soc_srng_free() argument
801 static inline QDF_STATUS dp_soc_srng_alloc(struct dp_soc *soc) in dp_soc_srng_alloc() argument
830 void dp_srng_msi2_setup(struct dp_soc *soc,
833 void dp_srng_set_msi2_ring_params(struct dp_soc *soc,
837 uint8_t *dp_srng_get_near_full_irq_mask(struct dp_soc *soc,
841 dp_srng_configure_nf_interrupt_thresholds(struct dp_soc *soc,
846 dp_srng_msi2_setup(struct dp_soc *soc, in dp_srng_msi2_setup() argument
853 dp_srng_set_msi2_ring_params(struct dp_soc *soc, in dp_srng_set_msi2_ring_params() argument
861 uint8_t *dp_srng_get_near_full_irq_mask(struct dp_soc *soc, in dp_srng_get_near_full_irq_mask() argument
869 dp_srng_configure_nf_interrupt_thresholds(struct dp_soc *soc, in dp_srng_configure_nf_interrupt_thresholds() argument
883 void dp_soc_reset_dpdk_intr_mask(struct dp_soc *soc);
885 static inline void dp_soc_reset_dpdk_intr_mask(struct dp_soc *soc) in dp_soc_reset_dpdk_intr_mask() argument