Searched refs:evcap (Results 1 – 2 of 2) sorted by relevance
142 return (iommu_pmu->evcap[_g_idx] & _event) ? attr->mode : 0; \610 iommu_pmu->evcap = kcalloc(iommu_pmu->num_eg, sizeof(u64), GFP_KERNEL); in alloc_iommu_pmu()611 if (!iommu_pmu->evcap) { in alloc_iommu_pmu()622 iommu_pmu->evcap[i] = pecap_es(pcap); in alloc_iommu_pmu()641 iommu_pmu->cntr_evcap[i][j] = (u32)iommu_pmu->evcap[j]; in alloc_iommu_pmu()686 iommu_pmu->evcap[iommu_event_group(cap)] |= iommu_event_select(cap); in alloc_iommu_pmu()700 kfree(iommu_pmu->evcap); in alloc_iommu_pmu()714 if (iommu_pmu->evcap) { in free_iommu_pmu()721 kfree(iommu_pmu->evcap); in free_iommu_pmu()
696 u64 *evcap; /* Indicates all supported events */ member