Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlpar.c975 unsigned long modinv, vsid_modulus; in vsid_unscramble() local
982 modinv = VSID_MULINV_256M; in vsid_unscramble()
985 modinv = VSID_MULINV_1T; in vsid_unscramble()
1003 if (modinv < max_mod_inv) in vsid_unscramble()
1004 return (vsid * modinv) % vsid_modulus; in vsid_unscramble()
1006 tmp_modinv = modinv/max_mod_inv; in vsid_unscramble()
1007 modinv %= max_mod_inv; in vsid_unscramble()
1010 protovsid = (protovsid + vsid * modinv) % vsid_modulus; in vsid_unscramble()