Searched refs:_PFN_SHIFT (Results 1 – 13 of 13) sorted by relevance
156 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<…164 pte.pte_high = (pfn << _PFN_SHIFT) | in pfn_pte()187 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))188 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))189 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot))
185 # define _PFN_SHIFT PAGE_SHIFT macro188 # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro198 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1))
301 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT))302 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot))303 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot))
69 return pmd_val(pmd) >> _PFN_SHIFT; in pmd_pfn()
47 #define _PFN_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT) macro52 #define _PFN_MASK (~((_ULCAST_(1) << (_PFN_SHIFT)) - 1) & \
235 #define pte_pfn(x) ((unsigned long)(((x).pte & _PFN_MASK) >> _PFN_SHIFT))236 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot))237 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot))432 return (pmd_val(pmd) & _PFN_MASK) >> _PFN_SHIFT; in pmd_pfn()
119 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
38 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
94 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
454 BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); in mem_init()
256 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()
107 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
249 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()