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 0x03, 0x02, 0x02, 0x03, 0x03,
85 0x04, 0x04, 0x05, 0x05, 0x04, 0x04, 0x05, 0x05,
86 0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x07, 0x07,
87 0x04, 0x04, 0x05, 0x05, 0x04, 0x04, 0x05, 0x05,
88 0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x07, 0x07,
89 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01,
90 0x02, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03,
91 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01,
92 0x02, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03,
93 0x04, 0x04, 0x05, 0x05, 0x04, 0x04, 0x05, 0x05,
94 0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x07, 0x07,
95 0x04, 0x04, 0x05, 0x05, 0x04, 0x04, 0x05, 0x05,
96 0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x07, 0x07,
97 0x08, 0x08, 0x09, 0x09, 0x08, 0x08, 0x09, 0x09,
98 0x0a, 0x0a, 0x0b, 0x0b, 0x0a, 0x0a, 0x0b, 0x0b,
99 0x08, 0x08, 0x09, 0x09, 0x08, 0x08, 0x09, 0x09,
100 0x0a, 0x0a, 0x0b, 0x0b, 0x0a, 0x0a, 0x0b, 0x0b,
101 0x0c, 0x0c, 0x0d, 0x0d, 0x0c, 0x0c, 0x0d, 0x0d,
102 0x0e, 0x0e, 0x0f, 0x0f, 0x0e, 0x0e, 0x0f, 0x0f,
103 0x0c, 0x0c, 0x0d, 0x0d, 0x0c, 0x0c, 0x0d, 0x0d,
104 0x0e, 0x0e, 0x0f, 0x0f, 0x0e, 0x0e, 0x0f, 0x0f,
105 0x08, 0x08, 0x09, 0x09, 0x08, 0x08, 0x09, 0x09,
106 0x0a, 0x0a, 0x0b, 0x0b, 0x0a, 0x0a, 0x0b, 0x0b,
107 0x08, 0x08, 0x09, 0x09, 0x08, 0x08, 0x09, 0x09,
108 0x0a, 0x0a, 0x0b, 0x0b, 0x0a, 0x0a, 0x0b, 0x0b,
109 0x0c, 0x0c, 0x0d, 0x0d, 0x0c, 0x0c, 0x0d, 0x0d,
110 0x0e, 0x0e, 0x0f, 0x0f, 0x0e, 0x0e, 0x0f, 0x0f,
111 0x0c, 0x0c, 0x0d, 0x0d, 0x0c, 0x0c, 0x0d, 0x0d,
112 0x0e, 0x0e, 0x0f, 0x0f, 0x0e, 0x0e, 0x0f, 0x0f
131 par = 0; in ecc_sw_hamming_calculate()
132 rp4 = 0; in ecc_sw_hamming_calculate()
133 rp6 = 0; in ecc_sw_hamming_calculate()
134 rp8 = 0; in ecc_sw_hamming_calculate()
135 rp10 = 0; in ecc_sw_hamming_calculate()
136 rp12 = 0; in ecc_sw_hamming_calculate()
137 rp14 = 0; in ecc_sw_hamming_calculate()
138 rp16 = 0; in ecc_sw_hamming_calculate()
139 rp17 = 0; in ecc_sw_hamming_calculate()
151 for (i = 0; i < eccsize_mult << 2; i++) { in ecc_sw_hamming_calculate()
210 if ((i & 0x1) == 0) in ecc_sw_hamming_calculate()
212 if ((i & 0x2) == 0) in ecc_sw_hamming_calculate()
214 if (eccsize_mult == 2 && (i & 0x4) == 0) in ecc_sw_hamming_calculate()
226 rp4 &= 0xff; in ecc_sw_hamming_calculate()
229 rp6 &= 0xff; in ecc_sw_hamming_calculate()
232 rp8 &= 0xff; in ecc_sw_hamming_calculate()
235 rp10 &= 0xff; in ecc_sw_hamming_calculate()
238 rp12 &= 0xff; in ecc_sw_hamming_calculate()
241 rp14 &= 0xff; in ecc_sw_hamming_calculate()
245 rp16 &= 0xff; in ecc_sw_hamming_calculate()
261 rp2 &= 0xff; in ecc_sw_hamming_calculate()
262 rp3 = par & 0xffff; in ecc_sw_hamming_calculate()
264 rp3 &= 0xff; in ecc_sw_hamming_calculate()
268 rp3 &= 0xff; in ecc_sw_hamming_calculate()
269 rp2 = par & 0xffff; in ecc_sw_hamming_calculate()
271 rp2 &= 0xff; in ecc_sw_hamming_calculate()
277 rp0 = (par >> 8) & 0xff; in ecc_sw_hamming_calculate()
278 rp1 = (par & 0xff); in ecc_sw_hamming_calculate()
280 rp1 = (par >> 8) & 0xff; in ecc_sw_hamming_calculate()
281 rp0 = (par & 0xff); in ecc_sw_hamming_calculate()
286 par &= 0xff; in ecc_sw_hamming_calculate()
293 * The & 0xff seems superfluous, but benchmarking learned that in ecc_sw_hamming_calculate()
297 rp5 = (par ^ rp4) & 0xff; in ecc_sw_hamming_calculate()
298 rp7 = (par ^ rp6) & 0xff; in ecc_sw_hamming_calculate()
299 rp9 = (par ^ rp8) & 0xff; in ecc_sw_hamming_calculate()
300 rp11 = (par ^ rp10) & 0xff; in ecc_sw_hamming_calculate()
301 rp13 = (par ^ rp12) & 0xff; in ecc_sw_hamming_calculate()
302 rp15 = (par ^ rp14) & 0xff; in ecc_sw_hamming_calculate()
304 rp17 = (par ^ rp16) & 0xff; in ecc_sw_hamming_calculate()
313 code[0] = (invparity[rp7] << 7) | (invparity[rp6] << 6) | in ecc_sw_hamming_calculate()
326 code[0] = (invparity[rp15] << 7) | (invparity[rp14] << 6) | in ecc_sw_hamming_calculate()
334 (invparity[par & 0xf0] << 7) | in ecc_sw_hamming_calculate()
335 (invparity[par & 0x0f] << 6) | in ecc_sw_hamming_calculate()
336 (invparity[par & 0xcc] << 5) | in ecc_sw_hamming_calculate()
337 (invparity[par & 0x33] << 4) | in ecc_sw_hamming_calculate()
338 (invparity[par & 0xaa] << 3) | in ecc_sw_hamming_calculate()
339 (invparity[par & 0x55] << 2) | in ecc_sw_hamming_calculate()
343 (invparity[par & 0xf0] << 7) | in ecc_sw_hamming_calculate()
344 (invparity[par & 0x0f] << 6) | in ecc_sw_hamming_calculate()
345 (invparity[par & 0xcc] << 5) | in ecc_sw_hamming_calculate()
346 (invparity[par & 0x33] << 4) | in ecc_sw_hamming_calculate()
347 (invparity[par & 0xaa] << 3) | in ecc_sw_hamming_calculate()
348 (invparity[par & 0x55] << 2) | in ecc_sw_hamming_calculate()
350 (invparity[rp16] << 0); in ecc_sw_hamming_calculate()
352 return 0; in ecc_sw_hamming_calculate()
387 b0 = read_ecc[0] ^ calc_ecc[0]; in ecc_sw_hamming_correct()
391 b1 = read_ecc[0] ^ calc_ecc[0]; in ecc_sw_hamming_correct()
401 if ((b0 | b1 | b2) == 0) in ecc_sw_hamming_correct()
402 return 0; /* no error */ in ecc_sw_hamming_correct()
404 if ((((b0 ^ (b0 >> 1)) & 0x55) == 0x55) && in ecc_sw_hamming_correct()
405 (((b1 ^ (b1 >> 1)) & 0x55) == 0x55) && in ecc_sw_hamming_correct()
406 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in ecc_sw_hamming_correct()
407 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in ecc_sw_hamming_correct()
428 byte_addr = (addressbits[b2 & 0x3] << 8) + in ecc_sw_hamming_correct()
519 return 0; in nand_ecc_sw_hamming_init_ctx()
560 return 0; in nand_ecc_sw_hamming_prepare_io_req()
564 return 0; in nand_ecc_sw_hamming_prepare_io_req()
570 return 0; in nand_ecc_sw_hamming_prepare_io_req()
573 for (i = 0, data = req->databuf.out; in nand_ecc_sw_hamming_prepare_io_req()
579 0, total); in nand_ecc_sw_hamming_prepare_io_req()
593 unsigned int max_bitflips = 0; in nand_ecc_sw_hamming_finish_io_req()
599 return 0; in nand_ecc_sw_hamming_finish_io_req()
603 return 0; in nand_ecc_sw_hamming_finish_io_req()
608 return 0; in nand_ecc_sw_hamming_finish_io_req()
612 ret = mtd_ooblayout_get_eccbytes(mtd, ecccode, req->oobbuf.in, 0, in nand_ecc_sw_hamming_finish_io_req()
618 for (i = 0; eccsteps; eccsteps--, i += eccbytes, data += eccsize) in nand_ecc_sw_hamming_finish_io_req()
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
628 if (stat < 0) { in nand_ecc_sw_hamming_finish_io_req()