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.c3918 u8 fxn, u64 *value, bool is_write) in iommu_pc_get_set_reg() argument
3928 if (WARN_ON(!iommu || (fxn > 0x28) || (fxn & 7))) in iommu_pc_get_set_reg()
3931 offset = (u32)(((0x40 | bank) << 12) | (cntr << 8) | fxn); in iommu_pc_get_set_reg()
3955 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
3960 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, false); in amd_iommu_pc_get_reg()
3963 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
3968 return iommu_pc_get_set_reg(iommu, bank, cntr, fxn, value, true); in amd_iommu_pc_set_reg()