Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/
Decc-sw-hamming.c31 static const char invparity[256] = { variable
313 code[0] = (invparity[rp7] << 7) | (invparity[rp6] << 6) | in ecc_sw_hamming_calculate()
314 (invparity[rp5] << 5) | (invparity[rp4] << 4) | in ecc_sw_hamming_calculate()
315 (invparity[rp3] << 3) | (invparity[rp2] << 2) | in ecc_sw_hamming_calculate()
316 (invparity[rp1] << 1) | (invparity[rp0]); in ecc_sw_hamming_calculate()
317 code[1] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in ecc_sw_hamming_calculate()
318 (invparity[rp13] << 5) | (invparity[rp12] << 4) | in ecc_sw_hamming_calculate()
319 (invparity[rp11] << 3) | (invparity[rp10] << 2) | in ecc_sw_hamming_calculate()
320 (invparity[rp9] << 1) | (invparity[rp8]); in ecc_sw_hamming_calculate()
322 code[1] = (invparity[rp7] << 7) | (invparity[rp6] << 6) | in ecc_sw_hamming_calculate()
[all …]