Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c593 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg() local
597 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg()
600 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg()
601 readl(pcie_index_offset); in amdgpu_device_indirect_rreg()
623 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg64() local
627 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg64()
631 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg64()
632 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64()
635 writel(reg_addr + 4, pcie_index_offset); in amdgpu_device_indirect_rreg64()
636 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64()
[all …]