Lines Matching refs:rmmio
175 ret = readl(((void __iomem *)adev->rmmio) + (reg * 4)); in amdgpu_mm_rreg()
180 writel((reg * 4), ((void __iomem *)adev->rmmio) + (mmMM_INDEX * 4)); in amdgpu_mm_rreg()
181 ret = readl(((void __iomem *)adev->rmmio) + (mmMM_DATA * 4)); in amdgpu_mm_rreg()
204 return (readb(adev->rmmio + offset)); in amdgpu_mm_rreg8()
225 writeb(value, adev->rmmio + offset); in amdgpu_mm_wreg8()
253 writel(v, ((void __iomem *)adev->rmmio) + (reg * 4)); in amdgpu_mm_wreg()
258 writel((reg * 4), ((void __iomem *)adev->rmmio) + (mmMM_INDEX * 4)); in amdgpu_mm_wreg()
259 writel(v, ((void __iomem *)adev->rmmio) + (mmMM_DATA * 4)); in amdgpu_mm_wreg()
2679 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init()
2680 if (adev->rmmio == NULL) { in amdgpu_device_init()
2981 iounmap(adev->rmmio); in amdgpu_device_fini()
2982 adev->rmmio = NULL; in amdgpu_device_fini()