Lines Matching refs:evcap
161 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);