Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/mm/
Dinit_32.c46 unsigned long pfn_base; variable
47 EXPORT_SYMBOL(pfn_base);
83 unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in calc_max_low_pfn()
182 if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init()
183 highstart_pfn = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in bootmem_init()
279 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
/linux-6.1.9/arch/sparc/include/asm/
Dpage_32.h122 extern unsigned long pfn_base;
130 #define ARCH_PFN_OFFSET (pfn_base)
133 #define pfn_valid(pfn) (((pfn) >= (pfn_base)) && (((pfn)-(pfn_base)) < max_mapnr))
Dpgtable_32.h72 extern unsigned long pfn_base;
/linux-6.1.9/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()
244 unsigned long pfn = mem->pfn_base + start + off; in __dma_mmap_from_coherent()
/linux-6.1.9/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.1.9/drivers/vfio/
Dvfio_iommu_type1.c659 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument
674 *pfn_base = page_to_pfn(batch->pages[batch->offset]); in vfio_pin_pages_remote()
675 pfn = *pfn_base; in vfio_pin_pages_remote()
676 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
678 *pfn_base = 0; in vfio_pin_pages_remote()
694 if (!*pfn_base) { in vfio_pin_pages_remote()
695 *pfn_base = pfn; in vfio_pin_pages_remote()
696 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
709 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote()
758 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote()
[all …]
/linux-6.1.9/arch/sparc/kernel/
Dsetup_32.c348 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()