Home
last modified time | relevance | path

Searched refs:pfn_base (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/sparc/mm/
Dinit_32.c45 unsigned long pfn_base; variable
46 EXPORT_SYMBOL(pfn_base);
82 unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in calc_max_low_pfn()
181 if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init()
182 highstart_pfn = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in bootmem_init()
278 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
/linux-6.6.21/kernel/dma/
Dcoherent.c16 unsigned long pfn_base; member
34 return phys_to_dma(dev, PFN_PHYS(mem->pfn_base)); in dma_get_device_base()
61 dma_mem->pfn_base = PFN_DOWN(phys_addr); in dma_init_coherent_memory()
246 unsigned long pfn = mem->pfn_base + start + off; in __dma_mmap_from_coherent()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dgem.c312 unsigned int pfn_base; in psb_gem_mm_populate_stolen() local
316 pfn_base = pdev->stolen_base >> PAGE_SHIFT; in psb_gem_mm_populate_stolen()
320 num_pages, pfn_base << PAGE_SHIFT, 0); in psb_gem_mm_populate_stolen()
323 pte = psb_gtt_mask_pte(pfn_base + i, PSB_MMU_CACHED_MEMORY); in psb_gem_mm_populate_stolen()
Dgtt.c172 resource_size_t pfn_base; in psb_gtt_clear() local
176 pfn_base = page_to_pfn(pdev->scratch_page); in psb_gtt_clear()
177 pte = psb_gtt_mask_pte(pfn_base, PSB_MMU_CACHED_MEMORY); in psb_gtt_clear()
/linux-6.6.21/arch/sparc/include/asm/
Dpage_32.h122 extern unsigned long pfn_base;
130 #define ARCH_PFN_OFFSET (pfn_base)
Dpgtable_32.h72 extern unsigned long pfn_base;
/linux-6.6.21/drivers/vfio/
Dvfio_iommu_type1.c614 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument
629 *pfn_base = page_to_pfn(batch->pages[batch->offset]); in vfio_pin_pages_remote()
630 pfn = *pfn_base; in vfio_pin_pages_remote()
631 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
633 *pfn_base = 0; in vfio_pin_pages_remote()
649 if (!*pfn_base) { in vfio_pin_pages_remote()
650 *pfn_base = pfn; in vfio_pin_pages_remote()
651 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
664 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote()
713 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dsetup_32.c348 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()