Searched refs:crc2 (Results 1 – 3 of 3) sorted by relevance
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | crc32.c | 434 u32 crc1, crc2; in test_step() local 439 crc2 = crc32_be(init, buf, len + 4); in test_step() 440 if (crc2) in test_step() 442 crc2); in test_step() 445 crc2 = crc32_be(init, buf, i); in test_step() 446 crc2 = crc32_be(crc2, buf + i, len + 4 - i); in test_step() 447 if (crc2) in test_step() 448 printf("\nCRC split fail: 0x%08x\n", crc2); in test_step() 455 crc2 = bitrev32(crc1); in test_step() 456 if (crc1 != bitrev32(crc2)) in test_step() [all …]
|
| /openbmc/u-boot/common/ |
| H A D | xyzModem.c | 47 unsigned char blk, cblk, crc1, crc2; member 361 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.crc2); in xyzModem_get_hdr() 362 ZM_DEBUG (zm_save (xyz.crc2)); in xyzModem_get_hdr() 384 if (cksum != ((xyz.crc1 << 8) | xyz.crc2)) in xyzModem_get_hdr() 387 xyz.crc1, xyz.crc2, cksum & 0xFFFF)); in xyzModem_get_hdr()
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_sf.py | 182 crc2 = sf_read(u_boot_console, env__sf_config, sf_params) 184 assert crc1 == crc2, 'CRC32 of two successive read operation do not match'
|