Searched refs:first_pte (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 154 unsigned first_pte = first_entry % I915_PPGTT_PT_ENTRIES; in gen6_ppgtt_clear_range() local 162 last_pte = first_pte + num_entries; in gen6_ppgtt_clear_range() 168 for (i = first_pte; i < last_pte; i++) in gen6_ppgtt_clear_range() 173 num_entries -= last_pte - first_pte; in gen6_ppgtt_clear_range() 174 first_pte = 0; in gen6_ppgtt_clear_range()
|
/drivers/iommu/ |
D | intel-iommu.c | 863 struct dma_pte *first_pte, *pte; in dma_pte_clear_range() local 873 first_pte = pte = dma_pfn_level_pte(domain, start_pfn, 1, &large_page); in dma_pte_clear_range() 884 domain_flush_cache(domain, first_pte, in dma_pte_clear_range() 885 (void *)pte - (void *)first_pte); in dma_pte_clear_range() 899 struct dma_pte *first_pte, *pte; in dma_pte_free_pagetable() local 920 first_pte = pte = dma_pfn_level_pte(domain, tmp, level, &large_page); in dma_pte_free_pagetable() 937 domain_flush_cache(domain, first_pte, in dma_pte_free_pagetable() 938 (void *)pte - (void *)first_pte); in dma_pte_free_pagetable() 1794 struct dma_pte *first_pte = NULL, *pte = NULL; in __domain_mapping() local 1829 first_pte = pte = pfn_to_dma_pte(domain, iov_pfn, largepage_lvl); in __domain_mapping() [all …]
|