Searched refs:aper (Results 1 – 4 of 4) sorted by relevance
/arch/alpha/kernel/ |
D | core_titan.c | 588 struct titan_agp_aperture *aper; in titan_agp_setup() local 593 aper = kmalloc(sizeof(struct titan_agp_aperture), GFP_KERNEL); in titan_agp_setup() 594 if (aper == NULL) in titan_agp_setup() 597 aper->arena = agp->hose->sg_pci; in titan_agp_setup() 598 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup() 599 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup() 600 aper->pg_count - 1); in titan_agp_setup() 601 if (aper->pg_start < 0) { in titan_agp_setup() 603 kfree(aper); in titan_agp_setup() 608 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup() [all …]
|
D | core_marvel.c | 902 struct marvel_agp_aperture *aper; in marvel_agp_setup() local 907 aper = kmalloc(sizeof(*aper), GFP_KERNEL); in marvel_agp_setup() 908 if (aper == NULL) return -ENOMEM; in marvel_agp_setup() 910 aper->arena = agp->hose->sg_pci; in marvel_agp_setup() 911 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup() 912 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup() 913 aper->pg_count - 1); in marvel_agp_setup() 915 if (aper->pg_start < 0) { in marvel_agp_setup() 917 kfree(aper); in marvel_agp_setup() 922 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup() [all …]
|
/arch/x86/kernel/ |
D | aperture_64.c | 148 u64 aper; in read_agp() local 172 aper = (aper_low & ~((1<<22)-1)) | ((u64)aper_hi << 32); in read_agp() 179 aper, 32 << old_order); in read_agp() 180 if (aper + (32ULL<<(20 + *order)) > 0x100000000ULL) { in read_agp() 187 aper, 32 << *order, apsizereg); in read_agp() 189 if (!aperture_valid(aper, (32*1024*1024) << *order, 32<<20)) in read_agp() 191 return (u32)aper; in read_agp()
|
D | pci-gart_64.c | 530 static __init unsigned long check_iommu_size(unsigned long aper, u64 aper_size) in check_iommu_size() argument 540 a = aper + iommu_size; in check_iommu_size()
|