Searched refs:crc1 (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/lib/ |
D | crc32.c | 395 u32 crc1, crc2; in test_step() local 398 crc1 = crc32_be(init, buf, len); in test_step() 399 store_be(crc1, buf + len); in test_step() 416 crc2 = bitrev32(crc1); in test_step() 417 if (crc1 != bitrev32(crc2)) in test_step() 419 crc1, crc2, bitrev32(crc2)); in test_step() 420 crc1 = crc32_le(init, buf, len); in test_step() 421 if (crc1 != crc2) in test_step() 422 printf("\nCRC endianness fail: 0x%08x != 0x%08x\n", crc1, in test_step() 436 return crc1; in test_step() [all …]
|
/linux-2.6.39/drivers/input/joystick/ |
D | walkera0701.c | 70 int crc1, crc2; in walkera0701_parse_frame() local 72 for (crc1 = crc2 = i = 0; i < 10; i++) { in walkera0701_parse_frame() 73 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 76 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 78 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 80 for (crc1 = crc2 = 0, i = 11; i < 23; i++) { in walkera0701_parse_frame() 81 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 84 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 86 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
|
/linux-2.6.39/drivers/staging/cxt1e1/ |
D | pmc93x6_eeprom.c | 534 u_int32_t crc1, crc2; /* CRC read from EEPROM */ in pmc_verify_cksum() local 537 crc1 = pmcGetBuffValue (&buf1->Crc32[0], sizeof (buf1->Crc32)); in pmc_verify_cksum() 539 pr_info("EEPROM: chksum 1 reads as %08x\n", crc1); /* RLD DEBUG */ in pmc_verify_cksum() 542 (pmcCalcCrc_T01 ((void *) buf1) == crc1)) in pmc_verify_cksum()
|
/linux-2.6.39/drivers/block/ |
D | swim_asm.S | 135 crc1: tstb %a2@ label 136 dbmi %d2, crc1
|
D | swim.c | 40 unsigned char crc1; member
|
/linux-2.6.39/drivers/mtd/ubi/ |
D | eba.c | 460 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb() local 461 if (crc1 != crc) { in ubi_eba_read_leb() 463 crc1, crc); in ubi_eba_read_leb()
|