Searched refs:rmmio (Results 1 – 17 of 17) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/mgag200/ |
A D | mgag200_drv.h | 37 #define RREG8(reg) ioread8(((void __iomem *)mdev->rmmio) + (reg)) 38 #define WREG8(reg, v) iowrite8(v, ((void __iomem *)mdev->rmmio) + (reg)) 39 #define RREG32(reg) ioread32(((void __iomem *)mdev->rmmio) + (reg)) 40 #define WREG32(reg, v) iowrite32(v, ((void __iomem *)mdev->rmmio) + (reg)) 287 void __iomem *rmmio; member
|
A D | mgag200_drv.c | 132 mdev->rmmio = pcim_iomap(pdev, 1, 0); in mgag200_device_preinit() 133 if (!mdev->rmmio) in mgag200_device_preinit()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_virt.c | 976 scratch_reg0 = (void __iomem *)adev->rmmio + 4 * reg_access_ctrl->scratch_reg0; in amdgpu_virt_rlcg_reg_rw() 977 scratch_reg1 = (void __iomem *)adev->rmmio + 4 * reg_access_ctrl->scratch_reg1; in amdgpu_virt_rlcg_reg_rw() 978 scratch_reg2 = (void __iomem *)adev->rmmio + 4 * reg_access_ctrl->scratch_reg2; in amdgpu_virt_rlcg_reg_rw() 979 scratch_reg3 = (void __iomem *)adev->rmmio + 4 * reg_access_ctrl->scratch_reg3; in amdgpu_virt_rlcg_reg_rw() 981 spare_int = (void __iomem *)adev->rmmio + 4 * reg_access_ctrl->spare_int; in amdgpu_virt_rlcg_reg_rw() 987 writel(v, ((void __iomem *)adev->rmmio) + (offset * 4)); in amdgpu_virt_rlcg_reg_rw() 992 writel(v, ((void __iomem *)adev->rmmio) + (offset * 4)); in amdgpu_virt_rlcg_reg_rw()
|
A D | amdgpu_device.c | 465 ret = readl(((void __iomem *)adev->rmmio) + (reg * 4)); in amdgpu_device_rreg() 496 return (readb(adev->rmmio + offset)); in amdgpu_mm_rreg8() 521 writeb(value, adev->rmmio + offset); in amdgpu_mm_wreg8() 550 writel(v, ((void __iomem *)adev->rmmio) + (reg * 4)); in amdgpu_device_wreg() 582 writel(v, ((void __iomem *)adev->rmmio) + (reg * 4)); in amdgpu_mm_wreg_mmio_rlc() 3669 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init() 3670 if (adev->rmmio == NULL) { in amdgpu_device_init() 3966 iounmap(adev->rmmio); in amdgpu_device_unmap_mmio() 3967 adev->rmmio = NULL; in amdgpu_device_unmap_mmio() 4069 iounmap(adev->rmmio); in amdgpu_device_fini_sw() [all …]
|
A D | amdgpu.h | 806 void __iomem *rmmio; member
|
A D | amdgpu_kms.c | 89 if (adev->rmmio == NULL) in amdgpu_driver_unload_kms()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_device.c | 1403 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init() 1404 if (rdev->rmmio == NULL) in radeon_device_init() 1530 iounmap(rdev->rmmio); in radeon_device_fini() 1531 rdev->rmmio = NULL; in radeon_device_fini()
|
A D | radeon.h | 2392 void __iomem *rmmio; member 2504 return readl(((void __iomem *)rdev->rmmio) + reg); in r100_mm_rreg() 2512 writel(v, ((void __iomem *)rdev->rmmio) + reg); in r100_mm_wreg() 2541 #define RREG8(reg) readb((rdev->rmmio) + (reg)) 2542 #define WREG8(reg, v) writeb(v, (rdev->rmmio) + (reg)) 2543 #define RREG16(reg) readw((rdev->rmmio) + (reg)) 2544 #define WREG16(reg, v) writew(v, (rdev->rmmio) + (reg))
|
A D | radeon_kms.c | 69 if (rdev->rmmio == NULL) in radeon_driver_unload_kms()
|
A D | r100.c | 4106 writel(reg, ((void __iomem *)rdev->rmmio) + RADEON_MM_INDEX); in r100_mm_rreg_slow() 4107 ret = readl(((void __iomem *)rdev->rmmio) + RADEON_MM_DATA); in r100_mm_rreg_slow() 4117 writel(reg, ((void __iomem *)rdev->rmmio) + RADEON_MM_INDEX); in r100_mm_wreg_slow() 4118 writel(v, ((void __iomem *)rdev->rmmio) + RADEON_MM_DATA); in r100_mm_wreg_slow()
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_drv.h | 532 u32 __iomem *rmmio; member 719 iowrite32(value, dev_priv->rmmio + offset); in vmw_write() 734 val = ioread32(dev_priv->rmmio + offset); in vmw_read()
|
A D | vmwgfx_drv.c | 739 dev->rmmio = devm_ioremap(dev->drm.dev, in vmw_setup_pci_resources() 742 if (!dev->rmmio) { in vmw_setup_pci_resources()
|
/linux-6.3-rc2/drivers/accel/habanalabs/common/ |
A D | device.c | 2422 u32 val = readl(hdev->rmmio + reg); in hl_rreg() 2445 writel(val, hdev->rmmio + reg); in hl_wreg()
|
A D | habanalabs.h | 3276 void __iomem *rmmio; member
|
/linux-6.3-rc2/drivers/accel/habanalabs/goya/ |
A D | goya.c | 518 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
|
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi/ |
A D | gaudi.c | 719 hdev->rmmio = hdev->pcie_bar[CFG_BAR_ID] + in gaudi_pci_bars_map()
|
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi2/ |
A D | gaudi2.c | 2141 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + (CFG_BASE - STM_FLASH_BASE_ADDR); in gaudi2_pci_bars_map()
|
Completed in 135 milliseconds