Home
last modified time | relevance | path

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

/drivers/gpu/drm/mgag200/
Dmgag200_drv.h38 #define RREG8(reg) ioread8(((void __iomem *)mdev->rmmio) + (reg))
39 #define WREG8(reg, v) iowrite8(v, ((void __iomem *)mdev->rmmio) + (reg))
40 #define RREG32(reg) ioread32(((void __iomem *)mdev->rmmio) + (reg))
41 #define WREG32(reg, v) iowrite32(v, ((void __iomem *)mdev->rmmio) + (reg))
176 void __iomem *rmmio; member
Dmgag200_main.c116 mdev->rmmio = pcim_iomap(dev->pdev, 1, 0); in mgag200_device_init()
117 if (mdev->rmmio == NULL) in mgag200_device_init()
/drivers/gpu/drm/cirrus/
Dcirrus_drv.h36 #define RREG8(reg) ioread8(((void __iomem *)cdev->rmmio) + (reg))
37 #define WREG8(reg, v) iowrite8(v, ((void __iomem *)cdev->rmmio) + (reg))
38 #define RREG32(reg) ioread32(((void __iomem *)cdev->rmmio) + (reg))
39 #define WREG32(reg, v) iowrite32(v, ((void __iomem *)cdev->rmmio) + (reg))
126 void __iomem *rmmio; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c175 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()
[all …]
Damdgpu_kms.c88 if (adev->rmmio == NULL) in amdgpu_driver_unload_kms()
196 if (adev->rmmio && amdgpu_device_is_px(dev)) in amdgpu_driver_load_kms()
Damdgpu.h823 void __iomem *rmmio; member
/drivers/gpu/drm/radeon/
Dradeon_device.c1411 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init()
1412 if (rdev->rmmio == NULL) in radeon_device_init()
1543 iounmap(rdev->rmmio); in radeon_device_fini()
1544 rdev->rmmio = NULL; in radeon_device_fini()
Dradeon.h2354 void __iomem *rmmio; member
2471 return readl(((void __iomem *)rdev->rmmio) + reg); in r100_mm_rreg()
2479 writel(v, ((void __iomem *)rdev->rmmio) + reg); in r100_mm_wreg()
2508 #define RREG8(reg) readb((rdev->rmmio) + (reg))
2509 #define WREG8(reg, v) writeb(v, (rdev->rmmio) + (reg))
2510 #define RREG16(reg) readw((rdev->rmmio) + (reg))
2511 #define WREG16(reg, v) writew(v, (rdev->rmmio) + (reg))
Dradeon_kms.c67 if (rdev->rmmio == NULL) in radeon_driver_unload_kms()
Dr100.c4120 writel(reg, ((void __iomem *)rdev->rmmio) + RADEON_MM_INDEX); in r100_mm_rreg_slow()
4121 ret = readl(((void __iomem *)rdev->rmmio) + RADEON_MM_DATA); in r100_mm_rreg_slow()
4131 writel(reg, ((void __iomem *)rdev->rmmio) + RADEON_MM_INDEX); in r100_mm_wreg_slow()
4132 writel(v, ((void __iomem *)rdev->rmmio) + RADEON_MM_DATA); in r100_mm_wreg_slow()
/drivers/misc/habanalabs/
Ddevice.c1420 return readl(hdev->rmmio + reg); in hl_rreg()
1435 writel(val, hdev->rmmio + reg); in hl_wreg()
Dhabanalabs.h1257 void __iomem *rmmio; member
/drivers/misc/habanalabs/goya/
Dgoya.c417 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()