Home
last modified time | relevance | path

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

/drivers/gpu/drm/cirrus/
Dcirrus_main.c133 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()
Dcirrus_drv.h135 resource_size_t rmmio_size; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c79 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()
Damdgpu.h1997 resource_size_t rmmio_size; member
/drivers/gpu/drm/mgag200/
Dmgag200_main.c174 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()
Dmgag200_drv.h193 resource_size_t rmmio_size; member
/drivers/gpu/drm/radeon/
Dradeon_device.c1427 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()
Dradeon.h2335 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()