Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_selftest.c125 u32 num_images, i, j, nvm_crc, calc_crc; in ecore_selftest_nvram() local
197 calc_crc = OSAL_CRC32(0xffffffff , buf, image_att.len - 4); in ecore_selftest_nvram()
198 calc_crc = ~OSAL_CPU_TO_BE32(calc_crc); in ecore_selftest_nvram()
200 "nvm crc 0x%x, calc_crc 0x%x\n", nvm_crc, calc_crc); in ecore_selftest_nvram()
202 if (calc_crc != nvm_crc) { in ecore_selftest_nvram()
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.c104 unsigned calc_crc; in png_read_ihdr() local
119 calc_crc = crc32(0L, Z_NULL, 0); in png_read_ihdr()
120 calc_crc = crc32(calc_crc, ihdr, 13+4); in png_read_ihdr()
122 if (orig_crc != calc_crc) { in png_read_ihdr()
315 unsigned calc_crc; in png_read_idat() local
329 calc_crc = crc32(0L, Z_NULL, 0); in png_read_idat()
330 calc_crc = crc32(calc_crc, (uint8_t *)"IDAT", 4); in png_read_idat()
331 calc_crc = crc32(calc_crc, (uint8_t *)png->readbuf, length); in png_read_idat()
336 if (orig_crc != calc_crc) in png_read_idat()
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c448 static u32 calc_crc(u8 *b, int len) in calc_crc() function
506 bit = (calc_crc(addr, ETH_ALEN) >> 23) & 0x3f; /* bit[23:28] */ in pm3393_set_rx_mode()