Home
last modified time | relevance | path

Searched refs:crc_ccitt (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/net/nfc/
Ddigital.h130 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()
/kernel/linux/linux-5.10/lib/
Dcrc-ccitt.c99 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt() function
105 EXPORT_SYMBOL(crc_ccitt);
/kernel/linux/linux-5.10/net/nfc/nci/
Dspi.c76 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()
/kernel/linux/linux-5.10/include/linux/
Dcrc-ccitt.h10 extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len);
/kernel/linux/linux-5.10/net/mac802154/
Drx.c263 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx()
275 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_rx()
Dtx.c72 crc = crc_ccitt(0, skb->data, skb->len); in ieee802154_tx()
/kernel/linux/linux-5.10/net/ipv6/
Dcalipso.c579 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()
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
Di2c.c163 crc = crc_ccitt(0xffff, skb->data, skb->len); in st21nfca_hci_add_len_crc()
269 crc = crc_ccitt(0xffff, buf, buflen - 2); in check_crc()
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Di2c.c278 crc = crc_ccitt(0xffff, skb->data, skb->len); in pn544_hci_i2c_add_len_crc()
335 crc = crc_ccitt(0xffff, buf, len - 2); in check_crc()
609 crc = crc_ccitt(0xffff, data, datalen); in pn544_hci_i2c_fw_check_cmd()
/kernel/linux/linux-5.10/net/caif/
Dcffrml.c79 return crc_ccitt(chks, buf, len); in cffrml_checksum()
/kernel/linux/linux-5.10/Documentation/networking/caif/
Dcaif.rst19 $modprobe crc_ccitt
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dhdlcdrv.c77 unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff; in append_crc_ccitt()
87 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; in check_crc_ccitt()
Dbaycom_epp.c248 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Deeprom.c864 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()
/kernel/linux/linux-5.10/drivers/nfc/microread/
Dmicroread.c431 crc = crc_ccitt(0xffff, skb->data, skb->len); in microread_im_transceive()
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dcc2520.c486 u16 crc = crc_ccitt(0, skb->data, skb->len); in cc2520_tx()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c256 return crc_ccitt(0xffff, buffer, len); in sun6i_dsi_crc_compute()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
Dvia-velocity.c2998 crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1); in wol_calc_crc()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c625 crc = crc_ccitt(~0, data, len - 2); in rt2800_check_firmware_crc()