Home
last modified time | relevance | path

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

/openbmc/u-boot/board/freescale/mpc8323erdb/
H A Dmpc8323erdb.c204 uint32_t crc_buf; in mac_read_from_eeprom() local
206 memcpy(&crc_buf, &buf[24], sizeof(uint32_t)); in mac_read_from_eeprom()
208 if (crc32(crc, buf, 24) == crc_buf) { in mac_read_from_eeprom()
/openbmc/linux/drivers/iio/imu/
H A Dadis16480.c1106 u16 crc_buf[15]; in adis16480_validate_crc() local
1110 crc_buf[j] = swab16(buf[j]); in adis16480_validate_crc()
1112 crc_calc = crc32(~0, crc_buf, n_elem * 2); in adis16480_validate_crc()