Home
last modified time | relevance | path

Searched refs:addressbits (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_ecc.c75 * addressbits is a lookup table to filter out the bits from the xor-ed
80 static const char addressbits[256] = { variable
430 * A lookup table (called addressbits) is used to filter in __nand_correct_data()
440 * We could also do addressbits[b2] >> 1 but for the in __nand_correct_data()
444 byte_addr = (addressbits[b1] << 4) + addressbits[b0]; in __nand_correct_data()
446 byte_addr = (addressbits[b2 & 0x3] << 8) + in __nand_correct_data()
447 (addressbits[b1] << 4) + addressbits[b0]; in __nand_correct_data()
448 bit_addr = addressbits[b in __nand_correct_data()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A Decc-sw-hamming.c75 * addressbits is a lookup table to filter out the bits from the xor-ed
80 static const char addressbits[256] = { variable
412 * A lookup table (called addressbits) is used to filter in ecc_sw_hamming_correct()
422 * We could also do addressbits[b2] >> 1 but for the in ecc_sw_hamming_correct()
426 byte_addr = (addressbits[b1] << 4) + addressbits[b0]; in ecc_sw_hamming_correct()
428 byte_addr = (addressbits[b2 & 0x3] << 8) + in ecc_sw_hamming_correct()
429 (addressbits[b1] << 4) + addressbits[b0]; in ecc_sw_hamming_correct()
430 bit_addr = addressbits[b in ecc_sw_hamming_correct()
[all...]

Completed in 2 milliseconds