Lines Matching refs:ring_params
1627 dp_ipa_vlan_srng_msi_setup(struct hal_srng_params *ring_params, int ring_type, in dp_ipa_vlan_srng_msi_setup() argument
1633 ring_params->msi_addr = 0; in dp_ipa_vlan_srng_msi_setup()
1634 ring_params->msi_data = 0; in dp_ipa_vlan_srng_msi_setup()
1635 ring_params->flags &= ~HAL_SRNG_MSI_INTR; in dp_ipa_vlan_srng_msi_setup()
1641 dp_ipa_vlan_srng_msi_setup(struct hal_srng_params *ring_params, int ring_type, in dp_ipa_vlan_srng_msi_setup() argument
1648 struct hal_srng_params *ring_params, in dp_srng_msi_setup() argument
1680 ring_params->msi_addr = 0; in dp_srng_msi_setup()
1681 ring_params->msi_data = 0; in dp_srng_msi_setup()
1682 dp_srng_set_msi2_ring_params(soc, ring_params, 0, 0); in dp_srng_msi_setup()
1689 ring_params->msi_addr = 0; in dp_srng_msi_setup()
1690 ring_params->msi_data = 0; in dp_srng_msi_setup()
1703 ring_params->msi_addr = addr_low; in dp_srng_msi_setup()
1704 ring_params->msi_addr |= (qdf_dma_addr_t)(((uint64_t)addr_high) << 32); in dp_srng_msi_setup()
1705 ring_params->msi_data = (reg_msi_grp_num % msi_data_count) in dp_srng_msi_setup()
1707 ring_params->flags |= HAL_SRNG_MSI_INTR; in dp_srng_msi_setup()
1709 dp_ipa_vlan_srng_msi_setup(ring_params, ring_type, ring_num); in dp_srng_msi_setup()
1712 ring_type, ring_num, ring_params->msi_data, in dp_srng_msi_setup()
1713 (uint64_t)ring_params->msi_addr); in dp_srng_msi_setup()
1734 dp_srng_set_msi2_ring_params(soc, ring_params, 0, 0); in dp_srng_msi_setup()
1738 dp_srng_msi2_setup(soc, ring_params, ring_type, ring_num, in dp_srng_msi_setup()
1760 struct hal_srng_params *ring_params, in dp_srng_configure_interrupt_thresholds() argument
1769 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1771 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1775 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1777 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1780 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1782 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1785 ring_params->low_threshold = in dp_srng_configure_interrupt_thresholds()
1787 if (ring_params->low_threshold) in dp_srng_configure_interrupt_thresholds()
1788 ring_params->flags |= HAL_SRNG_LOW_THRES_INTR_ENABLE; in dp_srng_configure_interrupt_thresholds()
1790 dp_srng_configure_nf_interrupt_thresholds(soc, ring_params, ring_type); in dp_srng_configure_interrupt_thresholds()
1795 struct hal_srng_params *ring_params, in dp_srng_configure_interrupt_thresholds() argument
1805 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1807 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1813 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1815 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1821 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1825 ring_params->low_threshold = num_entries >> 3; in dp_srng_configure_interrupt_thresholds()
1826 ring_params->flags |= HAL_SRNG_LOW_THRES_INTR_ENABLE; in dp_srng_configure_interrupt_thresholds()
1827 ring_params->intr_batch_cntr_thres_entries = 0; in dp_srng_configure_interrupt_thresholds()
1830 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1832 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1846 ring_params->intr_timer_thres_us = 0; in dp_srng_configure_interrupt_thresholds()
1847 ring_params->intr_batch_cntr_thres_entries = 0; in dp_srng_configure_interrupt_thresholds()
1850 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1852 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1856 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1858 ring_params->intr_batch_cntr_thres_entries = in dp_srng_configure_interrupt_thresholds()
1873 ring_params->low_threshold = num_entries >> 3; in dp_srng_configure_interrupt_thresholds()
1874 ring_params->intr_timer_thres_us = in dp_srng_configure_interrupt_thresholds()
1876 ring_params->flags |= HAL_SRNG_LOW_THRES_INTR_ENABLE; in dp_srng_configure_interrupt_thresholds()
1877 ring_params->intr_batch_cntr_thres_entries = 0; in dp_srng_configure_interrupt_thresholds()
1886 ring_params->low_threshold = MON_BUF_MIN_ENTRIES >> 1; in dp_srng_configure_interrupt_thresholds()
1895 ring_params->intr_batch_cntr_thres_entries = 4; in dp_srng_configure_interrupt_thresholds()