Searched refs:bit_addr (Results 1 – 2 of 2) sorted by relevance
378 unsigned char b0, b1, b2, bit_addr; in ecc_sw_hamming_correct() local430 bit_addr = addressbits[b2 >> 2]; in ecc_sw_hamming_correct()432 buf[byte_addr] ^= (1 << bit_addr); in ecc_sw_hamming_correct()
400 unsigned short byte_addr, bit_addr; in pl35x_nand_correct_data() local424 bit_addr = ecc_odd & PL35X_NAND_ECC_BIT_OFF_MASK; in pl35x_nand_correct_data()426 buf[byte_addr] ^= (BIT(bit_addr)); in pl35x_nand_correct_data()