Searched refs:piommu (Results 1 – 1 of 1) sorted by relevance
155 struct perf_amd_iommu *piommu = container_of(event->pmu, struct perf_amd_iommu, pmu); in get_next_avail_iommu_bnk_cntr() local156 int max_cntrs = piommu->max_counters; in get_next_avail_iommu_bnk_cntr()157 int max_banks = piommu->max_banks; in get_next_avail_iommu_bnk_cntr()162 raw_spin_lock_irqsave(&piommu->lock, flags); in get_next_avail_iommu_bnk_cntr()167 if (piommu->cntr_assign_mask & BIT_ULL(shift)) { in get_next_avail_iommu_bnk_cntr()170 piommu->cntr_assign_mask |= BIT_ULL(shift); in get_next_avail_iommu_bnk_cntr()180 raw_spin_unlock_irqrestore(&piommu->lock, flags); in get_next_avail_iommu_bnk_cntr()