Lines Matching defs:par
135 uint32_t par; /* the cumulative parity for all data */
140 par = 0;
156 * needed for calculating rp12, rp14, rp16 and par
217 par ^= tmppar;
258 * This is present in par, because par is now
267 rp2 = (par >> 16);
270 rp3 = par & 0xffff;
274 rp3 = (par >> 16);
277 rp2 = par & 0xffff;
282 /* reduce par to 16 bits then calculate rp1 and rp0 */
283 par ^= (par >> 16);
285 rp0 = (par >> 8) & 0xff;
286 rp1 = (par & 0xff);
288 rp1 = (par >> 8) & 0xff;
289 rp0 = (par & 0xff);
292 /* finally reduce par to 8 bits */
293 par ^= (par >> 8);
294 par &= 0xff;
298 * note that par = rp4 ^ rp5 and due to the commutative property
300 * rp5 = (par ^ rp4);
305 rp5 = (par ^ rp4) & 0xff;
306 rp7 = (par ^ rp6) & 0xff;
307 rp9 = (par ^ rp8) & 0xff;
308 rp11 = (par ^ rp10) & 0xff;
309 rp13 = (par ^ rp12) & 0xff;
310 rp15 = (par ^ rp14) & 0xff;
312 rp17 = (par ^ rp16) & 0xff;
342 (invparity[par & 0xf0] << 7) |
343 (invparity[par & 0x0f] << 6) |
344 (invparity[par & 0xcc] << 5) |
345 (invparity[par & 0x33] << 4) |
346 (invparity[par & 0xaa] << 3) |
347 (invparity[par & 0x55] << 2) |
351 (invparity[par & 0xf0] << 7) |
352 (invparity[par & 0x0f] << 6) |
353 (invparity[par & 0xcc] << 5) |
354 (invparity[par & 0x33] << 4) |
355 (invparity[par & 0xaa] << 3) |
356 (invparity[par & 0x55] << 2) |