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

/linux-master/drivers/iommu/intel/
H A Dperfmon.c402 if (!(iommu_pmu->cntr_evcap[idx][event_group] & select))
643 iommu_pmu->cntr_evcap = kcalloc(iommu_pmu->num_cntr, sizeof(u32 *), GFP_KERNEL);
644 if (!iommu_pmu->cntr_evcap) {
649 iommu_pmu->cntr_evcap[i] = kcalloc(iommu_pmu->num_eg, sizeof(u32), GFP_KERNEL);
650 if (!iommu_pmu->cntr_evcap[i]) {
659 iommu_pmu->cntr_evcap[i][j] = (u32)iommu_pmu->evcap[j];
692 iommu_pmu->cntr_evcap[i][j] = 0;
699 iommu_pmu->cntr_evcap[i][iommu_event_group(cap)] = iommu_event_select(cap);
715 kfree(iommu_pmu->cntr_evcap[i]);
716 kfree(iommu_pmu->cntr_evcap);
[all...]
H A Diommu.h676 u32 **cntr_evcap; /* Supported events of each counter. */ member in struct:iommu_pmu

Completed in 256 milliseconds