Home
last modified time | relevance | path

Searched refs:aper_base_kaddr (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dpsp_v13_0.c540 if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { in psp_v13_0_memory_training()
543 adev->mman.aper_base_kaddr); in psp_v13_0_memory_training()
554 memcpy_fromio(buf, adev->mman.aper_base_kaddr, sz); in psp_v13_0_memory_training()
563 memcpy_toio(adev->mman.aper_base_kaddr, buf, sz); in psp_v13_0_memory_training()
Dpsp_v11_0.c640 if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { in psp_v11_0_memory_training()
643 adev->mman.aper_base_kaddr); in psp_v11_0_memory_training()
654 memcpy_fromio(buf, adev->mman.aper_base_kaddr, sz); in psp_v11_0_memory_training()
663 memcpy_toio(adev->mman.aper_base_kaddr, buf, sz); in psp_v11_0_memory_training()
Damdgpu_ttm.c590 if (adev->mman.aper_base_kaddr && in amdgpu_ttm_io_mem_reserve()
592 mem->bus.addr = (u8 *)adev->mman.aper_base_kaddr + in amdgpu_ttm_io_mem_reserve()
1758 adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base, in amdgpu_ttm_init()
1763 adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, in amdgpu_ttm_init()
1911 if (adev->mman.aper_base_kaddr) in amdgpu_ttm_fini()
1912 iounmap(adev->mman.aper_base_kaddr); in amdgpu_ttm_fini()
1913 adev->mman.aper_base_kaddr = NULL; in amdgpu_ttm_fini()
Damdgpu_ttm.h53 void __iomem *aper_base_kaddr; member
Damdgpu_device.c362 if (!adev->mman.aper_base_kaddr) in amdgpu_device_aper_access()
367 addr = adev->mman.aper_base_kaddr + pos; in amdgpu_device_aper_access()
4015 if (adev->mman.aper_base_kaddr) in amdgpu_device_unmap_mmio()
4016 iounmap(adev->mman.aper_base_kaddr); in amdgpu_device_unmap_mmio()
4017 adev->mman.aper_base_kaddr = NULL; in amdgpu_device_unmap_mmio()