Home
last modified time | relevance | path

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

/drivers/iommu/amd/
A Ddebugfs.c72 iommu->dbg_cap_offset = -1; in iommu_capability_write()
77 ret = kstrtou32_from_user(ubuf, cnt, 0, &iommu->dbg_cap_offset); in iommu_capability_write()
82 if (iommu->dbg_cap_offset > 0x14) { in iommu_capability_write()
83 iommu->dbg_cap_offset = -1; in iommu_capability_write()
96 if (iommu->dbg_cap_offset < 0) { in iommu_capability_show()
101 err = pci_read_config_dword(iommu->dev, iommu->cap_ptr + iommu->dbg_cap_offset, &value); in iommu_capability_show()
104 iommu->dbg_cap_offset); in iommu_capability_show()
108 seq_printf(m, "Offset:0x%x Value:0x%08x\n", iommu->dbg_cap_offset, value); in iommu_capability_show()
373 iommu->dbg_cap_offset = -1; in amd_iommu_debugfs_setup()
A Damd_iommu_types.h799 int dbg_cap_offset; member

Completed in 9 milliseconds