Searched refs:aperture_size (Results 1 - 13 of 13) sorted by relevance
/linux-4.1.27/drivers/char/agp/ |
H A D | intel-gtt.c | 524 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 D | amd_iommu.c | 1504 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 D | amd_iommu_types.h | 456 unsigned long aperture_size; member in struct:dma_ops_domain
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_agp.c | 183 drm->agp.size = info.aperture_size; nouveau_agp_init()
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
H A D | intelfbhw.c | 173 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 D | intelfbdrv.c | 506 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 D | intelfbhw.h | 562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_dma.c | 762 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 D | drm_ioc32.c | 751 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 D | drm_agpsupport.c | 67 info->aperture_size = kern->aper_size * 1024 * 1024; drm_agp_info()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_device.c | 386 * @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 D | radeon.h | 730 size_t *aperture_size,
|
/linux-4.1.27/include/uapi/drm/ |
H A D | drm.h | 558 unsigned long aperture_size; /* bytes */ member in struct:drm_agp_info
|
Completed in 6069 milliseconds