Lines Matching refs:pcie_data_offset
840 void __iomem *pcie_data_offset; in amdgpu_device_indirect_rreg() local
848 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_rreg()
852 r = readl(pcie_data_offset); in amdgpu_device_indirect_rreg()
865 void __iomem *pcie_data_offset; in amdgpu_device_indirect_rreg_ext() local
886 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_rreg_ext()
897 r = readl(pcie_data_offset); in amdgpu_device_indirect_rreg_ext()
923 void __iomem *pcie_data_offset; in amdgpu_device_indirect_rreg64() local
931 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_rreg64()
936 r = readl(pcie_data_offset); in amdgpu_device_indirect_rreg64()
940 r |= ((u64)readl(pcie_data_offset) << 32); in amdgpu_device_indirect_rreg64()
953 void __iomem *pcie_data_offset; in amdgpu_device_indirect_rreg64_ext() local
963 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_rreg64_ext()
975 r = readl(pcie_data_offset); in amdgpu_device_indirect_rreg64_ext()
983 r |= ((u64)readl(pcie_data_offset) << 32); in amdgpu_device_indirect_rreg64_ext()
1009 void __iomem *pcie_data_offset; in amdgpu_device_indirect_wreg() local
1016 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_wreg()
1020 writel(reg_data, pcie_data_offset); in amdgpu_device_indirect_wreg()
1021 readl(pcie_data_offset); in amdgpu_device_indirect_wreg()
1031 void __iomem *pcie_data_offset; in amdgpu_device_indirect_wreg_ext() local
1042 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_wreg_ext()
1053 writel(reg_data, pcie_data_offset); in amdgpu_device_indirect_wreg_ext()
1054 readl(pcie_data_offset); in amdgpu_device_indirect_wreg_ext()
1078 void __iomem *pcie_data_offset; in amdgpu_device_indirect_wreg64() local
1085 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_wreg64()
1090 writel((u32)(reg_data & 0xffffffffULL), pcie_data_offset); in amdgpu_device_indirect_wreg64()
1091 readl(pcie_data_offset); in amdgpu_device_indirect_wreg64()
1095 writel((u32)(reg_data >> 32), pcie_data_offset); in amdgpu_device_indirect_wreg64()
1096 readl(pcie_data_offset); in amdgpu_device_indirect_wreg64()
1107 void __iomem *pcie_data_offset; in amdgpu_device_indirect_wreg64_ext() local
1116 pcie_data_offset = (void __iomem *)adev->rmmio + pcie_data * 4; in amdgpu_device_indirect_wreg64_ext()
1128 writel((u32)(reg_data & 0xffffffffULL), pcie_data_offset); in amdgpu_device_indirect_wreg64_ext()
1129 readl(pcie_data_offset); in amdgpu_device_indirect_wreg64_ext()
1137 writel((u32)(reg_data >> 32), pcie_data_offset); in amdgpu_device_indirect_wreg64_ext()
1138 readl(pcie_data_offset); in amdgpu_device_indirect_wreg64_ext()