Lines Matching refs:crc
43 int crc;
59 * 2 bytes for crc
75 c, "crc=NO\n");
78 crc = crc16(CRC16_INIT, wrbuf, 3);
79 crc = crc16(crc, rbuf, 11);
82 * DS2423 calculates crc from all bytes
83 * read after the previous crc bytes.
85 crc = crc16(CRC16_INIT,
90 if (crc == CRC16_VALID) {
98 c, "crc=YES c=%d\n", result);
101 c, "crc=NO\n");