Searched refs:iommu_pc_get_set_reg (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.10/drivers/iommu/amd/ |
| D | init.c | 1703 static int iommu_pc_get_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, 1717 if (iommu_pc_get_set_reg(iommu, 0, 0, 0, &save_reg, false)) in init_iommu_perf_ctr() 1721 if ((iommu_pc_get_set_reg(iommu, 0, 0, 0, &val, true)) || in init_iommu_perf_ctr() 1722 (iommu_pc_get_set_reg(iommu, 0, 0, 0, &val2, false)) || in init_iommu_perf_ctr() 1727 if (iommu_pc_get_set_reg(iommu, 0, 0, 0, &save_reg, true)) in init_iommu_perf_ctr() 3155 static int iommu_pc_get_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, in iommu_pc_get_set_reg() function 3198 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, false); in amd_iommu_pc_get_reg() 3207 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, true); in amd_iommu_pc_set_reg()
|