Lines Matching refs:b2
394 unsigned char b0, b1, b2, bit_addr;
400 * b0 to b2 indicate which bit is faulty (if any)
412 b2 = read_ecc[2] ^ calc_ecc[2];
419 if ((b0 | b1 | b2) == 0)
424 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) ||
425 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) {
434 * One as we have now (for b0), one for b2
439 * The b2 shift is there to get rid of the lowest two bits.
440 * We could also do addressbits[b2] >> 1 but for the
446 byte_addr = (addressbits[b2 & 0x3] << 8) +
448 bit_addr = addressbits[b2 >> 2];
455 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1)