Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_device.c986 if (rdev->rio_mem) { in radeon_atombios_init()
1424 rdev->rio_mem = pci_iomap(rdev->pdev, i, rdev->rio_mem_size); in radeon_device_init()
1428 if (rdev->rio_mem == NULL) in radeon_device_init()
1541 if (rdev->rio_mem) in radeon_device_fini()
1542 pci_iounmap(rdev->pdev, rdev->rio_mem); in radeon_device_fini()
1543 rdev->rio_mem = NULL; in radeon_device_fini()
Dr100.c4139 return ioread32(rdev->rio_mem + reg); in r100_io_rreg()
4141 iowrite32(reg, rdev->rio_mem + RADEON_MM_INDEX); in r100_io_rreg()
4142 return ioread32(rdev->rio_mem + RADEON_MM_DATA); in r100_io_rreg()
4149 iowrite32(v, rdev->rio_mem + reg); in r100_io_wreg()
4151 iowrite32(reg, rdev->rio_mem + RADEON_MM_INDEX); in r100_io_wreg()
4152 iowrite32(v, rdev->rio_mem + RADEON_MM_DATA); in r100_io_wreg()
Dradeon.h2369 void __iomem *rio_mem; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c461 return ioread32(adev->rio_mem + (reg * 4)); in amdgpu_io_rreg()
463 iowrite32((reg * 4), adev->rio_mem + (mmMM_INDEX * 4)); in amdgpu_io_rreg()
464 return ioread32(adev->rio_mem + (mmMM_DATA * 4)); in amdgpu_io_rreg()
483 iowrite32(v, adev->rio_mem + (reg * 4)); in amdgpu_io_wreg()
485 iowrite32((reg * 4), adev->rio_mem + (mmMM_INDEX * 4)); in amdgpu_io_wreg()
486 iowrite32(v, adev->rio_mem + (mmMM_DATA * 4)); in amdgpu_io_wreg()
3309 adev->rio_mem = pci_iomap(adev->pdev, i, adev->rio_mem_size); in amdgpu_device_init()
3313 if (adev->rio_mem == NULL) in amdgpu_device_init()
3612 if (adev->rio_mem) in amdgpu_device_fini()
3613 pci_iounmap(adev->pdev, adev->rio_mem); in amdgpu_device_fini()
[all …]
Damdgpu.h813 void __iomem *rio_mem; member
Damdgpu_atombios.c2002 if (adev->rio_mem) { in amdgpu_atombios_init()