/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
H A D | hal_api.h | 504 struct hal_srng *srng, in hal_srng_write_address_32_mb() 513 struct hal_srng *srng, in hal_srng_write_address_32_mb() 521 struct hal_srng *srng, in hal_srng_write_address_32_mb() 891 struct hal_srng *srng, 895 hal_srng_check_and_update_hptp(struct hal_soc *hal_soc, struct hal_srng *srng, in hal_srng_check_and_update_hptp() 1010 void hal_srng_dump(struct hal_srng *srng); 1305 void hal_srng_dst_set_hp_paddr_confirm(struct hal_srng *sring, 1315 struct hal_srng *srng, 1339 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_initialized() 1357 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_srng_dst_peek() [all …]
|
H A D | hal_generic_api.h | 138 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_get_hw_hptp_generic() 169 void hal_srng_src_hw_write_cons_prefetch_timer(struct hal_srng *srng, in hal_srng_src_hw_write_cons_prefetch_timer() 182 void hal_srng_hw_disable_generic(struct hal_soc *hal, struct hal_srng *srng) in hal_srng_hw_disable_generic() 204 void hal_srng_hw_disable_generic(struct hal_soc *hal, struct hal_srng *srng) in hal_srng_hw_disable_generic() 209 void hal_srng_src_hw_write_cons_prefetch_timer(struct hal_srng *srng, in hal_srng_src_hw_write_cons_prefetch_timer() 223 static void hal_wbm_idle_lsb_write_confirm(struct hal_srng *srng) in hal_wbm_idle_lsb_write_confirm() 234 static void hal_wbm_idle_lsb_write_confirm(struct hal_srng *srng) in hal_wbm_idle_lsb_write_confirm() 249 struct hal_srng *srng, bool idle_check, in hal_srng_src_hw_init_generic() 382 static inline void hal_srng_dst_msi2_setup(struct hal_srng *srng) in hal_srng_dst_msi2_setup() 405 static inline void hal_srng_dst_near_full_int_setup(struct hal_srng *srng) in hal_srng_dst_near_full_int_setup() [all …]
|
H A D | hal_srng.c | 152 static struct hal_srng *hal_get_srng(struct hal_soc *hal, int ring_id) in hal_get_srng() 166 struct hal_srng *srng; in hal_update_srng_hp_tp_address() 587 char *hal_fill_reg_write_srng_stats(struct hal_srng *srng, in hal_fill_reg_write_srng_stats() 602 struct hal_srng *srng; in hal_dump_reg_write_srng_stats() 680 static inline void hal_srng_update_last_hptp(struct hal_srng *srng) in hal_srng_update_last_hptp() 700 struct hal_srng *srng, bool update) in hal_srng_check_and_update_hptp() 737 static inline void hal_srng_update_last_hptp(struct hal_srng *srng) in hal_srng_update_last_hptp() 753 struct hal_srng *srng = q_elem->srng; in hal_process_reg_write_q_elem() 823 struct hal_srng *srng = elem->srng; in hal_reg_write_need_delay() 994 struct hal_srng *srng, in hal_reg_write_enqueue() [all …]
|
H A D | hal_internal.h | 504 struct hal_srng *srng; 725 struct hal_srng { struct 900 void hal_srng_reg_his_init(struct hal_srng *srng) in hal_srng_reg_his_init() argument 914 void hal_srng_reg_his_add(struct hal_srng *srng, uint32_t reg_val) in hal_srng_reg_his_add() 929 void hal_srng_reg_his_init(struct hal_srng *srng) in hal_srng_reg_his_init() 934 void hal_srng_reg_his_add(struct hal_srng *srng, uint32_t reg_val) in hal_srng_reg_his_add() 1060 struct hal_srng *srng, bool idle_check, 1063 struct hal_srng *srng, bool idle_check, 1067 struct hal_srng *srng); 1615 struct hal_srng srng_list[HAL_SRNG_ID_MAX]; [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_ipa.c | 248 hal_ring_hdl = soc->reo_dest_ring[ring].hal_srng; in dp_ipa_set_reo_ctx_mapping_lock_required() 592 struct hal_srng *wbm_srng = (struct hal_srng *) in dp_ipa_tx_alt_pool_attach() 593 soc->tx_comp_ring[IPA_TX_ALT_COMP_RING_IDX].hal_srng; in dp_ipa_tx_alt_pool_attach() 725 struct hal_srng *hal_srng; in dp_ipa_tx_alt_ring_resource_setup() local 730 hal_srng = (struct hal_srng *) in dp_ipa_tx_alt_ring_resource_setup() 731 soc->tcl_data_ring[IPA_TX_ALT_RING_IDX].hal_srng; in dp_ipa_tx_alt_ring_resource_setup() 733 hal_srng_to_hal_ring_handle(hal_srng), in dp_ipa_tx_alt_ring_resource_setup() 749 addr_offset = (unsigned long)(hal_srng->u.src_ring.hp_addr) - in dp_ipa_tx_alt_ring_resource_setup() 764 hal_srng = (struct hal_srng *) in dp_ipa_tx_alt_ring_resource_setup() 765 soc->tx_comp_ring[IPA_TX_ALT_COMP_RING_IDX].hal_srng; in dp_ipa_tx_alt_ring_resource_setup() [all …]
|
H A D | dp_reo.c | 94 num = hal_reo_send_cmd(soc->hal_soc, soc->reo_cmd_ring.hal_srng, type, in dp_reo_send_cmd() 134 if (dp_srng_access_start(int_ctx, soc, soc->reo_status_ring.hal_srng)) { in dp_reo_status_ring_handler() 138 soc->reo_status_ring.hal_srng); in dp_reo_status_ring_handler() 171 soc->reo_status_ring.hal_srng); in dp_reo_status_ring_handler() 174 dp_srng_access_end(int_ctx, soc, soc->reo_status_ring.hal_srng); in dp_reo_status_ring_handler()
|
H A D | dp_rings_main.c | 488 if (srng->hal_srng) { in dp_srng_init_idx() 535 srng->hal_srng = hal_srng_setup_idx(hal_soc, ring_type, ring_num, in dp_srng_init_idx() 539 if (!srng->hal_srng) { in dp_srng_init_idx() 614 soc->tx_comp_ring[index].hal_srng, in dp_service_srngs() 632 soc->reo_exception_ring.hal_srng, in dp_service_srngs() 651 soc->rx_rel_ring.hal_srng, in dp_service_srngs() 673 soc->reo_dest_ring[ring].hal_srng, in dp_service_srngs() 1331 soc->tcl_data_ring[IPA_TX_ALT_RING_IDX].hal_srng); in dp_ipa_hal_tx_init_alt_data_ring() 2387 if (soc->rxdma_err_dst_ring[lmac_id].hal_srng) in dp_htt_setup_rxdma_err_dst_ring() 2389 soc->rxdma_err_dst_ring[lmac_id].hal_srng, in dp_htt_setup_rxdma_err_dst_ring() [all …]
|
H A D | dp_tx.h | 730 hal_ring_handle_t hal_srng, uint8_t ring_id, 770 soc->tcl_data_ring[pdev->pdev_id].hal_srng); in dp_tx_pdev_init() 995 return soc->tcl_cmd_credit_ring.hal_srng; in dp_tx_get_hal_ring_hdl() 997 return soc->tcl_data_ring[ring_id].hal_srng; in dp_tx_get_hal_ring_hdl() 1039 return soc->tcl_data_ring[ring_id].hal_srng; in dp_tx_get_hal_ring_hdl()
|
H A D | dp_rings.h | 735 soc->rxdma_err_dst_ring[lmac_id].hal_srng) 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()
|
H A D | dp_rx_defrag.c | 1231 hal_ring_handle_t hal_srng = soc->reo_reinject_ring.hal_srng; in dp_rx_defrag_reo_reinject() local 1259 ent_ring_desc = hal_srng_src_get_next(soc->hal_soc, hal_srng); in dp_rx_defrag_reo_reinject() 1339 if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) { in dp_rx_defrag_reo_reinject() 1342 hal_srng); in dp_rx_defrag_reo_reinject() 1383 hal_srng_access_end(soc->hal_soc, hal_srng); in dp_rx_defrag_reo_reinject()
|
H A D | dp_rx.c | 404 rxdma_srng = dp_rxdma_srng->hal_srng; in __dp_rx_buffers_no_map_lt_replenish() 518 rxdma_srng = dp_rxdma_srng->hal_srng; in __dp_rx_buffers_no_map_replenish() 626 rxdma_srng = dp_rxdma_srng->hal_srng; in __dp_rx_comp2refill_replenish() 719 rxdma_srng = dp_rxdma_srng->hal_srng; in __dp_pdev_rx_buffers_no_map_attach() 832 rxdma_srng = dp_rxdma_srng->hal_srng; in dp_rx_desc_replenish() 864 if (!dp_rxdma_srng || !dp_rxdma_srng->hal_srng || in dp_rx_desc_reuse() 938 rxdma_srng = dp_rxdma_srng->hal_srng; in __dp_rx_buffers_replenish() 3115 hal_ring_handle_t rxdma_srng = dp_rxdma_srng->hal_srng; in dp_pdev_rx_buffers_attach()
|
H A D | dp_rx_err.c | 193 hal_ring_handle_t wbm_rel_srng = wbm_desc_rel_ring->hal_srng; in dp_rx_link_desc_return_by_addr() 228 struct hal_srng *srng = (struct hal_srng *)wbm_rel_srng; in dp_rx_link_desc_return_by_addr() 1063 hal_ring_handle_t hal_ring_hdl = soc->reo_exception_ring.hal_srng; in dp_rx_reo_err_entry_process() 2927 soc->rx_rel_ring.hal_srng, in dup_desc_dbg() 3108 err_dst_srng = soc->rxdma_err_dst_ring[mac_id].hal_srng; in dp_rxdma_err_process()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
H A D | dp_mon_2.0.c | 200 hal_set_low_threshold(soc->rxdma_mon_buf_ring[0].hal_srng, in dp_vdev_set_monitor_mode_buf_rings_rx_2_0() 203 soc->rxdma_mon_buf_ring[0].hal_srng, in dp_vdev_set_monitor_mode_buf_rings_rx_2_0() 467 if (!mon_soc_be->tx_mon_dst_ring[mac_id].hal_srng) in dp_mon_pdev_htt_srng_setup_2_0() 490 if (!soc->rxdma_mon_dst_ring[mac_id].hal_srng) in dp_mon_pdev_htt_srng_setup_2_0() 500 if (!mon_soc_be->tx_mon_dst_ring[mac_id].hal_srng) in dp_mon_pdev_htt_srng_setup_2_0() 526 void *hal_srng; in dp_rx_mon_refill_buf_ring_2_0() local 529 hal_srng = rx_mon_buf_ring->hal_srng; in dp_rx_mon_refill_buf_ring_2_0() 533 hal_srng_access_start(soc->hal_soc, hal_srng); in dp_rx_mon_refill_buf_ring_2_0() 535 hal_srng, in dp_rx_mon_refill_buf_ring_2_0() 538 hal_get_sw_hptp(soc->hal_soc, (hal_ring_handle_t)hal_srng, &tp, &hp); in dp_rx_mon_refill_buf_ring_2_0() [all …]
|
H A D | dp_tx_mon_2.0.c | 123 mon_dst_srng = mon_soc_be->tx_mon_dst_ring[mac_id].hal_srng; in dp_tx_mon_srng_process_2_0() 1556 mon_soc_be->tx_mon_dst_ring[mac_id].hal_srng, in dp_tx_mon_pdev_htt_srng_setup_2_0() 1566 hal_set_low_threshold(mon_soc_be->tx_mon_buf_ring.hal_srng, 0); in dp_tx_mon_soc_htt_srng_setup_2_0() 1568 mon_soc_be->tx_mon_buf_ring.hal_srng, in dp_tx_mon_soc_htt_srng_setup_2_0()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
H A D | dp_mon_1.0.c | 396 if (mon_buf_ring->hal_srng) { in dp_vdev_set_monitor_mode_buf_rings() 398 hal_set_low_threshold(mon_buf_ring->hal_srng, in dp_vdev_set_monitor_mode_buf_rings() 402 mon_buf_ring->hal_srng, in dp_vdev_set_monitor_mode_buf_rings() 458 if (mon_buf_ring->hal_srng) { in dp_vdev_set_monitor_mode_rings() 460 hal_set_low_threshold(mon_buf_ring->hal_srng, in dp_vdev_set_monitor_mode_rings() 464 mon_buf_ring->hal_srng, in dp_vdev_set_monitor_mode_rings() 478 soc->rxdma_mon_desc_ring[mac_for_pdev].hal_srng, in dp_vdev_set_monitor_mode_rings() 481 soc->rxdma_mon_dst_ring[mac_for_pdev].hal_srng, in dp_vdev_set_monitor_mode_rings() 618 mon_status_srng = soc->rxdma_mon_status_ring[0].hal_srng; in dp_mon_is_irq_enabled() 789 if (!soc->rxdma_mon_status_ring[mac_id].hal_srng) in dp_mon_htt_srng_setup_1_0() [all …]
|
H A D | dp_rx_mon_1.0.h | 990 return pdev->soc->rxdma_mon_dst_ring[mac_for_pdev].hal_srng; in dp_rxdma_get_mon_dst_ring() 994 return pdev->soc->rxdma_err_dst_ring[0].hal_srng; in dp_rxdma_get_mon_dst_ring() 996 return pdev->soc->rxdma_err_dst_ring[mac_for_pdev].hal_srng; in dp_rxdma_get_mon_dst_ring()
|
H A D | dp_rx_mon_status_1.0.c | 643 mon_status_srng = soc->rxdma_mon_status_ring[mac_id].hal_srng; in dp_rx_mon_status_srng_process() 1043 rxdma_srng = dp_rxdma_srng->hal_srng; in dp_rx_mon_status_buffers_replenish() 1188 mon_status_srng = soc->rxdma_mon_status_ring[mac_id].hal_srng; in dp_mon_status_srng_drop_for_mac()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/kiwi/ |
H A D | hal_kiwi_tx.h | 172 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_kiwi()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh.c | 40 if (srng->hal_srng) { in dp_srng_init_rh() 83 srng->hal_srng = hal_srng_setup(hal_soc, ring_type, ring_num, in dp_srng_init_rh() 86 if (!srng->hal_srng) { in dp_srng_init_rh() 411 soc->tcl_data_ring[i].hal_srng); in dp_soc_init_rh() 792 rx_mac_srng->hal_srng, in dp_rxdma_ring_sel_cfg_rh() 880 rx_mac_srng->hal_srng, in dp_rxdma_ring_sel_cfg_rh()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
H A D | ce_service_srng.c | 978 hal_ring_handle_t hal_srng = NULL; in ce_ring_cleanup_srng() local 982 hal_srng = (hal_ring_handle_t)CE_state->src_ring->srng_ctx; in ce_ring_cleanup_srng() 985 hal_srng = (hal_ring_handle_t)CE_state->dest_ring->srng_ctx; in ce_ring_cleanup_srng() 988 hal_srng = (hal_ring_handle_t)CE_state->status_ring->srng_ctx; in ce_ring_cleanup_srng() 992 if (hal_srng) in ce_ring_cleanup_srng() 993 hal_srng_cleanup(scn->hal_soc, hal_srng, 0); in ce_ring_cleanup_srng()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5332/ |
H A D | hal_5332_tx.h | 203 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_5332()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/ |
H A D | dp_mon_filter.c | 366 soc->rx_refill_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 370 pdev->rx_mac_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 392 soc->rxdma_mon_status_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 399 soc->rxdma_mon_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 406 soc->rxdma_mon_dst_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/ |
H A D | hal_6432_tx.h | 218 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_6432()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/ |
H A D | hal_9224_tx.h | 299 struct hal_srng *srng = (struct hal_srng *)hal_ring_hdl; in hal_tx_config_rbm_mapping_be_9224()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
H A D | dp_li.c | 332 rx_mac_srng->hal_srng, in dp_rxdma_ring_sel_cfg_li() 420 rx_mac_srng->hal_srng, in dp_rxdma_ring_sel_cfg_li()
|