Searched refs:pfn_base (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/gma500/ |
D | gtt.c | 412 unsigned pfn_base; in psb_gtt_init() local 528 pfn_base = dev_priv->stolen_base >> PAGE_SHIFT; in psb_gtt_init() 531 num_pages, pfn_base << PAGE_SHIFT, 0); in psb_gtt_init() 533 pte = psb_gtt_mask_pte(pfn_base + i, PSB_MMU_CACHED_MEMORY); in psb_gtt_init() 541 pfn_base = page_to_pfn(dev_priv->scratch_page); in psb_gtt_init() 542 pte = psb_gtt_mask_pte(pfn_base, PSB_MMU_CACHED_MEMORY); in psb_gtt_init()
|
/drivers/vfio/ |
D | vfio_iommu_type1.c | 562 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument 574 ret = vaddr_get_pfns(current->mm, vaddr, 1, dma->prot, pfn_base, in vfio_pin_pages_remote() 580 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote() 588 put_pfn(*pfn_base, dma->prot); in vfio_pin_pages_remote() 607 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote() 632 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote() 664 unsigned long *pfn_base, bool do_accounting) in vfio_pin_page_external() argument 674 ret = vaddr_get_pfns(mm, vaddr, 1, dma->prot, pfn_base, pages); in vfio_pin_page_external() 680 if (do_accounting && !is_invalid_reserved_pfn(*pfn_base)) { in vfio_pin_page_external() 683 put_pfn(*pfn_base, dma->prot); in vfio_pin_page_external()
|