Searched refs:crc16_ccitt (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/lib/ |
H A D | crc16.c | 68 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 D | crc.h | 15 uint16_t crc16_ccitt(uint16_t crc_start, const unsigned char *s, int len);
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc_spi.c | 95 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 D | aquantia.c | 157 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 D | xyzModem.c | 383 cksum = crc16_ccitt(0, xyz.pkt, xyz.len); in xyzModem_get_hdr()
|
H A D | hash.c | 158 *((uint16_t *)ctx) = crc16_ccitt(*((uint16_t *)ctx), buf, size); in hash_update_crc16_ccitt()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 371 static u16 crc16_ccitt(u8 data, u16 crc) in crc16_ccitt() function 412 crc = crc16_ccitt(pattern[i], crc); in _calculate_wol_pattern_crc()
|