Searched refs:vsid_bits (Results 1 – 2 of 2) sorted by relevance
755 unsigned long vsid_multiplier, int vsid_bits) in vsid_scramble() argument758 unsigned long vsid_modulus = ((1UL << vsid_bits) - 1); in vsid_scramble()763 vsid = (vsid >> vsid_bits) + (vsid & vsid_modulus); in vsid_scramble()764 return (vsid + ((vsid + 1) >> vsid_bits)) & vsid_modulus; in vsid_scramble()782 unsigned long vsid_bits; in get_vsid() local795 vsid_bits = va_bits - SID_SHIFT; in get_vsid()798 return vsid_scramble(protovsid, VSID_MULTIPLIER_256M, vsid_bits); in get_vsid()801 vsid_bits = va_bits - SID_SHIFT_1T; in get_vsid()804 return vsid_scramble(protovsid, VSID_MULTIPLIER_1T, vsid_bits); in get_vsid()
227 unsigned long vsid_bits = VSID_BITS_65_256M; in create_sid_map() local258 vsid_bits = VSID_BITS_256M; in create_sid_map()261 VSID_MULTIPLIER_256M, vsid_bits); in create_sid_map()