Searched refs:rmmio_size (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_acp.c | 251 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in acp_hw_init()
|
D | amdgpu_device.c | 405 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_rreg() 441 if (offset < adev->rmmio_size) in amdgpu_mm_rreg8() 466 if (offset < adev->rmmio_size) in amdgpu_mm_wreg8() 489 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_wreg() 526 } else if ((reg * 4) >= adev->rmmio_size) { in amdgpu_mm_wreg_mmio_rlc() 3619 adev->rmmio_size = pci_resource_len(adev->pdev, 5); in amdgpu_device_init() 3622 adev->rmmio_size = pci_resource_len(adev->pdev, 2); in amdgpu_device_init() 3628 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init() 3633 DRM_INFO("register mmio size: %u\n", (unsigned int)adev->rmmio_size); in amdgpu_device_init()
|
D | amdgpu.h | 810 resource_size_t rmmio_size; member
|
D | amdgpu_debugfs.c | 1647 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 726 resource_size_t rmmio_size; in vmw_setup_pci_resources() local 741 rmmio_size = pci_resource_len(pdev, 0); in vmw_setup_pci_resources() 747 &rmmio_start, (uint64_t)rmmio_size / 1024); in vmw_setup_pci_resources() 750 rmmio_size); in vmw_setup_pci_resources()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 1398 rdev->rmmio_size = pci_resource_len(rdev->pdev, 5); in radeon_device_init() 1401 rdev->rmmio_size = pci_resource_len(rdev->pdev, 2); in radeon_device_init() 1403 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init()
|
D | radeon.h | 2326 resource_size_t rmmio_size; member 2462 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_rreg() 2470 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_wreg()
|