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

/linux-master/drivers/iommu/intel/
H A Dperfmon.c161 return (iommu_pmu->evcap[_g_idx] & _event) ? attr->mode : 0; \
628 iommu_pmu->evcap = kcalloc(iommu_pmu->num_eg, sizeof(u64), GFP_KERNEL);
629 if (!iommu_pmu->evcap) {
640 iommu_pmu->evcap[i] = pecap_es(pcap);
659 iommu_pmu->cntr_evcap[i][j] = (u32)iommu_pmu->evcap[j];
702 * Track them in the evcap as well.
704 iommu_pmu->evcap[iommu_event_group(cap)] |= iommu_event_select(cap);
718 kfree(iommu_pmu->evcap);
732 if (iommu_pmu->evcap) {
739 kfree(iommu_pmu->evcap);
[all...]
H A Diommu.h675 u64 *evcap; /* Indicates all supported events */ member in struct:iommu_pmu

Completed in 274 milliseconds