Searched refs:aperture_size (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/drivers/char/agp/
H A Dintel-gtt.c524 unsigned int aperture_size; intel_gtt_mappable_entries() local
534 aperture_size = MB(32); intel_gtt_mappable_entries()
536 aperture_size = MB(64); intel_gtt_mappable_entries()
544 aperture_size = MB(64); intel_gtt_mappable_entries()
546 aperture_size = MB(128); intel_gtt_mappable_entries()
549 aperture_size = pci_resource_len(intel_private.pcidev, 2); intel_gtt_mappable_entries()
552 return aperture_size >> PAGE_SHIFT; intel_gtt_mappable_entries()
/linux-4.1.27/drivers/iommu/
H A Damd_iommu.c1504 if (addr < dma_dom->aperture_size) dma_ops_unity_map()
1578 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; dma_ops_reserve_addresses()
1598 int index = dma_dom->aperture_size >> APERTURE_RANGE_SHIFT; alloc_new_range()
1617 dma_dom->aperture[index]->offset = dma_dom->aperture_size; alloc_new_range()
1620 unsigned long address = dma_dom->aperture_size; alloc_new_range()
1636 old_size = dma_dom->aperture_size; alloc_new_range()
1637 dma_dom->aperture_size += APERTURE_RANGE_SIZE; alloc_new_range()
1641 dma_dom->aperture_size > MSI_ADDR_BASE_LO) { alloc_new_range()
1655 && iommu->exclusion_start < dma_dom->aperture_size) { for_each_iommu()
1672 i < dma_dom->aperture_size;
1705 int max_index = dom->aperture_size >> APERTURE_RANGE_SHIFT; dma_ops_area_alloc()
1767 WARN_ON((address + (PAGE_SIZE*pages)) > dom->aperture_size); dma_ops_alloc_addresses()
2586 WARN_ON(address > dom->aperture_size); dma_ops_domain_map()
2619 if (address >= dom->aperture_size) dma_ops_domain_unmap()
2677 dma_dom->next_address = dma_dom->aperture_size; __map_single()
2737 (dma_addr + size > dma_dom->aperture_size)) __unmap_single()
H A Damd_iommu_types.h456 unsigned long aperture_size; member in struct:dma_ops_domain
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_agp.c183 drm->agp.size = info.aperture_size; nouveau_agp_init()
/linux-4.1.27/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c173 int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size, intelfbhw_get_memory() argument
180 if (!pdev || !aperture_size || !stolen_size) intelfbhw_get_memory()
206 *aperture_size = MB(128); intelfbhw_get_memory()
208 *aperture_size = MB(256); intelfbhw_get_memory()
212 *aperture_size = MB(64); intelfbhw_get_memory()
214 *aperture_size = MB(128); intelfbhw_get_memory()
220 stolen_overhead = (*aperture_size / MB(1)) + 4; intelfbhw_get_memory()
H A Dintelfbdrv.c506 int aperture_size, stolen_size; intelfb_pci_register() local
606 if (intelfbhw_get_memory(pdev, &aperture_size,&stolen_size)) { intelfb_pci_register()
615 BtoMB(aperture_size), BtoKB(stolen_size)); intelfb_pci_register()
H A Dintelfbhw.h562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_dma.c762 uint32_t aperture_size; i915_driver_load() local
866 aperture_size = dev_priv->gtt.mappable_end; i915_driver_load()
870 aperture_size); i915_driver_load()
877 aperture_size); i915_driver_load()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_ioc32.c751 u32 aperture_size; /* bytes */ member in struct:drm_agp_info32
780 || __get_user(i32.aperture_size, &info->aperture_size) compat_drm_agp_info()
H A Ddrm_agpsupport.c67 info->aperture_size = kern->aper_size * 1024 * 1024; drm_agp_info()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_device.c386 * @aperture_size: output returning doorbell aperture size in bytes
395 size_t *aperture_size, radeon_doorbell_get_kfd_info()
402 *aperture_size = rdev->doorbell.size; radeon_doorbell_get_kfd_info()
406 *aperture_size = 0; radeon_doorbell_get_kfd_info()
393 radeon_doorbell_get_kfd_info(struct radeon_device *rdev, phys_addr_t *aperture_base, size_t *aperture_size, size_t *start_offset) radeon_doorbell_get_kfd_info() argument
H A Dradeon.h730 size_t *aperture_size,
/linux-4.1.27/include/uapi/drm/
H A Ddrm.h558 unsigned long aperture_size; /* bytes */ member in struct:drm_agp_info

Completed in 6069 milliseconds