Searched refs:ptel (Results 1 – 10 of 10) sorted by relevance
/arch/sh/mm/ |
D | tlb-sh5.c | 123 unsigned long long pteh, ptel; in sh64_setup_tlb_slot() local 128 ptel = neff_sign_extend(paddr); in sh64_setup_tlb_slot() 129 ptel &= PAGE_MASK; in sh64_setup_tlb_slot() 130 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot() 134 : : "r" (config_addr), "r" (ptel), "r" (pteh)); in sh64_setup_tlb_slot() 188 unsigned long long ptel; in __update_tlb() local 195 ptel = pte.pte_low; in __update_tlb() 207 ptel &= _PAGE_FLAGS_HARDWARE_MASK; /* drop software flags */ in __update_tlb() 218 : : "r" (next), "r" (pteh), "r" (ptel) ); in __update_tlb()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 375 static inline unsigned long hpte_rpn(unsigned long ptel, unsigned long psize) in hpte_rpn() argument 377 return ((ptel & HPTE_R_RPN) & ~(psize - 1)) >> PAGE_SHIFT; in hpte_rpn() 380 static inline int hpte_is_writable(unsigned long ptel) in hpte_is_writable() argument 382 unsigned long pp = ptel & (HPTE_R_PP0 | HPTE_R_PP); in hpte_is_writable() 387 static inline unsigned long hpte_make_readonly(unsigned long ptel) in hpte_make_readonly() argument 389 if ((ptel & HPTE_R_PP0) || (ptel & HPTE_R_PP) == PP_RWXX) in hpte_make_readonly() 390 ptel = (ptel & ~HPTE_R_PP) | PP_RXXX; in hpte_make_readonly() 392 ptel |= PP_RXRX; in hpte_make_readonly() 393 return ptel; in hpte_make_readonly()
|
D | kvm_book3s.h | 253 long pte_index, unsigned long pteh, unsigned long ptel,
|
D | kvm_ppc.h | 770 long pte_index, unsigned long pteh, unsigned long ptel);
|
/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 165 unsigned long ptel, head; in remove_revmap_chain() local 172 ptel = rev->guest_rpte |= rcbits; in remove_revmap_chain() 173 rmap = revmap_for_hpte(kvm, hpte_v, ptel, &memslot, &gfn); in remove_revmap_chain() 198 long pte_index, unsigned long pteh, unsigned long ptel, in kvmppc_do_h_enter() argument 217 psize = kvmppc_actual_pgsz(pteh, ptel); in kvmppc_do_h_enter() 220 writing = hpte_is_writable(ptel); in kvmppc_do_h_enter() 222 ptel &= ~HPTE_GR_RESERVED; in kvmppc_do_h_enter() 223 g_ptel = ptel; in kvmppc_do_h_enter() 230 gpa = (ptel & HPTE_R_RPN) & ~(psize - 1); in kvmppc_do_h_enter() 239 ptel |= HPTE_R_KEY_HI | HPTE_R_KEY_LO; in kvmppc_do_h_enter() [all …]
|
D | book3s_64_mmu_hv.c | 47 unsigned long ptel, unsigned long *pte_idx_ret); 292 unsigned long ptel, unsigned long *pte_idx_ret) in kvmppc_virtmode_do_h_enter() argument 298 ret = kvmppc_do_h_enter(kvm, flags, pte_index, pteh, ptel, in kvmppc_virtmode_do_h_enter() 819 unsigned long ptel, psize, rcbits; in kvmppc_unmap_hpte() local 835 ptel = rev[i].guest_rpte; in kvmppc_unmap_hpte() 836 psize = kvmppc_actual_pgsz(be64_to_cpu(hptep[0]), ptel); in kvmppc_unmap_hpte() 838 hpte_rpn(ptel, psize) == gfn) { in kvmppc_unmap_hpte() 848 rev[i].guest_rpte = ptel | rcbits; in kvmppc_unmap_hpte()
|
/arch/sh/include/asm/ |
D | suspend.h | 45 unsigned long ptel; member
|
/arch/sh/kernel/ |
D | asm-offsets.c | 50 DEFINE(SH_SLEEP_REG_PTEL, offsetof(struct sh_sleep_regs, ptel)); in main()
|
/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 91 sdp->addr.ptel = 0xff000004; /* PTEL */ in sh_mobile_register_self_refresh()
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 801 unsigned long ptel; in manual_hpte_clear_all() member 823 &(ptes[j].pteh), &(ptes[j].ptel)); in manual_hpte_clear_all() 909 unsigned long ptel; in __pSeries_lpar_hpte_find() member
|