Home
last modified time | relevance | path

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

/linux/include/linux/
H A Damd-iommu.h65 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
67 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn,
/linux/drivers/iommu/amd/
H A Dinit.c4017 u8 fxn, u64 *value, bool is_write) in iommu_pc_get_set_reg() argument
4027 if (WARN_ON(!iommu || (fxn > 0x28) || (fxn & 7))) in iommu_pc_get_set_reg()
4030 offset = (u32)(((0x40 | bank) << 12) | (cntr << 8) | fxn); in iommu_pc_get_set_reg()
4054 int amd_iommu_pc_get_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) in amd_iommu_pc_get_reg() argument
4059 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, false); in amd_iommu_pc_get_reg()
4062 int amd_iommu_pc_set_reg(struct amd_iommu *iommu, u8 bank, u8 cntr, u8 fxn, u64 *value) in amd_iommu_pc_set_reg() argument
4067 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, true); in amd_iommu_pc_set_reg()