Lines Matching refs:pcie_index_offset
839 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg() local
847 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg()
850 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg()
851 readl(pcie_index_offset); in amdgpu_device_indirect_rreg()
863 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg_ext() local
885 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg_ext()
891 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg_ext()
892 readl(pcie_index_offset); in amdgpu_device_indirect_rreg_ext()
922 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg64() local
930 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg64()
934 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg64()
935 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64()
938 writel(reg_addr + 4, pcie_index_offset); in amdgpu_device_indirect_rreg64()
939 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64()
951 void __iomem *pcie_index_offset; in amdgpu_device_indirect_rreg64_ext() local
962 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_rreg64_ext()
969 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_rreg64_ext()
970 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64_ext()
977 writel(reg_addr + 4, pcie_index_offset); in amdgpu_device_indirect_rreg64_ext()
978 readl(pcie_index_offset); in amdgpu_device_indirect_rreg64_ext()
1008 void __iomem *pcie_index_offset; in amdgpu_device_indirect_wreg() local
1015 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_wreg()
1018 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_wreg()
1019 readl(pcie_index_offset); in amdgpu_device_indirect_wreg()
1029 void __iomem *pcie_index_offset; in amdgpu_device_indirect_wreg_ext() local
1041 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_wreg_ext()
1047 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_wreg_ext()
1048 readl(pcie_index_offset); in amdgpu_device_indirect_wreg_ext()
1077 void __iomem *pcie_index_offset; in amdgpu_device_indirect_wreg64() local
1084 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_wreg64()
1088 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_wreg64()
1089 readl(pcie_index_offset); in amdgpu_device_indirect_wreg64()
1093 writel(reg_addr + 4, pcie_index_offset); in amdgpu_device_indirect_wreg64()
1094 readl(pcie_index_offset); in amdgpu_device_indirect_wreg64()
1105 void __iomem *pcie_index_offset; in amdgpu_device_indirect_wreg64_ext() local
1115 pcie_index_offset = (void __iomem *)adev->rmmio + pcie_index * 4; in amdgpu_device_indirect_wreg64_ext()
1122 writel(reg_addr, pcie_index_offset); in amdgpu_device_indirect_wreg64_ext()
1123 readl(pcie_index_offset); in amdgpu_device_indirect_wreg64_ext()
1131 writel(reg_addr + 4, pcie_index_offset); in amdgpu_device_indirect_wreg64_ext()
1132 readl(pcie_index_offset); in amdgpu_device_indirect_wreg64_ext()