Searched refs:num_cntr (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/iommu/intel/
H A Dperfmon.c291 if (++nr > iommu_pmu->num_cntr)
418 for (idx = iommu_pmu->num_cntr - 1; idx >= 0; idx--) {
519 for_each_set_bit(i, (unsigned long *)&status, iommu_pmu->num_cntr) {
616 iommu_pmu->num_cntr = pcap_num_cntr(perfcap);
617 if (iommu_pmu->num_cntr > IOMMU_PMU_IDX_MAX) {
619 iommu_pmu->num_cntr, IOMMU_PMU_IDX_MAX);
620 iommu_pmu->num_cntr = IOMMU_PMU_IDX_MAX;
643 iommu_pmu->cntr_evcap = kcalloc(iommu_pmu->num_cntr, sizeof(u32 *), GFP_KERNEL);
648 for (i = 0; i < iommu_pmu->num_cntr; i++) {
671 for (i = 0; i < iommu_pmu->num_cntr;
[all...]
H A Diommu.h674 u32 num_cntr; /* Number of counters */ member in struct:iommu_pmu

Completed in 295 milliseconds