Lines Matching refs:crc
15 UInt i, crc = (b & 0xFF) ^ crcIn; in do_s_crc32b() local
17 crc = (crc >> 1) ^ ((crc & 1) ? 0x82f63b78 : 0); in do_s_crc32b()
18 return crc; in do_s_crc32b()
23 UInt i, crc = (w & 0xFFFF) ^ crcIn; in do_s_crc32w() local
25 crc = (crc >> 1) ^ ((crc & 1) ? 0x82f63b78 : 0); in do_s_crc32w()
26 return crc; in do_s_crc32w()
31 UInt i, crc = l ^ crcIn; in do_s_crc32l() local
33 crc = (crc >> 1) ^ ((crc & 1) ? 0x82f63b78 : 0); in do_s_crc32l()
34 return crc; in do_s_crc32l()
39 UInt crc = do_s_crc32l(crcIn, (UInt)q); in do_s_crc32q() local
40 return do_s_crc32l(crc, (UInt)(q >> 32)); in do_s_crc32q()
151 UInt crc = 0xFFFFFFFF; in try_mem() local
153 crc = do_h_crc32b_mem( crc, &b[i+al] ); in try_mem()
154 printf("mem b misalign %d = %08x\n", al, crc); in try_mem()
158 UInt crc = 0xFFFFFFFF; in try_mem() local
160 crc = do_h_crc32w_mem( crc, (UShort*)&b[i+al] ); in try_mem()
161 printf("mem w misalign %d = %08x\n", al, crc); in try_mem()
165 UInt crc = 0xFFFFFFFF; in try_mem() local
167 crc = do_h_crc32l_mem( crc, (UInt*)&b[i+al] ); in try_mem()
168 printf("mem l misalign %d = %08x\n", al, crc); in try_mem()
172 UInt crc = 0xFFFFFFFF; in try_mem() local
174 crc = do_h_crc32q_mem( crc, (ULong*)&b[i+al] ); in try_mem()
175 printf("mem q misalign %d = %08x\n", al, crc); in try_mem()