Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dgtt.c355 unsigned pfn_base; in psb_gtt_init() local
471 pfn_base = dev_priv->stolen_base >> PAGE_SHIFT; in psb_gtt_init()
474 num_pages, pfn_base << PAGE_SHIFT, 0); in psb_gtt_init()
476 pte = psb_gtt_mask_pte(pfn_base + i, PSB_MMU_CACHED_MEMORY); in psb_gtt_init()
484 pfn_base = page_to_pfn(dev_priv->scratch_page); in psb_gtt_init()
485 pte = psb_gtt_mask_pte(pfn_base, PSB_MMU_CACHED_MEMORY); in psb_gtt_init()
/drivers/vfio/
Dvfio_iommu_type1.c675 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument
690 *pfn_base = page_to_pfn(batch->pages[batch->offset]); in vfio_pin_pages_remote()
691 pfn = *pfn_base; in vfio_pin_pages_remote()
692 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
694 *pfn_base = 0; in vfio_pin_pages_remote()
710 if (!*pfn_base) { in vfio_pin_pages_remote()
711 *pfn_base = pfn; in vfio_pin_pages_remote()
712 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()
725 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote()
774 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote()
[all …]