Home
last modified time | relevance | path

Searched refs:rmmio_size (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/mgag200/
Dmgag200_drv.c109 mdev->rmmio_size = pci_resource_len(dev->pdev, 1); in mgag200_regs_init()
112 mdev->rmmio_size, "mgadrmfb_mmio")) { in mgag200_regs_init()
Dmgag200_drv.h159 resource_size_t rmmio_size; member
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c209 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in acp_hw_init()
Damdgpu_device.c326 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_rreg()
363 if (offset < adev->rmmio_size) in amdgpu_mm_rreg8()
388 if (offset < adev->rmmio_size) in amdgpu_mm_wreg8()
411 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_wreg()
3277 adev->rmmio_size = pci_resource_len(adev->pdev, 5); in amdgpu_device_init()
3280 adev->rmmio_size = pci_resource_len(adev->pdev, 2); in amdgpu_device_init()
3283 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init()
3288 DRM_INFO("register mmio size: %u\n", (unsigned)adev->rmmio_size); in amdgpu_device_init()
Damdgpu.h775 resource_size_t rmmio_size; member
Damdgpu_debugfs.c1228 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_device.c1406 rdev->rmmio_size = pci_resource_len(rdev->pdev, 5); in radeon_device_init()
1409 rdev->rmmio_size = pci_resource_len(rdev->pdev, 2); in radeon_device_init()
1411 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init()
Dradeon.h2334 resource_size_t rmmio_size; member
2475 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_rreg()
2483 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_wreg()