Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dcrc16.c68 uint16_t crc16_ccitt(uint16_t cksum, const unsigned char *buf, int len) in crc16_ccitt() function
81 crc = crc16_ccitt(0, in, len); in crc16_ccitt_wd_buf()
/openbmc/u-boot/include/u-boot/
H A Dcrc.h15 uint16_t crc16_ccitt(uint16_t crc_start, const unsigned char *s, int len);
/openbmc/u-boot/drivers/mmc/
H A Dmmc_spi.c95 if (be_to_cpu16(crc16_ccitt(0, buf, bsize)) != crc) { in mmc_spi_readdata()
124 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize)); in mmc_spi_writedata()
/openbmc/u-boot/drivers/net/phy/
H A Daquantia.c157 crc = crc16_ccitt(crc, (u8 *)&word, sizeof(word)); in aquantia_load_memory()
189 calculated_crc = crc16_ccitt(0, addr, fw_length - 2); in aquantia_upload_firmware()
/openbmc/u-boot/common/
H A DxyzModem.c383 cksum = crc16_ccitt(0, xyz.pkt, xyz.len); in xyzModem_get_hdr()
H A Dhash.c158 *((uint16_t *)ctx) = crc16_ccitt(*((uint16_t *)ctx), buf, size); in hash_update_crc16_ccitt()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c371 static u16 crc16_ccitt(u8 data, u16 crc) in crc16_ccitt() function
412 crc = crc16_ccitt(pattern[i], crc); in _calculate_wol_pattern_crc()