Home
last modified time | relevance | path

Searched refs:vsid_bits (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h743 unsigned long vsid_multiplier, int vsid_bits) in vsid_scramble() argument
746 unsigned long vsid_modulus = ((1UL << vsid_bits) - 1); in vsid_scramble()
751 vsid = (vsid >> vsid_bits) + (vsid & vsid_modulus); in vsid_scramble()
752 return (vsid + ((vsid + 1) >> vsid_bits)) & vsid_modulus; in vsid_scramble()
770 unsigned long vsid_bits; in get_vsid() local
783 vsid_bits = va_bits - SID_SHIFT; in get_vsid()
786 return vsid_scramble(protovsid, VSID_MULTIPLIER_256M, vsid_bits); in get_vsid()
789 vsid_bits = va_bits - SID_SHIFT_1T; in get_vsid()
792 return vsid_scramble(protovsid, VSID_MULTIPLIER_1T, vsid_bits); in get_vsid()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c225 unsigned long vsid_bits = VSID_BITS_65_256M; in create_sid_map() local
256 vsid_bits = VSID_BITS_256M; in create_sid_map()
259 VSID_MULTIPLIER_256M, vsid_bits); in create_sid_map()