Home
last modified time | relevance | path

Searched refs:ptel (Results 1 – 9 of 9) sorted by relevance

/linux/arch/powerpc/include/asm/
A Dkvm_book3s_64.h389 static inline unsigned long hpte_rpn(unsigned long ptel, unsigned long psize) in hpte_rpn() argument
391 return ((ptel & HPTE_R_RPN) & ~(psize - 1)) >> PAGE_SHIFT; in hpte_rpn()
394 static inline int hpte_is_writable(unsigned long ptel) in hpte_is_writable() argument
396 unsigned long pp = ptel & (HPTE_R_PP0 | HPTE_R_PP); in hpte_is_writable()
401 static inline unsigned long hpte_make_readonly(unsigned long ptel) in hpte_make_readonly() argument
403 if ((ptel & HPTE_R_PP0) || (ptel & HPTE_R_PP) == PP_RWXX) in hpte_make_readonly()
404 ptel = (ptel & ~HPTE_R_PP) | PP_RXXX; in hpte_make_readonly()
406 ptel |= PP_RXRX; in hpte_make_readonly()
407 return ptel; in hpte_make_readonly()
A Dkvm_book3s.h251 long pte_index, unsigned long pteh, unsigned long ptel,
A Dkvm_ppc.h764 long pte_index, unsigned long pteh, unsigned long ptel);
/linux/arch/powerpc/kvm/
A Dbook3s_hv_rm_mmu.c158 unsigned long ptel, head; in remove_revmap_chain() local
165 ptel = rev->guest_rpte |= rcbits; in remove_revmap_chain()
219 psize = kvmppc_actual_pgsz(pteh, ptel); in kvmppc_do_h_enter()
222 writing = hpte_is_writable(ptel); in kvmppc_do_h_enter()
224 ptel &= ~HPTE_GR_RESERVED; in kvmppc_do_h_enter()
225 g_ptel = ptel; in kvmppc_do_h_enter()
276 ptel = hpte_make_readonly(ptel); in kvmppc_do_h_enter()
286 ptel |= pa; in kvmppc_do_h_enter()
304 ptel |= HPTE_R_M; in kvmppc_do_h_enter()
392 ptel = hpte_old_to_new_r(pteh, ptel); in kvmppc_do_h_enter()
[all …]
A Dbook3s_64_mmu_hv.c48 unsigned long ptel, unsigned long *pte_idx_ret);
285 unsigned long ptel, unsigned long *pte_idx_ret) in kvmppc_virtmode_do_h_enter() argument
290 ret = kvmppc_do_h_enter(kvm, flags, pte_index, pteh, ptel, in kvmppc_virtmode_do_h_enter()
763 unsigned long ptel, psize, rcbits; in kvmppc_unmap_hpte() local
779 ptel = rev[i].guest_rpte; in kvmppc_unmap_hpte()
780 psize = kvmppc_actual_pgsz(be64_to_cpu(hptep[0]), ptel); in kvmppc_unmap_hpte()
782 hpte_rpn(ptel, psize) == gfn) { in kvmppc_unmap_hpte()
792 rev[i].guest_rpte = ptel | rcbits; in kvmppc_unmap_hpte()
/linux/arch/sh/include/asm/
A Dsuspend.h45 unsigned long ptel; member
/linux/arch/sh/kernel/
A Dasm-offsets.c50 DEFINE(SH_SLEEP_REG_PTEL, offsetof(struct sh_sleep_regs, ptel)); in main()
/linux/arch/sh/kernel/cpu/shmobile/
A Dpm.c91 sdp->addr.ptel = 0xff000004; /* PTEL */ in sh_mobile_register_self_refresh()
/linux/arch/powerpc/platforms/pseries/
A Dlpar.c812 unsigned long ptel; in manual_hpte_clear_all() member
834 &(ptes[j].pteh), &(ptes[j].ptel)); in manual_hpte_clear_all()
923 unsigned long ptel; in __pSeries_lpar_hpte_find() member

Completed in 24 milliseconds