Lines Matching refs:ring_params

298 				  struct hal_srng_params *ring_params,  in dp_srng_set_msi2_ring_params()  argument
302 ring_params->msi2_addr = msi2_addr; in dp_srng_set_msi2_ring_params()
303 ring_params->msi2_data = msi2_data; in dp_srng_set_msi2_ring_params()
317 struct hal_srng_params *ring_params, in dp_srng_msi2_setup() argument
332 ring_params->msi2_addr = 0; in dp_srng_msi2_setup()
333 ring_params->msi2_data = 0; in dp_srng_msi2_setup()
346 ring_params->nf_irq_support = 1; in dp_srng_msi2_setup()
347 ring_params->msi2_addr = addr_low; in dp_srng_msi2_setup()
348 ring_params->msi2_addr |= (qdf_dma_addr_t)(((uint64_t)addr_high) << 32); in dp_srng_msi2_setup()
349 ring_params->msi2_data = (nf_msi_grp_num % msi_data_count) in dp_srng_msi2_setup()
351 ring_params->flags |= HAL_SRNG_MSI_INTR; in dp_srng_msi2_setup()
370 struct hal_srng_params *ring_params, in dp_srng_configure_nf_interrupt_thresholds() argument
373 if (ring_params->nf_irq_support) { in dp_srng_configure_nf_interrupt_thresholds()
374 ring_params->high_thresh = (ring_params->num_entries * in dp_srng_configure_nf_interrupt_thresholds()
376 ring_params->crit_thresh = (ring_params->num_entries * in dp_srng_configure_nf_interrupt_thresholds()
378 ring_params->safe_thresh = (ring_params->num_entries * in dp_srng_configure_nf_interrupt_thresholds()
394 struct hal_srng_params *ring_params) 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()
403 struct hal_srng_params *ring_params) in dp_srng_set_nf_thresholds() argument
465 struct hal_srng_params *ring_params, in dp_srng_configure_pointer_update_thresholds() argument
470 ring_params->pointer_timer_threshold = in dp_srng_configure_pointer_update_thresholds()
473 ring_params->pointer_num_threshold = in dp_srng_configure_pointer_update_thresholds()
486 struct hal_srng_params ring_params; in dp_srng_init_idx() local
497 qdf_mem_zero(&ring_params, sizeof(struct hal_srng_params)); 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()
505 (void *)ring_params.ring_base_vaddr, in dp_srng_init_idx()
506 (void *)ring_params.ring_base_paddr, in dp_srng_init_idx()
507 ring_params.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()
514 ring_params.msi_data = 0; in dp_srng_init_idx()
515 ring_params.msi_addr = 0; in dp_srng_init_idx()
516 dp_srng_set_msi2_ring_params(soc, &ring_params, 0, 0); in dp_srng_init_idx()
521 dp_srng_configure_interrupt_thresholds(soc, &ring_params, in dp_srng_init_idx()
525 dp_srng_set_nf_thresholds(soc, srng, &ring_params); in dp_srng_init_idx()
526 dp_srng_configure_pointer_update_thresholds(soc, &ring_params, in dp_srng_init_idx()
531 ring_params.flags |= HAL_SRNG_CACHED_DESC; in dp_srng_init_idx()
536 mac_id, &ring_params, idle_check, in dp_srng_init_idx()