Home
last modified time | relevance | path

Searched refs:DO_CRC (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dcrc32.c88 # define DO_CRC(x) crc = tab[ (crc ^ (x)) & 255 ] ^ (crc>>8) in crc32_le() macro
90 # define DO_CRC(x) crc = tab[ ((crc >> 24) ^ (x)) & 255] ^ (crc<<8) in crc32_le() macro
98 DO_CRC(*p++); in crc32_le()
109 DO_CRC(0); in crc32_le()
110 DO_CRC(0); in crc32_le()
111 DO_CRC(0); in crc32_le()
112 DO_CRC(0); in crc32_le()
121 DO_CRC(*p++); in crc32_le()
128 #undef DO_CRC in crc32_le()
186 # define DO_CRC(x) crc = tab[ (crc ^ (x)) & 255 ] ^ (crc>>8) in crc32_be() macro
[all …]
/openbmc/u-boot/lib/
H A Dcrc32.c173 # define DO_CRC(x) crc = tab[(crc ^ (x)) & 255] ^ (crc >> 8) macro
175 # define DO_CRC(x) crc = tab[((crc >> 24) ^ (x)) & 255] ^ (crc << 8) macro
197 DO_CRC(*p++); in crc32_no_comp()
207 DO_CRC(0); in crc32_no_comp()
208 DO_CRC(0); in crc32_no_comp()
209 DO_CRC(0); in crc32_no_comp()
210 DO_CRC(0); in crc32_no_comp()
217 DO_CRC(*++p); /* use pre increment for speed */ in crc32_no_comp()
223 #undef DO_CRC
/openbmc/linux/lib/
H A Dcrc32.c61 # define DO_CRC(x) crc = t0[(crc ^ (x)) & 255] ^ (crc >> 8) macro
67 # define DO_CRC(x) crc = t0[((crc >> 24) ^ (x)) & 255] ^ (crc << 8)
87 DO_CRC(*buf++);
121 DO_CRC(*++p); /* use pre increment for speed */
124 DO_CRC(*++p); /* use pre increment for speed */
129 #undef DO_CRC