Home
last modified time | relevance | path

Searched refs:pteh (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/target/sh4/
H A Dcpu.h179 uint32_t pteh; /* page table entry high register */ member
307 #define cpu_pteh_asid(pteh) ((pteh) & PTEH_ASID_MASK) argument
312 static inline int cpu_pteh_vpn (uint32_t pteh) in cpu_pteh_vpn() argument
314 return ((pteh & PTEH_VPN_MASK) >> PTEH_VPN_OFFSET); in cpu_pteh_vpn()
H A Dhelper.c241 asid = env->pteh & 0xff; in find_tlb_entry()
459 entry->asid = (uint8_t)cpu_pteh_asid(env->pteh); in cpu_load_tlb()
460 entry->vpn = cpu_pteh_vpn(env->pteh); in cpu_load_tlb()
818 env->pteh = (env->pteh & PTEH_ASID_MASK) | (address & PTEH_VPN_MASK); in superh_cpu_tlb_fill()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c209 if ((pteh >> HPTE_V_SSIZE_SHIFT) & 0x2) { in kvmppc_do_h_enter()
213 psize = kvmppc_actual_pgsz(pteh, ptel); in kvmppc_do_h_enter()
234 pteh |= HPTE_V_ABSENT; in kvmppc_do_h_enter()
283 pteh |= HPTE_V_VALID; in kvmppc_do_h_enter()
285 pteh |= HPTE_V_ABSENT; in kvmppc_do_h_enter()
364 if (pteh & HPTE_V_VALID) { in kvmppc_do_h_enter()
371 pteh |= HPTE_V_ABSENT; in kvmppc_do_h_enter()
372 pteh &= ~HPTE_V_VALID; in kvmppc_do_h_enter()
386 ptel = hpte_old_to_new_r(pteh, ptel); in kvmppc_do_h_enter()
387 pteh = hpte_old_to_new_v(pteh); in kvmppc_do_h_enter()
[all …]
H A Dbook3s_64_mmu_hv.c48 long pte_index, unsigned long pteh,
293 long pte_index, unsigned long pteh, in kvmppc_virtmode_do_h_enter() argument
299 ret = kvmppc_do_h_enter(kvm, flags, pte_index, pteh, ptel, in kvmppc_virtmode_do_h_enter()
/openbmc/linux/arch/sh/include/asm/
H A Dsuspend.h44 unsigned long pteh; member
/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c24 target_ulong pteh = args[2]; in h_enter() local
31 apshift = ppc_hash64_hpte_page_shift_noslb(cpu, pteh, ptel); in h_enter()
58 pteh &= ~0x60ULL; in h_enter()
87 spapr_store_hpte(cpu, ptex + slot, pteh | HPTE64_V_HPTE_DIRTY, ptel); in h_enter()
/openbmc/linux/arch/sh/kernel/
H A Dasm-offsets.c49 DEFINE(SH_SLEEP_REG_PTEH, offsetof(struct sh_sleep_regs, pteh)); in main()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c852 unsigned long pteh; in manual_hpte_clear_all() member
870 if ((ptes[j].pteh & HPTE_V_VRMA_MASK) == in manual_hpte_clear_all()
873 if (ptes[j].pteh & HPTE_V_VALID) in manual_hpte_clear_all()
875 &(ptes[j].pteh), &(ptes[j].ptel)); in manual_hpte_clear_all()
963 unsigned long pteh; in __pSeries_lpar_hpte_find() member
977 if (HPTE_V_COMPARE(ptes[j].pteh, want_v) && in __pSeries_lpar_hpte_find()
978 (ptes[j].pteh & HPTE_V_VALID)) in __pSeries_lpar_hpte_find()
/openbmc/linux/arch/sh/kernel/cpu/shmobile/
H A Dpm.c90 sdp->addr.pteh = 0xff000000; /* PTEH */ in sh_mobile_register_self_refresh()
/openbmc/qemu/hw/sh4/
H A Dsh7750.c286 return s->cpu->env.pteh; in sh7750_mem_readl()
430 if ((s->cpu->env.pteh & 0xff) != (mem_value & 0xff)) { in sh7750_mem_writel()
433 s->cpu->env.pteh = mem_value; in sh7750_mem_writel()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_book3s.h251 long pte_index, unsigned long pteh, unsigned long ptel,
H A Dkvm_ppc.h795 long pte_index, unsigned long pteh, unsigned long ptel);