Home
last modified time | relevance | path

Searched refs:num_eg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iommu/intel/
H A Dperfmon.c270 if (event_group >= iommu_pmu->num_eg) in iommu_pmu_validate_event()
626 iommu_pmu->num_eg = pcap_num_event_group(perfcap); in alloc_iommu_pmu()
628 iommu_pmu->evcap = kcalloc(iommu_pmu->num_eg, sizeof(u64), GFP_KERNEL); in alloc_iommu_pmu()
635 for (i = 0; i < iommu_pmu->num_eg; i++) { in alloc_iommu_pmu()
649 iommu_pmu->cntr_evcap[i] = kcalloc(iommu_pmu->num_eg, sizeof(u32), GFP_KERNEL); in alloc_iommu_pmu()
658 for (j = 0; j < iommu_pmu->num_eg; j++) in alloc_iommu_pmu()
691 for (j = 0; j < iommu_pmu->num_eg; j++) in alloc_iommu_pmu()
H A Diommu.h630 u32 num_eg; /* Number of event group */ member