Searched refs:iommu_pmu (Results 1 – 3 of 3) sorted by relevance
62 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 …]
627 struct iommu_pmu { struct700 struct iommu_pmu *pmu;
406 static const struct pmu iommu_pmu __initconst = {429 perf_iommu->pmu = iommu_pmu; in init_one_iommu()