Searched refs:rmmio_size (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/cirrus/ |
D | cirrus_main.c | 133 cdev->rmmio_size = pci_resource_len(cdev->dev->pdev, 1); in cirrus_device_init() 135 if (!request_mem_region(cdev->rmmio_base, cdev->rmmio_size, in cirrus_device_init() 141 cdev->rmmio = ioremap(cdev->rmmio_base, cdev->rmmio_size); in cirrus_device_init() 148 release_mem_region(cdev->rmmio_base, cdev->rmmio_size); in cirrus_device_init() 157 release_mem_region(cdev->rmmio_base, cdev->rmmio_size); in cirrus_device_fini()
|
D | cirrus_drv.h | 135 resource_size_t rmmio_size; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 79 if ((reg * 4) < adev->rmmio_size && !always_indirect) in amdgpu_mm_rreg() 97 if ((reg * 4) < adev->rmmio_size && !always_indirect) in amdgpu_mm_wreg() 1438 adev->rmmio_size = pci_resource_len(adev->pdev, 5); in amdgpu_device_init() 1439 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init() 1444 DRM_INFO("register mmio size: %u\n", (unsigned)adev->rmmio_size); in amdgpu_device_init() 1976 if (*pos > adev->rmmio_size) in amdgpu_debugfs_regs_read() 2006 if (*pos > adev->rmmio_size) in amdgpu_debugfs_regs_write() 2040 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
|
D | amdgpu.h | 1997 resource_size_t rmmio_size; member
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_main.c | 174 mdev->rmmio_size = pci_resource_len(mdev->dev->pdev, 1); in mgag200_device_init() 176 if (!devm_request_mem_region(mdev->dev->dev, mdev->rmmio_base, mdev->rmmio_size, in mgag200_device_init()
|
D | mgag200_drv.h | 193 resource_size_t rmmio_size; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 1427 rdev->rmmio_size = pci_resource_len(rdev->pdev, 5); in radeon_device_init() 1430 rdev->rmmio_size = pci_resource_len(rdev->pdev, 2); in radeon_device_init() 1432 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init() 1437 DRM_INFO("register mmio size: %u\n", (unsigned)rdev->rmmio_size); in radeon_device_init()
|
D | radeon.h | 2335 resource_size_t rmmio_size; member 2484 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_rreg() 2492 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_wreg()
|