Lines Matching refs:protovsid
741 #define vsid_scramble(protovsid, size) \
742 ((((protovsid) * VSID_MULTIPLIER_##size) % VSID_MODULUS_##size))
745 #define vsid_scramble(protovsid, size) \
748 x = (protovsid) * VSID_MULTIPLIER_##size; \
754 static inline unsigned long vsid_scramble(unsigned long protovsid, in vsid_scramble() argument
762 vsid = protovsid * vsid_multiplier; in vsid_scramble()
783 unsigned long protovsid; in get_vsid() local
796 protovsid = (context << ESID_BITS) | in get_vsid()
798 return vsid_scramble(protovsid, VSID_MULTIPLIER_256M, vsid_bits); in get_vsid()
802 protovsid = (context << ESID_BITS_1T) | in get_vsid()
804 return vsid_scramble(protovsid, VSID_MULTIPLIER_1T, vsid_bits); in get_vsid()