Home
last modified time | relevance | path

Searched refs:_PFN_SHIFT (Results 1 – 9 of 9) sorted by relevance

/arch/mips/include/asm/
Dpgtable-32.h158 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<…
166 pte.pte_high = (pfn << _PFN_SHIFT) | in pfn_pte()
193 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))
194 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
195 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
Dpgtable-bits.h185 # define _PFN_SHIFT PAGE_SHIFT macro
188 # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro
198 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1))
Dpgtable-64.h311 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))
312 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
313 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
Dpgtable.h688 return pmd_val(pmd) >> _PFN_SHIFT;
/arch/mips/bcm47xx/
Dprom.c123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
/arch/mips/mm/
Dpgtable-32.c38 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
Dpgtable-64.c94 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
Dinit.c463 BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); in mem_init()
Dtlbex.c257 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()