Lines Matching refs:ssize

151 						int apsize, int ssize)  in ___tlbie()  argument
177 va |= ssize << 8; in ___tlbie()
189 va |= ssize << 8; in ___tlbie()
208 int apsize, int ssize) in fixup_tlbie_vpn() argument
235 ___tlbie(vpn, psize, apsize, ssize); in fixup_tlbie_vpn()
239 static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) in __tlbie() argument
243 rb = ___tlbie(vpn, psize, apsize, ssize); in __tlbie()
247 static inline void __tlbiel(unsigned long vpn, int psize, int apsize, int ssize) in __tlbiel() argument
267 va |= ssize << 8; in __tlbiel()
279 va |= ssize << 8; in __tlbiel()
299 int ssize, int local) in tlbie() argument
312 __tlbiel(vpn, psize, apsize, ssize); in tlbie()
315 __tlbie(vpn, psize, apsize, ssize); in tlbie()
316 fixup_tlbie_vpn(vpn, psize, apsize, ssize); in tlbie()
346 unsigned long vflags, int psize, int apsize, int ssize) in native_hpte_insert() argument
373 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert()
441 int apsize, int ssize, unsigned long flags) in native_hpte_updatepp() argument
447 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_updatepp()
487 tlbie(vpn, bpsize, apsize, ssize, local); in native_hpte_updatepp()
511 static long native_hpte_find(unsigned long vpn, int psize, int ssize) in native_hpte_find() argument
518 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in native_hpte_find()
519 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hpte_find()
546 int psize, int ssize) in native_hpte_updateboltedpp() argument
553 vsid = get_kernel_vsid(ea, ssize); in native_hpte_updateboltedpp()
554 vpn = hpt_vpn(ea, vsid, ssize); in native_hpte_updateboltedpp()
556 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_updateboltedpp()
569 tlbie(vpn, psize, psize, ssize, 0); in native_hpte_updateboltedpp()
577 static int native_hpte_removebolted(unsigned long ea, int psize, int ssize) in native_hpte_removebolted() argument
584 vsid = get_kernel_vsid(ea, ssize); in native_hpte_removebolted()
585 vpn = hpt_vpn(ea, vsid, ssize); in native_hpte_removebolted()
587 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_removebolted()
599 tlbie(vpn, psize, psize, ssize, 0); in native_hpte_removebolted()
605 int bpsize, int apsize, int ssize, int local) in native_hpte_invalidate() argument
616 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_invalidate()
637 tlbie(vpn, bpsize, apsize, ssize, local); in native_hpte_invalidate()
646 int psize, int ssize, int local) in native_hugepage_invalidate() argument
668 vpn = hpt_vpn(addr, vsid, ssize); in native_hugepage_invalidate()
669 hash = hpt_hash(vpn, shift, ssize); in native_hugepage_invalidate()
677 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hugepage_invalidate()
700 tlbie(vpn, psize, actual_psize, ssize, local); in native_hugepage_invalidate()
708 int psize, int ssize, int local) in native_hugepage_invalidate() argument
715 int *psize, int *apsize, int *ssize, unsigned long *vpn) in hpte_decode() argument
737 *ssize = hpte_v >> HPTE_V_SSIZE_SHIFT; in hpte_decode()
745 switch (*ssize) { in hpte_decode()
797 int psize, apsize, ssize; in native_hpte_clear() local
816 hpte_decode(hptep, slot, &psize, &apsize, &ssize, &vpn); in native_hpte_clear()
818 ___tlbie(vpn, psize, apsize, ssize); in native_hpte_clear()
840 int ssize = batch->ssize; in native_flush_hash_range() local
854 hash = hpt_hash(vpn, shift, ssize); in native_flush_hash_range()
861 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_flush_hash_range()
886 __tlbiel(vpn, psize, psize, ssize); in native_flush_hash_range()
903 __tlbie(vpn, psize, psize, ssize); in native_flush_hash_range()
909 fixup_tlbie_vpn(vpn, psize, psize, ssize); in native_flush_hash_range()