Lines Matching refs:MM
41 #define MM 10 /* Symbol size in bits */
45 #define NN ((1 << MM) - 1)
50 static const int Pp[MM+1] = { 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1 };
66 /* Compute x % NN, where NN is 2**MM - 1,
74 x = (x >> MM) + (x & NN);
136 Alpha_to[MM] = 0;
137 for (i = 0; i < MM; i++) {
140 /* If Pp[i] == 1 then, term @^i occurs in poly-repr of @^MM */
142 Alpha_to[MM] ^= mask; /* Bit-wise EXOR operation */
145 Index_of[Alpha_to[MM]] = MM;
147 * Have obtained poly-repr of @^MM. Poly-repr of @^(i+1) is given by
148 * poly-repr of @^i shifted left one-bit and accounting for any @^MM
152 for (i = MM + 1; i < NN; i++) {
154 Alpha_to[i] = Alpha_to[MM] ^ ((Alpha_to[i - 1] ^ mask) << 1);
430 /* The sector bytes are packed into NB_DATA MM bits words */
431 #define NB_DATA (((SECTOR_SIZE + 1) * 8 + 6) / MM)