Lines Matching refs:ring_params
1605 struct hal_srng_params *ring_params) in hal_srng_set_msi2_params() argument
1607 srng->msi2_addr = ring_params->msi2_addr; in hal_srng_set_msi2_params()
1608 srng->msi2_data = ring_params->msi2_data; in hal_srng_set_msi2_params()
1620 struct hal_srng_params *ring_params) in hal_srng_get_nf_params() argument
1622 ring_params->msi2_addr = srng->msi2_addr; in hal_srng_get_nf_params()
1623 ring_params->msi2_data = srng->msi2_data; in hal_srng_get_nf_params()
1635 struct hal_srng_params *ring_params) in hal_srng_set_nf_thresholds() argument
1637 srng->u.dst_ring.nf_irq_support = ring_params->nf_irq_support; in hal_srng_set_nf_thresholds()
1638 srng->u.dst_ring.high_thresh = ring_params->high_thresh; in hal_srng_set_nf_thresholds()
1643 struct hal_srng_params *ring_params) in hal_srng_set_msi2_params() argument
1649 struct hal_srng_params *ring_params) in hal_srng_get_nf_params() argument
1655 struct hal_srng_params *ring_params) in hal_srng_set_nf_thresholds() argument
1712 struct hal_srng_params *ring_params, bool idle_check, in hal_srng_setup_idx() argument
1742 srng->ring_base_paddr = ring_params->ring_base_paddr; in hal_srng_setup_idx()
1743 srng->ring_base_vaddr = ring_params->ring_base_vaddr; in hal_srng_setup_idx()
1745 srng->num_entries = ring_params->num_entries; in hal_srng_setup_idx()
1749 srng->msi_addr = ring_params->msi_addr; in hal_srng_setup_idx()
1750 srng->msi_data = ring_params->msi_data; in hal_srng_setup_idx()
1751 srng->intr_timer_thres_us = ring_params->intr_timer_thres_us; in hal_srng_setup_idx()
1753 ring_params->intr_batch_cntr_thres_entries; in hal_srng_setup_idx()
1755 ring_params->pointer_timer_threshold; in hal_srng_setup_idx()
1757 ring_params->pointer_num_threshold; in hal_srng_setup_idx()
1760 srng->prefetch_timer = ring_params->prefetch_timer; in hal_srng_setup_idx()
1762 hal_srng_set_msi2_params(srng, ring_params); in hal_srng_setup_idx()
1774 srng->flags = ring_params->flags; in hal_srng_setup_idx()
1803 ring_params->low_threshold * srng->entry_size; in hal_srng_setup_idx()
1847 hal_srng_set_nf_thresholds(srng, ring_params); in hal_srng_setup_idx()
1919 srng->u.dst_ring.max_buffer_length = ring_params->max_buffer_length; in hal_srng_setup_idx()
1955 int mac_id, struct hal_srng_params *ring_params, in hal_srng_setup() argument
1959 ring_params, idle_check, 0); in hal_srng_setup()
2023 struct hal_srng_params *ring_params) in hal_get_srng_params() argument
2027 ring_params->ring_id = srng->ring_id; in hal_get_srng_params()
2028 ring_params->ring_dir = srng->ring_dir; in hal_get_srng_params()
2029 ring_params->entry_size = srng->entry_size; in hal_get_srng_params()
2031 ring_params->ring_base_paddr = srng->ring_base_paddr; in hal_get_srng_params()
2032 ring_params->ring_base_vaddr = srng->ring_base_vaddr; in hal_get_srng_params()
2033 ring_params->num_entries = srng->num_entries; in hal_get_srng_params()
2034 ring_params->msi_addr = srng->msi_addr; in hal_get_srng_params()
2035 ring_params->msi_data = srng->msi_data; in hal_get_srng_params()
2036 ring_params->intr_timer_thres_us = srng->intr_timer_thres_us; in hal_get_srng_params()
2037 ring_params->intr_batch_cntr_thres_entries = in hal_get_srng_params()
2039 ring_params->low_threshold = srng->u.src_ring.low_threshold; in hal_get_srng_params()
2040 ring_params->flags = srng->flags; in hal_get_srng_params()
2041 ring_params->ring_id = srng->ring_id; in hal_get_srng_params()
2043 ring_params->hwreg_base[i] = srng->hwreg_base[i]; in hal_get_srng_params()
2045 hal_srng_get_nf_params(srng, ring_params); in hal_get_srng_params()