/linux-4.1.27/include/linux/ |
H A D | crc-ccitt.h | 8 extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len);
|
/linux-4.1.27/include/net/irda/ |
H A D | crc.h | 27 #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len)
|
/linux-4.1.27/lib/ |
H A D | crc-ccitt.c | 55 * crc_ccitt - recompute the CRC for the data buffer 60 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) crc_ccitt() function 66 EXPORT_SYMBOL(crc_ccitt); variable
|
/linux-4.1.27/net/nfc/ |
H A D | digital.h | 139 digital_skb_add_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); digital_skb_add_crc_a() 144 digital_skb_add_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); digital_skb_add_crc_b() 162 return digital_skb_check_crc(skb, crc_ccitt, CRC_A_INIT, 0, 0); digital_skb_check_crc_a() 167 return digital_skb_check_crc(skb, crc_ccitt, CRC_B_INIT, 1, 0); digital_skb_check_crc_b()
|
/linux-4.1.27/net/nfc/nci/ |
H A D | spi.c | 85 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); nci_spi_send() 170 crc = crc_ccitt(CRC_INIT, skb->data, skb->len); send_acknowledge() 252 ret = (crc_ccitt(CRC_INIT, skb->data, skb->len - NCI_SPI_CRC_LEN) nci_spi_check_crc()
|
/linux-4.1.27/net/mac802154/ |
H A D | tx.c | 87 u16 crc = crc_ccitt(0, skb->data, skb->len); ieee802154_tx()
|
H A D | rx.c | 264 crc = crc_ccitt(0, skb->data, skb->len); ieee802154_rx() 276 crc = crc_ccitt(0, skb->data, skb->len); ieee802154_rx()
|
/linux-4.1.27/net/caif/ |
H A D | cffrml.c | 79 return crc_ccitt(chks, buf, len); cffrml_checksum()
|
/linux-4.1.27/drivers/nfc/st21nfca/ |
H A D | i2c.c | 182 crc = crc_ccitt(0xffff, skb->data, skb->len); st21nfca_hci_add_len_crc() 289 crc = crc_ccitt(0xffff, buf, buflen - 2); check_crc()
|
/linux-4.1.27/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 84 /* crc_ccitt cannot be used since it is computed MSB first and not LSB first */ nxp_nci_fw_crc()
|
/linux-4.1.27/drivers/net/hamradio/ |
H A D | hdlcdrv.c | 90 unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff; append_crc_ccitt() 100 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; check_crc_ccitt()
|
H A D | baycom_epp.c | 263 return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8; check_crc_ccitt() 270 return (crc_ccitt(0xffff, buf, cnt) ^ 0xffff) & 0xffff; calc_crc_ccitt()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
H A D | eeprom.c | 865 crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); p54_parse_eeprom() 879 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); p54_parse_eeprom()
|
/linux-4.1.27/drivers/nfc/pn544/ |
H A D | i2c.c | 294 crc = crc_ccitt(0xffff, skb->data, skb->len); pn544_hci_i2c_add_len_crc() 351 crc = crc_ccitt(0xffff, buf, len - 2); check_crc() 625 crc = crc_ccitt(0xffff, data, datalen); pn544_hci_i2c_fw_check_cmd()
|
/linux-4.1.27/drivers/nfc/microread/ |
H A D | microread.c | 442 crc = crc_ccitt(0xffff, skb->data, skb->len); microread_im_transceive()
|
/linux-4.1.27/drivers/net/irda/ |
H A D | mcs7780.c | 385 /* Unwrap received packets at MIR speed. A 16 bit crc_ccitt checksum is 438 /* Unwrap received packets at FIR speed. A 32 bit crc_ccitt checksum is
|
/linux-4.1.27/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 3025 crc = crc_ccitt(crc, &(pattern[i * 8 + j]), 1); wol_calc_crc()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2800lib.c | 561 crc = crc_ccitt(~0, data, len - 2); rt2800_check_firmware_crc()
|