/openbmc/linux/lib/ |
H A D | crc-ccitt.c | 99 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt() function 105 EXPORT_SYMBOL(crc_ccitt);
|
/openbmc/linux/net/nfc/ |
H A D | digital.h | 130 digital_skb_add_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); in digital_skb_add_crc_a() 135 digital_skb_add_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); in digital_skb_add_crc_b() 153 return digital_skb_check_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); in digital_skb_check_crc_a() 158 return digital_skb_check_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); in digital_skb_check_crc_b()
|
/openbmc/linux/net/nfc/nci/ |
H A D | spi.c | 76 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); in nci_spi_send() 164 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); in send_acknowledge() 250 ret = (crc_ccitt(CRC_INIT, skb->data, skb->len - NCI_SPI_CRC_LEN) in nci_spi_check_crc()
|
/openbmc/qemu/util/ |
H A D | crc-ccitt.c | 105 uint16_t crc_ccitt(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt() function
|
/openbmc/linux/include/linux/ |
H A D | crc-ccitt.h | 10 extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len);
|
/openbmc/qemu/include/qemu/ |
H A D | crc-ccitt.h | 20 uint16_t crc_ccitt(uint16_t crc, const uint8_t *buffer, size_t len);
|
/openbmc/linux/net/mac802154/ |
H A D | rx.c | 386 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx() 396 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx()
|
H A D | tx.c | 74 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_tx()
|
/openbmc/linux/net/ipv6/ |
H A D | calipso.c | 579 crc = crc_ccitt(0xffff, option, 8); in calipso_validate() 580 crc = crc_ccitt(crc, zero, sizeof(zero)); in calipso_validate() 582 crc = crc_ccitt(crc, option + 10, len - 10); in calipso_validate() 761 crc = ~crc_ccitt(0xffff, calipso, len); in calipso_genopt()
|
/openbmc/linux/drivers/nfc/st21nfca/ |
H A D | i2c.c | 161 crc = crc_ccitt(0xffff, skb->data, skb->len); in st21nfca_hci_add_len_crc() 267 crc = crc_ccitt(0xffff, buf, buflen - 2); in check_crc()
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-serial.c | 128 dev->txfcs = crc_ccitt(FCS_INIT, buf + 1, 2); in mctp_serial_tx_work() 179 dev->txfcs = crc_ccitt(dev->txfcs, in mctp_serial_tx_work()
|
/openbmc/linux/drivers/nfc/pn544/ |
H A D | i2c.c | 276 crc = crc_ccitt(0xffff, skb->data, skb->len); in pn544_hci_i2c_add_len_crc() 333 crc = crc_ccitt(0xffff, buf, len - 2); in check_crc() 607 crc = crc_ccitt(0xffff, data, datalen); in pn544_hci_i2c_fw_check_cmd()
|
/openbmc/linux/net/caif/ |
H A D | cffrml.c | 79 return crc_ccitt(chks, buf, len); in cffrml_checksum()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_i2c.c | 269 crc_host = swab16(crc_ccitt(0, value, len)); in tpm_tis_i2c_verify_crc()
|
/openbmc/linux/Documentation/networking/caif/ |
H A D | caif.rst | 19 $modprobe crc_ccitt
|
/openbmc/linux/drivers/net/hamradio/ |
H A D | hdlcdrv.c | 78 unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff; in append_crc_ccitt() 88 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; in check_crc_ccitt()
|
H A D | baycom_epp.c | 248 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; in check_crc_ccitt() 255 return (crc_ccitt(0xffff, buf, cnt) ^ 0xffff) & 0xffff; in calc_crc_ccitt()
|
/openbmc/linux/drivers/net/wireless/intersil/p54/ |
H A D | eeprom.c | 864 crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); in p54_parse_eeprom() 878 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
|
/openbmc/linux/drivers/nfc/microread/ |
H A D | microread.c | 429 crc = crc_ccitt(0xffff, skb->data, skb->len); in microread_im_transceive()
|
/openbmc/qemu/hw/tpm/ |
H A D | tpm_tis_common.c | 466 return bswap16(crc_ccitt(0, s->buffer, s->rw_offset)); in tpm_tis_get_checksum()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ili210x.c | 709 u16 crc = crc_ccitt(0, fwbuf + start + (dataflash ? 2 : 0), in ili251x_firmware_write_to_ic()
|
/openbmc/linux/drivers/net/ieee802154/ |
H A D | cc2520.c | 485 u16 crc = crc_ccitt(0, skb->data, skb->len); in cc2520_tx()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun6i_mipi_dsi.c | 256 return crc_ccitt(0xffff, buffer, len); in sun6i_dsi_crc_compute()
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 2996 crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1); in wol_calc_crc()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.c | 645 crc = crc_ccitt(~0, data, len - 2); in rt2800_check_firmware_crc()
|