Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/mgag200/
A Dmgag200_drv.h37 #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 Dmgag200_drv.c132 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 Damdgpu_virt.c976 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 Damdgpu_device.c465 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 Damdgpu.h806 void __iomem *rmmio; member
A Damdgpu_kms.c89 if (adev->rmmio == NULL) in amdgpu_driver_unload_kms()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_device.c1403 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 Dradeon.h2392 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 Dradeon_kms.c69 if (rdev->rmmio == NULL) in radeon_driver_unload_kms()
A Dr100.c4106 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 Dvmwgfx_drv.h532 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 Dvmwgfx_drv.c739 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 Ddevice.c2422 u32 val = readl(hdev->rmmio + reg); in hl_rreg()
2445 writel(val, hdev->rmmio + reg); in hl_wreg()
A Dhabanalabs.h3276 void __iomem *rmmio; member
/linux-6.3-rc2/drivers/accel/habanalabs/goya/
A Dgoya.c518 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi/
A Dgaudi.c719 hdev->rmmio = hdev->pcie_bar[CFG_BAR_ID] + in gaudi_pci_bars_map()
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi2/
A Dgaudi2.c2141 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + (CFG_BASE - STM_FLASH_BASE_ADDR); in gaudi2_pci_bars_map()

Completed in 135 milliseconds