Lines Matching defs:ecc_code
177 const u_char *dat, u_char *ecc_code)
184 ecc_code[0] = (u_char)(ecc24);
185 ecc_code[1] = (u_char)(ecc24 >> 8);
186 ecc_code[2] = (u_char)(ecc24 >> 16);
270 const u_char *dat, u_char *ecc_code)
279 * ecc_code is not needed.
293 *ecc_code++ = p[0] & 0xff;
294 *ecc_code++ = ((p[0] >> 8) & 0x03) | ((p[0] >> 14) & 0xfc);
295 *ecc_code++ = ((p[0] >> 22) & 0x0f) | ((p[1] << 4) & 0xf0);
296 *ecc_code++ = ((p[1] >> 4) & 0x3f) | ((p[1] >> 10) & 0xc0);
297 *ecc_code++ = (p[1] >> 18) & 0xff;
304 * hardware plus the ecc_code computed when it was first written.
307 u_char *data, u_char *ecc_code, u_char *null)
320 if (ecc_code[i] != 0xff)
329 if (WARN_ON(0x01 & (unsigned) ecc_code))
331 ecc16 = (unsigned short *)ecc_code;