Lines Matching refs:srng
393 dp_srng_set_nf_thresholds(struct dp_soc *soc, struct dp_srng *srng, in dp_srng_set_nf_thresholds() argument
396 srng->crit_thresh = ring_params->crit_thresh; in dp_srng_set_nf_thresholds()
397 srng->safe_thresh = ring_params->safe_thresh; in dp_srng_set_nf_thresholds()
402 dp_srng_set_nf_thresholds(struct dp_soc *soc, struct dp_srng *srng, in dp_srng_set_nf_thresholds() argument
479 QDF_STATUS dp_srng_init_idx(struct dp_soc *soc, struct dp_srng *srng, in dp_srng_init_idx() argument
488 if (srng->hal_srng) { in dp_srng_init_idx()
495 qdf_mem_zero(srng->base_vaddr_unaligned, srng->alloc_size); in dp_srng_init_idx()
498 ring_params.ring_base_paddr = srng->base_paddr_aligned; in dp_srng_init_idx()
499 ring_params.ring_base_vaddr = srng->base_vaddr_aligned; in dp_srng_init_idx()
501 ring_params.num_entries = srng->num_entries; in dp_srng_init_idx()
510 dp_srng_msi_setup(soc, srng, &ring_params, ring_type, ring_num); in dp_srng_init_idx()
523 srng->num_entries); in dp_srng_init_idx()
525 dp_srng_set_nf_thresholds(soc, srng, &ring_params); in dp_srng_init_idx()
528 srng->num_entries); in dp_srng_init_idx()
530 if (srng->cached) 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()
540 dp_srng_free(soc, srng); in dp_srng_init_idx()
2816 struct dp_srng *srng; in dp_dump_wbm_idle_hptp() local
2828 srng = &pdev->soc->wbm_idle_link_ring; in dp_dump_wbm_idle_hptp()
2829 if (!srng) { in dp_dump_wbm_idle_hptp()
2834 hal_get_hw_hptp(soc->hal_soc, srng->hal_srng, &hw_head, in dp_dump_wbm_idle_hptp()