Home
last modified time | relevance | path

Searched refs:aperture_size (Results 1 – 10 of 10) sorted by relevance

/drivers/char/agp/
Dintel-gtt.c524 unsigned int aperture_size; in intel_gtt_mappable_entries() local
534 aperture_size = MB(32); in intel_gtt_mappable_entries()
536 aperture_size = MB(64); in intel_gtt_mappable_entries()
544 aperture_size = MB(64); in intel_gtt_mappable_entries()
546 aperture_size = MB(128); in intel_gtt_mappable_entries()
549 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries()
552 return aperture_size >> PAGE_SHIFT; in intel_gtt_mappable_entries()
/drivers/video/fbdev/intelfb/
Dintelfbhw.c173 int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size, in intelfbhw_get_memory() argument
180 if (!pdev || !aperture_size || !stolen_size) in intelfbhw_get_memory()
206 *aperture_size = MB(128); in intelfbhw_get_memory()
208 *aperture_size = MB(256); in intelfbhw_get_memory()
212 *aperture_size = MB(64); in intelfbhw_get_memory()
214 *aperture_size = MB(128); in intelfbhw_get_memory()
220 stolen_overhead = (*aperture_size / MB(1)) + 4; in intelfbhw_get_memory()
Dintelfbhw.h562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
Dintelfbdrv.c475 int aperture_size, stolen_size; in intelfb_pci_register() local
575 if (intelfbhw_get_memory(pdev, &aperture_size,&stolen_size)) { in intelfb_pci_register()
584 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
/drivers/gpu/drm/
Ddrm_ioc32.c750 u32 aperture_size; /* bytes */ member
779 || __get_user(i32.aperture_size, &info->aperture_size) in compat_drm_agp_info()
Ddrm_agpsupport.c65 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
/drivers/gpu/drm/radeon/
Dradeon_device.c413 size_t *aperture_size, in radeon_doorbell_get_kfd_info() argument
420 *aperture_size = rdev->doorbell.size; in radeon_doorbell_get_kfd_info()
424 *aperture_size = 0; in radeon_doorbell_get_kfd_info()
Dradeon.h733 size_t *aperture_size,
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c409 size_t *aperture_size, in amdgpu_doorbell_get_kfd_info() argument
418 *aperture_size = adev->doorbell.size; in amdgpu_doorbell_get_kfd_info()
422 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info()
Damdgpu.h691 size_t *aperture_size,