Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c266 u32_t crc32_result = crc32_seed; in calc_crc32() local
270 return crc32_result ; in calc_crc32()
277 msb = (u8_t)(crc32_result >> 31) ; // msb = crc32_result[31]; in calc_crc32()
278 crc32_result = crc32_result << 1; in calc_crc32()
281 crc32_result = crc32_result ^ CRC32_POLY; in calc_crc32()
282 crc32_result |= 1 ;//crc32_result[0] = 1; in calc_crc32()
289 temp = crc32_result ; in calc_crc32()
290 shft = sizeof(crc32_result) * 8 -1 ; in calc_crc32()
291 for( crc32_result>>= 1; crc32_result; crc32_result>>= 1 ) in calc_crc32()
294 temp |= crc32_result & 1; in calc_crc32()
[all …]