Lines Matching defs:code
120 * @code: output buffer with ECC
124 unsigned char *code, bool sm_order)
318 * the code below is the fastest
321 code[0] = (invparity[rp7] << 7) | (invparity[rp6] << 6) |
325 code[1] = (invparity[rp15] << 7) | (invparity[rp14] << 6) |
330 code[1] = (invparity[rp7] << 7) | (invparity[rp6] << 6) |
334 code[0] = (invparity[rp15] << 7) | (invparity[rp14] << 6) |
341 code[2] =
350 code[2] =
367 * @code: output buffer with ECC
370 unsigned char *code)
374 __nand_calculate_ecc(buf, chip->ecc.size, code, sm_order);