Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/nand/
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-v6.6/drivers/mtd/nand/raw/
Dpl35x-nand-controller.c400 unsigned short byte_addr, bit_addr; in pl35x_nand_correct_data() local
424 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()