Lines Matching refs:srng
34 dp_srng_init_rh(struct dp_soc *soc, struct dp_srng *srng, int ring_type, in dp_srng_init_rh() argument
40 if (srng->hal_srng) { in dp_srng_init_rh()
47 qdf_mem_zero(srng->base_vaddr_unaligned, srng->alloc_size); in dp_srng_init_rh()
50 ring_params.ring_base_paddr = srng->base_paddr_aligned; in dp_srng_init_rh()
51 ring_params.ring_base_vaddr = srng->base_vaddr_aligned; in dp_srng_init_rh()
53 ring_params.num_entries = srng->num_entries; in dp_srng_init_rh()
66 dp_srng_msi_setup(soc, srng, &ring_params, in dp_srng_init_rh()
80 srng->num_entries); 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()
87 dp_srng_free(soc, srng); in dp_srng_init_rh()