Searched refs:_PFN_SHIFT (Results 1 – 9 of 9) sorted by relevance
158 #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))
169 # define _PFN_SHIFT PAGE_SHIFT macro172 # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro182 #define _PFN_MASK (~((1 << (_PFN_SHIFT)) - 1))
312 #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))
600 return pmd_val(pmd) >> _PFN_SHIFT;
122 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
39 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
95 pmd_val(pmd) = (page_to_pfn(page) << _PFN_SHIFT) | pgprot_val(prot); in mk_pmd()
453 BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); in mem_init()
253 pr_define("_PFN_SHIFT %d\n", _PFN_SHIFT); in output_pgtable_bits_defines()