Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/intel/
Dperfmon.c62 static inline struct iommu_pmu *dev_to_iommu_pmu(struct device *dev) in dev_to_iommu_pmu()
68 return container_of(dev_get_drvdata(dev), struct iommu_pmu, pmu); in dev_to_iommu_pmu()
83 struct iommu_pmu *iommu_pmu = dev_to_iommu_pmu(dev); \
85 if (!iommu_pmu) \
87 return (iommu_pmu->filter & _filter) ? attr->mode : 0; \
120 if ((iommu_pmu->filter & _filter) && iommu_pmu_en_##_name(_econfig)) { \
121 dmar_writel(iommu_pmu->cfg_reg + _idx * IOMMU_PMU_CFG_OFFSET + \
130 if (iommu_pmu->filter & _filter) { \
131 dmar_writel(iommu_pmu->cfg_reg + _idx * IOMMU_PMU_CFG_OFFSET + \
157 struct iommu_pmu *iommu_pmu = dev_to_iommu_pmu(dev); \
[all …]
Diommu.h627 struct iommu_pmu { struct
700 struct iommu_pmu *pmu;
/linux-6.6.21/arch/x86/events/amd/
Diommu.c406 static const struct pmu iommu_pmu __initconst = {
429 perf_iommu->pmu = iommu_pmu; in init_one_iommu()