Searched refs:PTE_RPN_SHIFT (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/include/asm/ |
D | pgtable-64k.h | 109 #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))
|
D | pgtable-ppc64.h | 176 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)
|
D | pgtable-4k.h | 73 #define PTE_RPN_SHIFT (17) macro
|
/arch/powerpc/mm/ |
D | hash_low_64.S | 190 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
|