Home
last modified time | relevance | path

Searched refs:aper (Results 1 – 4 of 4) sorted by relevance

/arch/alpha/kernel/
Dcore_titan.c592 struct titan_agp_aperture *aper; in titan_agp_setup() local
597 aper = kmalloc(sizeof(struct titan_agp_aperture), GFP_KERNEL); in titan_agp_setup()
598 if (aper == NULL) in titan_agp_setup()
601 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
602 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
603 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
604 aper->pg_count - 1); in titan_agp_setup()
605 if (aper->pg_start < 0) { in titan_agp_setup()
607 kfree(aper); in titan_agp_setup()
612 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
[all …]
Dcore_marvel.c909 struct marvel_agp_aperture *aper; in marvel_agp_setup() local
914 aper = kmalloc(sizeof(*aper), GFP_KERNEL); in marvel_agp_setup()
915 if (aper == NULL) return -ENOMEM; in marvel_agp_setup()
917 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
918 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
919 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
920 aper->pg_count - 1); in marvel_agp_setup()
922 if (aper->pg_start < 0) { in marvel_agp_setup()
924 kfree(aper); in marvel_agp_setup()
929 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
[all …]
/arch/x86/kernel/
Daperture_64.c162 u64 aper; in read_agp() local
187 aper = (aper_low & ~((1<<22)-1)) | ((u64)aper_hi << 32); in read_agp()
194 bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1, in read_agp()
196 if (aper + (32ULL<<(20 + *order)) > 0x100000000ULL) { in read_agp()
203 bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1, in read_agp()
206 if (!aperture_valid(aper, (32*1024*1024) << *order, 32<<20)) in read_agp()
208 return (u32)aper; in read_agp()
Damd_gart_64.c498 static __init unsigned long check_iommu_size(unsigned long aper, u64 aper_size) in check_iommu_size() argument
508 a = aper + iommu_size; in check_iommu_size()