Home
last modified time | relevance | path

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

/linux/drivers/iommu/amd/
H A Ddebugfs.c31 iommu->dbg_mmio_offset = -1; in iommu_mmio_write()
36 ret = kstrtou32_from_user(ubuf, cnt, 0, &iommu->dbg_mmio_offset); in iommu_mmio_write()
40 if (iommu->dbg_mmio_offset > iommu->mmio_phys_end - sizeof(u64)) { in iommu_mmio_write()
41 iommu->dbg_mmio_offset = -1; in iommu_mmio_write()
53 if (iommu->dbg_mmio_offset < 0) { in iommu_mmio_show()
58 value = readq(iommu->mmio_base + iommu->dbg_mmio_offset); in iommu_mmio_show()
59 seq_printf(m, "Offset:0x%x Value:0x%016llx\n", iommu->dbg_mmio_offset, value); in iommu_mmio_show()
372 iommu->dbg_mmio_offset = -1; in amd_iommu_debugfs_setup()
H A Damd_iommu_types.h765 int dbg_mmio_offset; member