Lines Matching defs:parity
80 printk(" tag-parity");
82 printk(" data-parity");
256 static const uint8_t parity[256] = {
275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
287 /* Calculate the parity on a range of bits */
290 char parity = 0;
295 parity = !parity;
298 return parity;
301 /* Calculate the 4-bit even byte-parity for an instruction */
305 char parity = 0;
313 parity <<= 1;
314 parity |= byte_parity;
316 return parity;
364 printk(" ** bad parity in VTag0/G/ASID\n");
368 printk(" ** bad parity in R/VTag1\n");
373 printk(" ** bad parity for valid bit\n");
402 printk(" ** bad parity in predecode\n");
407 printk(" ** bad parity in instruction a\n");
411 printk(" ** bad parity in instruction b\n");
436 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF]
437 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]);
439 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF]
440 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]);
518 printk(" ** bad parity in PTag1\n");
522 printk(" ** bad parity in PTag0\n");