Home
last modified time | relevance | path

Searched refs:batu (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dmmu-hash32.c41 target_ulong batu, target_ulong batl) in hash32_bat_size() argument
43 if ((mmuidx_pr(mmu_idx) && !(batu & BATU32_VP)) in hash32_bat_size()
44 || (!mmuidx_pr(mmu_idx) && !(batu & BATU32_VS))) { in hash32_bat_size()
48 return BATU32_BEPI & ~((batu & BATU32_BL) << 15); in hash32_bat_size()
70 target_ulong batu = BATut[i]; in ppc_hash32_bat_lookup() local
74 mask = hash32_bat_size(mmu_idx, batu, batl); in ppc_hash32_bat_lookup()
77 ifetch ? 'I' : 'D', i, ea, batu, batl); in ppc_hash32_bat_lookup()
79 if (mask && ((ea & mask) == (batu & BATU32_BEPI))) { in ppc_hash32_bat_lookup()
82 *prot = ppc_hash32_bat_prot(batu, batl); in ppc_hash32_bat_lookup()
H A Dmmu-hash32.h150 static inline int ppc_hash32_bat_prot(target_ulong batu, target_ulong batl) in ppc_hash32_bat_prot() argument
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dcpu.c190 unsigned long batu, bl; in setup_ddr_bat() local
199 batu = bl | BATU_VS | BATU_VP; in setup_ddr_bat()
200 write_bat(DBAT0, batu, CONFIG_SYS_DBAT0L); in setup_ddr_bat()
201 write_bat(IBAT0, batu, CONFIG_SYS_IBAT0L); in setup_ddr_bat()
/openbmc/linux/arch/powerpc/mm/book3s32/
H A Dmmu.c86 if (!(bat[1].batu & 3)) in find_free_bat()
128 bat[0].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ in setibat()
131 bat[0].batu |= 1; /* Vp = 1 */ in setibat()
138 bat[0].batu = 0; in clearibat()
281 bat[1].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ in setbat()
284 bat[1].batu |= 1; /* Vp = 1 */ in setbat()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmmu.h99 BATU batu; /* Upper register */ member
104 P601_BATU batu; /* Upper register */ member
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dmmu-hash.h47 u32 batu; member