Searched refs:crc1 (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | crc32.c | 434 u32 crc1, crc2; in test_step() local 437 crc1 = crc32_be(init, buf, len); in test_step() 438 store_be(crc1, buf + len); in test_step() 455 crc2 = bitrev32(crc1); in test_step() 456 if (crc1 != bitrev32(crc2)) in test_step() 458 crc1, crc2, bitrev32(crc2)); in test_step() 459 crc1 = crc32_le(init, buf, len); in test_step() 460 if (crc1 != crc2) in test_step() 461 printf("\nCRC endianness fail: 0x%08x != 0x%08x\n", crc1, in test_step() 475 return crc1; in test_step() [all …]
|
| H A D | eba.c | 455 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb() local 456 if (crc1 != crc) { in ubi_eba_read_leb() 458 crc1, crc); in ubi_eba_read_leb()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | xyzModem.c | 47 unsigned char blk, cblk, crc1, crc2; member 351 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.crc1); in xyzModem_get_hdr() 352 ZM_DEBUG (zm_save (xyz.crc1)); in xyzModem_get_hdr() 383 if (cksum != ((xyz.crc1 << 8) | xyz.crc2)) in xyzModem_get_hdr() 386 xyz.crc1, xyz.crc2, cksum & 0xFFFF)); in xyzModem_get_hdr() 397 if (xyz.crc1 != (cksum & 0xFF)) in xyzModem_get_hdr() 400 ("Checksum error - recvd: %x, computed: %x\n", xyz.crc1, in xyzModem_get_hdr()
|
| /rk3399_rockchip-uboot/tools/env/ |
| H A D | fw_env.c | 1138 int crc1, crc1_ok; in fw_env_open() local 1245 crc1 = crc32 (0, (uint8_t *) redundant->data, ENV_SIZE); in fw_env_open() 1254 crc1_ok = (crc1 == redundant->crc); in fw_env_open()
|