Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/iommu/
Dshmobile-iommu.c189 unsigned int l1index) in l2alloc() argument
193 if (!sh_domain->l2[l1index].pgtable) { in l2alloc()
194 ret = pgtable_alloc(&sh_domain->l2[l1index], l2cache, L2_SIZE); in l2alloc()
198 pgtable_write(&sh_domain->l1, l1index, 1, in l2alloc()
199 sh_domain->l2[l1index].handle | 0x1); in l2alloc()
210 unsigned int l1index, in l2free() argument
213 pgtable_write(&sh_domain->l1, l1index, 1, 0); in l2free()
214 if (sh_domain->l2[l1index].pgtable) { in l2free()
215 *l2 = sh_domain->l2[l1index]; in l2free()
216 sh_domain->l2[l1index].pgtable = NULL; in l2free()
[all …]
/linux-4.4.14/arch/ia64/include/asm/
Dpgtable.h364 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index() local
366 return (region << (PAGE_SHIFT - 6)) | l1index; in pgd_index()