Home
last modified time | relevance | path

Searched refs:bit_addr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/nand/
A Decc-sw-hamming.c378 unsigned char b0, b1, b2, bit_addr; in ecc_sw_hamming_correct() local
430 bit_addr = addressbits[b2 >> 2]; in ecc_sw_hamming_correct()
432 buf[byte_addr] ^= (1 << bit_addr); in ecc_sw_hamming_correct()
/linux/drivers/mtd/nand/raw/
A Dpl35x-nand-controller.c402 unsigned short byte_addr, bit_addr; in pl35x_nand_correct_data() local
426 bit_addr = ecc_odd & PL35X_NAND_ECC_BIT_OFF_MASK; in pl35x_nand_correct_data()
428 buf[byte_addr] ^= (BIT(bit_addr)); in pl35x_nand_correct_data()

Completed in 11 milliseconds