Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
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 …]
/external/u-boot/lib/
Dcrc32.c169 # define DO_CRC(x) crc = tab[(crc ^ (x)) & 255] ^ (crc >> 8) macro
171 # define DO_CRC(x) crc = tab[((crc >> 24) ^ (x)) & 255] ^ (crc << 8) macro
193 DO_CRC(*p++); in crc32_no_comp()
203 DO_CRC(0); in crc32_no_comp()
204 DO_CRC(0); in crc32_no_comp()
205 DO_CRC(0); in crc32_no_comp()
206 DO_CRC(0); in crc32_no_comp()
213 DO_CRC(*++p); /* use pre increment for speed */ in crc32_no_comp()
219 #undef DO_CRC
/external/e2fsprogs/lib/ext2fs/
Dcrc32c.c81 # define DO_CRC(x) (crc = t0[(crc ^ (x)) & 255] ^ (crc >> 8)) in crc32_body() macro
87 # define DO_CRC(x) (crc = t0[((crc >> 24) ^ (x)) & 255] ^ (crc << 8)) in crc32_body()
102 DO_CRC(*buf++); in crc32_body()
130 DO_CRC(*++p); /* use pre increment for speed */ in crc32_body()
134 #undef DO_CRC in crc32_body()