Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/mgag200/
Dmgag200_main.c107 mdev->rmmio_size = pci_resource_len(mdev->dev->pdev, 1); in mgag200_device_init()
109 if (!devm_request_mem_region(mdev->dev->dev, mdev->rmmio_base, mdev->rmmio_size, in mgag200_device_init()
Dmgag200_drv.h169 resource_size_t rmmio_size; member
/Linux-v5.4/drivers/gpu/drm/cirrus/
Dcirrus_drv.h125 resource_size_t rmmio_size; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c212 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in acp_hw_init()
Damdgpu_device.c174 if ((reg * 4) < adev->rmmio_size && !(acc_flags & AMDGPU_REGS_IDX)) in amdgpu_mm_rreg()
203 if (offset < adev->rmmio_size) in amdgpu_mm_rreg8()
224 if (offset < adev->rmmio_size) in amdgpu_mm_wreg8()
252 if ((reg * 4) < adev->rmmio_size && !(acc_flags & AMDGPU_REGS_IDX)) in amdgpu_mm_wreg()
2673 adev->rmmio_size = pci_resource_len(adev->pdev, 5); in amdgpu_device_init()
2676 adev->rmmio_size = pci_resource_len(adev->pdev, 2); in amdgpu_device_init()
2679 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init()
2684 DRM_INFO("register mmio size: %u\n", (unsigned)adev->rmmio_size); in amdgpu_device_init()
Damdgpu_debugfs.c836 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
Damdgpu.h821 resource_size_t rmmio_size; member
/Linux-v5.4/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.h2329 resource_size_t rmmio_size; member
2470 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_rreg()
2478 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_wreg()