Home
last modified time | relevance | path

Searched refs:aper_base (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
Daperture_64.c262 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local
288 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
289 aper_base <<= 25; in early_gart_iommu_check()
293 (aper_base != last_aper_base) || in early_gart_iommu_check()
301 last_aper_base = aper_base; in early_gart_iommu_check()
310 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
314 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check()
318 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
319 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check()
354 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local
[all …]
Damd_gart_64.c551 u64 aper_base; in read_aperture() local
557 aper_base = aper_base_32 & 0x7fff; in read_aperture()
558 aper_base <<= 25; in read_aperture()
561 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture()
562 aper_base = 0; in read_aperture()
565 return aper_base; in read_aperture()
645 unsigned aper_base, new_aper_base; in init_amd_gatt() local
652 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt()
660 if (!aper_base) { in init_amd_gatt()
662 aper_base = new_aper_base; in init_amd_gatt()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Dgart.h91 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument
93 if (!aper_base) in aperture_valid()
96 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid()
100 if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { in aperture_valid()
/linux-4.1.27/include/linux/
Dagp_backend.h50 unsigned long aper_base; member
Dagpgart.h39 unsigned long aper_base;/* base of aperture */ member
/linux-4.1.27/include/uapi/linux/
Dagpgart.h65 unsigned long aper_base;/* base of aperture */ member
/linux-4.1.27/drivers/char/agp/
Dcompat_ioctl.c50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
Dcompat_ioctl.h48 compat_long_t aper_base; /* base of aperture */ member
Damd64-agp.c155 u64 aper_base; in amd64_configure() local
160 aper_base = (aperturebase & PCI_BASE_ADDRESS_MEM_MASK); in amd64_configure()
164 return aper_base; in amd64_configure()
Dfrontend.c604 (kerninfo.aper_base + offset) >> PAGE_SHIFT, in agp_mmap()
621 kerninfo.aper_base >> PAGE_SHIFT, in agp_mmap()
726 userinfo.aper_base = kerninfo.aper_base; in agpioc_info_wrap()
Dgeneric.c383 info->aper_base = bridge->gart_bus_addr; in agp_copy_info()
/linux-4.1.27/drivers/video/fbdev/aty/
Dradeon_base.c1919 u32 aper_base, aper_size; in fixup_memory_mappings() local
1934 aper_base = INREG(CNFG_APER_0_BASE); in fixup_memory_mappings()
1940 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings()
1941 rinfo->fb_local_base = aper_base; in fixup_memory_mappings()
1946 agp_base = aper_base + aper_size; in fixup_memory_mappings()
1948 agp_base = (aper_base | 0x0fffffff) + 1; in fixup_memory_mappings()
1964 OUTREG(DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings()
1966 OUTREG(CRTC2_DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings()
1967 OUTREG(OV0_BASE_ADDR, aper_base); in fixup_memory_mappings()
1983 aper_base, in fixup_memory_mappings()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_agpsupport.c66 info->aperture_base = kern->aper_base; in drm_agp_info()
423 head->base = head->agp_info.aper_base; in drm_agp_init()
Ddrm_pci.c242 dev->agp->agp_info.aper_base, in drm_pci_agp_init()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_fb.c283 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeonfb_create()
313 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeonfb_create()
Dradeon_agp.c241 rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; in radeon_agp_init()
Drs690.c160 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs690_mc_init()
191 (unsigned long long)rdev->mc.aper_base, k8_addr); in rs690_mc_init()
192 rdev->mc.aper_base = (resource_size_t)k8_addr; in rs690_mc_init()
Dradeon_object.c446 rdev->mc.vram_mtrr = arch_phys_wc_add(rdev->mc.aper_base, in radeon_bo_init()
Drs600.c868 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs600_mc_init()
Dr300.c464 base = rdev->mc.aper_base; in r300_mc_init()
Dradeon_ttm.c480 mem->bus.base = rdev->mc.aper_base; in radeon_ttm_io_mem_reserve()
Dr600.c1414 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r600_mc_init()
1441 (unsigned long long)rdev->mc.aper_base, k8_addr); in r600_mc_init()
1442 rdev->mc.aper_base = (resource_size_t)k8_addr; in r600_mc_init()
Drv770.c1672 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rv770_mc_init()
Dradeon_display.c1594 rdev->ddev->mode_config.fb_base = rdev->mc.aper_base; in radeon_modeset_init()
Dr100.c2779 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r100_vram_init_sizes()
2835 base = rdev->mc.aper_base; in r100_mc_init()
Dradeon.h676 resource_size_t aper_base; member
Devergreen.c3788 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in evergreen_mc_init()
Dsi.c4243 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in si_mc_init()
Dcik.c5760 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in cik_mc_init()