Home
last modified time | relevance | path

Searched refs:crc1 (Results 1 – 5 of 5) sorted by relevance

/drivers/input/joystick/
Dwalkera0701.c70 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()
/drivers/staging/cxt1e1/
Dpmc93x6_eeprom.c534 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()
/drivers/block/
Dswim_asm.S135 crc1: tstb %a2@ label
136 dbmi %d2, crc1
Dswim.c39 unsigned char crc1; member
/drivers/mtd/ubi/
Deba.c460 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()