Searched refs:num_cntr (Results 1 – 2 of 2) sorted by relevance
272 if (++nr > iommu_pmu->num_cntr) in iommu_pmu_validate_group()399 for (idx = iommu_pmu->num_cntr - 1; idx >= 0; idx--) { in iommu_pmu_assign_event()500 for_each_set_bit(i, (unsigned long *)&status, iommu_pmu->num_cntr) { in iommu_pmu_counter_overflow()598 iommu_pmu->num_cntr = pcap_num_cntr(perfcap); in alloc_iommu_pmu()599 if (iommu_pmu->num_cntr > IOMMU_PMU_IDX_MAX) { in alloc_iommu_pmu()601 iommu_pmu->num_cntr, IOMMU_PMU_IDX_MAX); in alloc_iommu_pmu()602 iommu_pmu->num_cntr = IOMMU_PMU_IDX_MAX; in alloc_iommu_pmu()625 iommu_pmu->cntr_evcap = kcalloc(iommu_pmu->num_cntr, sizeof(u32 *), GFP_KERNEL); in alloc_iommu_pmu()630 for (i = 0; i < iommu_pmu->num_cntr; i++) { in alloc_iommu_pmu()653 for (i = 0; i < iommu_pmu->num_cntr; i++) { in alloc_iommu_pmu()[all …]
686 u32 num_cntr; /* Number of counters */ member