Home
last modified time | relevance | path

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

/Linux-v5.4/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()
191 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))
192 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
193 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
Dpgtable-bits.h169 # define _PFN_SHIFT PAGE_SHIFT macro
172 # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro
182 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1))
Dpgtable-64.h312 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))
313 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
314 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
Dpgtable.h600 return pmd_val(pmd) >> _PFN_SHIFT;
/Linux-v5.4/arch/mips/bcm47xx/
Dprom.c122 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
/Linux-v5.4/arch/mips/mm/
Dpgtable-32.c39 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
Dpgtable-64.c95 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
Dinit.c453 BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); in mem_init()
Dtlbex.c253 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()