Searched refs:rmmio_size (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/mgag200/ |
| D | mgag200_main.c | 107 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()
|
| D | mgag200_drv.h | 169 resource_size_t rmmio_size; member
|
| /Linux-v5.4/drivers/gpu/drm/cirrus/ |
| D | cirrus_drv.h | 125 resource_size_t rmmio_size; member
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_acp.c | 212 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in acp_hw_init()
|
| D | amdgpu_device.c | 174 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()
|
| D | amdgpu_debugfs.c | 836 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
|
| D | amdgpu.h | 821 resource_size_t rmmio_size; member
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | radeon_device.c | 1406 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()
|
| D | radeon.h | 2329 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()
|