Lines Matching refs:num_cntr
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()
667 iommu_pmu->num_cntr = i; in alloc_iommu_pmu()
669 iommu_pmu->num_cntr); in alloc_iommu_pmu()
696 for (i = 0; i < iommu_pmu->num_cntr; i++) in alloc_iommu_pmu()
717 for (i = 0; i < iommu_pmu->num_cntr; i++) in free_iommu_pmu()