/Linux-v4.19/net/nfc/ |
D | digital.h | 139 digital_skb_add_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); in digital_skb_add_crc_a() 144 digital_skb_add_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); in digital_skb_add_crc_b() 162 return digital_skb_check_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); in digital_skb_check_crc_a() 167 return digital_skb_check_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); in digital_skb_check_crc_b()
|
/Linux-v4.19/lib/ |
D | crc-ccitt.c | 101 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt() function 107 EXPORT_SYMBOL(crc_ccitt);
|
/Linux-v4.19/net/nfc/nci/ |
D | spi.c | 88 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); in nci_spi_send() 174 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); in send_acknowledge() 259 ret = (crc_ccitt(CRC_INIT, skb->data, skb->len - NCI_SPI_CRC_LEN) in nci_spi_check_crc()
|
/Linux-v4.19/include/linux/ |
D | crc-ccitt.h | 10 extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len);
|
/Linux-v4.19/net/mac802154/ |
D | rx.c | 271 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx() 283 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx()
|
D | tx.c | 80 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_tx()
|
/Linux-v4.19/net/ipv6/ |
D | calipso.c | 597 crc = crc_ccitt(0xffff, option, 8); in calipso_validate() 598 crc = crc_ccitt(crc, zero, sizeof(zero)); in calipso_validate() 600 crc = crc_ccitt(crc, option + 10, len - 10); in calipso_validate() 779 crc = ~crc_ccitt(0xffff, calipso, len); in calipso_genopt()
|
/Linux-v4.19/drivers/nfc/st21nfca/ |
D | i2c.c | 174 crc = crc_ccitt(0xffff, skb->data, skb->len); in st21nfca_hci_add_len_crc() 280 crc = crc_ccitt(0xffff, buf, buflen - 2); in check_crc()
|
/Linux-v4.19/drivers/nfc/pn544/ |
D | i2c.c | 288 crc = crc_ccitt(0xffff, skb->data, skb->len); in pn544_hci_i2c_add_len_crc() 345 crc = crc_ccitt(0xffff, buf, len - 2); in check_crc() 619 crc = crc_ccitt(0xffff, data, datalen); in pn544_hci_i2c_fw_check_cmd()
|
/Linux-v4.19/net/caif/ |
D | cffrml.c | 79 return crc_ccitt(chks, buf, len); in cffrml_checksum()
|
/Linux-v4.19/Documentation/networking/caif/ |
D | README | 9 $modprobe crc_ccitt
|
/Linux-v4.19/drivers/net/hamradio/ |
D | hdlcdrv.c | 90 unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff; in append_crc_ccitt() 100 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; in check_crc_ccitt()
|
D | baycom_epp.c | 263 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; in check_crc_ccitt() 270 return (crc_ccitt(0xffff, buf, cnt) ^ 0xffff) & 0xffff; in calc_crc_ccitt()
|
/Linux-v4.19/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 867 crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); in p54_parse_eeprom() 881 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
|
/Linux-v4.19/drivers/nfc/microread/ |
D | microread.c | 442 crc = crc_ccitt(0xffff, skb->data, skb->len); in microread_im_transceive()
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 248 return crc_ccitt(0xffff, buffer, len); in sun6i_dsi_crc_compute()
|
/Linux-v4.19/drivers/net/ieee802154/ |
D | cc2520.c | 494 u16 crc = crc_ccitt(0, skb->data, skb->len); in cc2520_tx()
|
/Linux-v4.19/drivers/net/ethernet/via/ |
D | via-velocity.c | 3001 crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1); in wol_calc_crc()
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 630 crc = crc_ccitt(~0, data, len - 2); in rt2800_check_firmware_crc()
|