Home
last modified time | relevance | path

Searched refs:perf_iommu (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/events/amd/
H A Diommu.c184 static int clear_avail_iommu_bnk_cntr(struct perf_amd_iommu *perf_iommu, in clear_avail_iommu_bnk_cntr() argument
191 max_banks = perf_iommu->max_banks; in clear_avail_iommu_bnk_cntr()
192 max_cntrs = perf_iommu->max_counters; in clear_avail_iommu_bnk_cntr()
199 raw_spin_lock_irqsave(&perf_iommu->lock, flags); in clear_avail_iommu_bnk_cntr()
200 perf_iommu->cntr_assign_mask &= ~(1ULL<<shift); in clear_avail_iommu_bnk_cntr()
201 raw_spin_unlock_irqrestore(&perf_iommu->lock, flags); in clear_avail_iommu_bnk_cntr()
368 struct perf_amd_iommu *perf_iommu = in perf_iommu_del() local
374 clear_avail_iommu_bnk_cntr(perf_iommu, in perf_iommu_del()
420 struct perf_amd_iommu *perf_iommu; in init_one_iommu() local
423 perf_iommu = kzalloc(sizeof(struct perf_amd_iommu), GFP_KERNEL); in init_one_iommu()
[all …]