Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/mgag200/
Dmgag200_drv.c117 mdev->rmmio_size = pci_resource_len(pdev, 1); in mgag200_regs_init()
120 mdev->rmmio_size, "mgadrmfb_mmio")) { in mgag200_regs_init()
Dmgag200_drv.h218 resource_size_t rmmio_size; member
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c219 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in acp_hw_init()
Damdgpu_device.c450 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_rreg()
487 if (offset < adev->rmmio_size) in amdgpu_mm_rreg8()
512 if (offset < adev->rmmio_size) in amdgpu_mm_wreg8()
535 if ((reg * 4) < adev->rmmio_size) { in amdgpu_device_wreg()
571 } else if ((reg * 4) >= adev->rmmio_size) { in amdgpu_mm_wreg_mmio_rlc()
3651 adev->rmmio_size = pci_resource_len(adev->pdev, 5); in amdgpu_device_init()
3654 adev->rmmio_size = pci_resource_len(adev->pdev, 2); in amdgpu_device_init()
3660 adev->rmmio = ioremap(adev->rmmio_base, adev->rmmio_size); in amdgpu_device_init()
3665 DRM_INFO("register mmio size: %u\n", (unsigned)adev->rmmio_size); in amdgpu_device_init()
Damdgpu.h793 resource_size_t rmmio_size; member
Damdgpu_debugfs.c1275 i_size_write(ent->d_inode, adev->rmmio_size); in amdgpu_debugfs_regs_init()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c720 resource_size_t rmmio_size; in vmw_setup_pci_resources() local
735 rmmio_size = pci_resource_len(pdev, 0); in vmw_setup_pci_resources()
741 &rmmio_start, (uint64_t)rmmio_size / 1024); in vmw_setup_pci_resources()
744 rmmio_size); in vmw_setup_pci_resources()
/linux-5.19.10/drivers/gpu/drm/radeon/
Dradeon_device.c1395 rdev->rmmio_size = pci_resource_len(rdev->pdev, 5); in radeon_device_init()
1398 rdev->rmmio_size = pci_resource_len(rdev->pdev, 2); in radeon_device_init()
1400 rdev->rmmio = ioremap(rdev->rmmio_base, rdev->rmmio_size); in radeon_device_init()
Dradeon.h2365 resource_size_t rmmio_size; member
2501 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_rreg()
2509 if ((reg < rdev->rmmio_size || reg < RADEON_MIN_MMIO_SIZE) && !always_indirect) in r100_mm_wreg()