Searched refs:rmmio (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/mgag200/ |
D | mgag200_drv.h | 38 #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
|
D | mgag200_main.c | 116 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/ |
D | cirrus_drv.h | 36 #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/ |
D | amdgpu_device.c | 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() [all …]
|
D | amdgpu_kms.c | 88 if (adev->rmmio == NULL) in amdgpu_driver_unload_kms() 196 if (adev->rmmio && amdgpu_device_is_px(dev)) in amdgpu_driver_load_kms()
|
D | amdgpu.h | 823 void __iomem *rmmio; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 1411 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()
|
D | radeon.h | 2354 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))
|
D | radeon_kms.c | 67 if (rdev->rmmio == NULL) in radeon_driver_unload_kms()
|
D | r100.c | 4120 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/ |
D | device.c | 1420 return readl(hdev->rmmio + reg); in hl_rreg() 1435 writel(val, hdev->rmmio + reg); in hl_wreg()
|
D | habanalabs.h | 1257 void __iomem *rmmio; member
|
/drivers/misc/habanalabs/goya/ |
D | goya.c | 417 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
|