Lines Matching defs:crc
804 /* Good crc, copy the vars */
822 /* bad length or crc didn't check, try to find the next set */
823 OTP_MSG((" chunk %d @ 0x%x size 0x%x: bad crc, ",
1050 uint16 crc, clen, *p, hdr[2];
1094 /* Prepare the header and crc */
1097 crc = hndcrc16((uint8 *)hdr, sizeof(hdr), CRC16_INIT_VALUE);
1098 crc = hndcrc16((uint8 *)data, wlen * 2, crc);
1099 crc = ~crc;
1123 /* If we wrote the whole chunk, write the crc */
1125 OTP_MSG((" whole chunk written, crc = 0x%x\n", crc));
1126 err += otp_write_word(oh, cc, wn++, crc);