Home
last modified time | relevance | path

Searched refs:PTE_RPN_SHIFT (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/include/asm/
Dpgtable-64k.h109 #define PTE_RPN_SHIFT (30) macro
110 #define PTE_RPN_MAX (1UL << (64 - PTE_RPN_SHIFT))
111 #define PTE_RPN_MASK (~((1UL<<PTE_RPN_SHIFT)-1))
Dpgtable-ppc64.h176 pte_val(pte) = (pfn << PTE_RPN_SHIFT) | pgprot_val(pgprot); in pfn_pte()
188 #define pte_pfn(x) ((unsigned long)((pte_val(x)>>PTE_RPN_SHIFT)))
419 #define __pte_to_swp_entry(pte) ((swp_entry_t){pte_val(pte) >> PTE_RPN_SHIFT})
420 #define __swp_entry_to_pte(x) ((pte_t) { (x).val << PTE_RPN_SHIFT })
421 #define pte_to_pgoff(pte) (pte_val(pte) >> PTE_RPN_SHIFT)
422 #define pgoff_to_pte(off) ((pte_t) {((off) << PTE_RPN_SHIFT)|_PAGE_FILE})
423 #define PTE_FILE_MAX_BITS (BITS_PER_LONG - PTE_RPN_SHIFT)
Dpgtable-4k.h73 #define PTE_RPN_SHIFT (17) macro
/arch/powerpc/mm/
Dhash_low_64.S190 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT
213 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT
492 srdi r5,r31,PTE_RPN_SHIFT
520 srdi r5,r31,PTE_RPN_SHIFT
817 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT
840 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT