crc16 24 arch/powerpc/crypto/crc-vpmsum_test.c u16 crc16 = 0, verify16 = 0; crc16 87 arch/powerpc/crypto/crc-vpmsum_test.c crypto_shash_final(crct10dif_shash, (u8 *)(&crc16)); crc16 91 arch/powerpc/crypto/crc-vpmsum_test.c if (crc16 != verify16) { crc16 93 arch/powerpc/crypto/crc-vpmsum_test.c crc16, verify16, len); crc16 51 drivers/crypto/atmel-i2c.c *__crc16 = cpu_to_le16(bitrev16(crc16(0, data, len))); crc16 130 drivers/input/keyboard/applespi.c __le16 crc16; crc16 167 drivers/input/keyboard/applespi.c __le16 crc16; crc16 200 drivers/input/keyboard/applespi.c __le16 crc16; crc16 220 drivers/input/keyboard/applespi.c __le16 crc16; crc16 233 drivers/input/keyboard/applespi.c __le16 crc16; crc16 248 drivers/input/keyboard/applespi.c __le16 crc16; crc16 265 drivers/input/keyboard/applespi.c __le16 crc16; crc16 343 drivers/input/keyboard/applespi.c __le16 crc16; crc16 844 drivers/input/keyboard/applespi.c crc = crc16(0, (u8 *)message, le16_to_cpu(packet->length) - 2); crc16 847 drivers/input/keyboard/applespi.c crc = crc16(0, (u8 *)packet, sizeof(*packet) - 2); crc16 848 drivers/input/keyboard/applespi.c packet->crc16 = cpu_to_le16(crc); crc16 1363 drivers/input/keyboard/applespi.c crc = crc16(0, buffer, buflen); crc16 1361 drivers/media/usb/ttusb-dec/ttusb_dec.c firmware_csum = crc16(~0, firmware, firmware_size) ^ ~0; crc16 3132 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u16 crc16; crc16 3134 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u16 crc16; crc16 2862 drivers/net/ethernet/microchip/lan743x_main.c return bitrev16(crc16(0xFFFF, buf, len)); crc16 1435 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 crc16; crc16 148 drivers/net/hamradio/mkiss.c crc = crc16(0, cp, size); crc16 488 drivers/net/hamradio/mkiss.c crc = swab16(crc16(0, p, len)); crc16 1520 drivers/net/usb/smsc75xx.c return bitrev16(crc16(0xFFFF, buffer, len)); crc16 1337 drivers/net/usb/smsc95xx.c u32 crc = bitrev16(crc16(0xFFFF, buffer, len)); crc16 739 drivers/net/wireless/intersil/p54/eeprom.c u16 crc16 = ~0; crc16 864 drivers/net/wireless/intersil/p54/eeprom.c crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); crc16 865 drivers/net/wireless/intersil/p54/eeprom.c if (crc16 != le16_to_cpup((__le16 *)entry->data)) { crc16 878 drivers/net/wireless/intersil/p54/eeprom.c crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); crc16 278 drivers/net/wireless/wl3501.h u16 crc16; crc16 299 drivers/net/wireless/wl3501.h u16 crc16; crc16 547 drivers/net/wireless/wl3501.h u16 crc16; crc16 253 drivers/net/wireless/zydas/zd1211rw/zd_mac.h __le16 crc16; crc16 91 drivers/s390/char/hmcdrv_ftp.c crc = crc16(crc, cmd, len); crc16 78 drivers/w1/slaves/w1_ds2423.c crc = crc16(CRC16_INIT, wrbuf, 3); crc16 79 drivers/w1/slaves/w1_ds2423.c crc = crc16(crc, rbuf, 11); crc16 85 drivers/w1/slaves/w1_ds2423.c crc = crc16(CRC16_INIT, crc16 82 drivers/w1/slaves/w1_ds2433.c if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) crc16 223 drivers/w1/slaves/w1_ds2433.c if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { crc16 110 drivers/w1/slaves/w1_ds250x.c crc = crc16(CRC16_INIT, buf, 6); crc16 127 drivers/w1/slaves/w1_ds250x.c crc = crc16(CRC16_INIT, &data->eprom[epoff], W1_PAGE_SIZE); crc16 128 drivers/w1/slaves/w1_ds250x.c crc = crc16(crc, buf, 2); crc16 92 drivers/w1/slaves/w1_ds28e04.c if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) crc16 244 drivers/w1/slaves/w1_ds28e04.c if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) crc16 158 drivers/w1/slaves/w1_ds28e17.c crc = crc16(CRC16_INIT, command, command_count); crc16 162 drivers/w1/slaves/w1_ds28e17.c crc = crc16(crc, w1_buf, 1); crc16 165 drivers/w1/slaves/w1_ds28e17.c crc = crc16(crc, buffer, count); crc16 277 drivers/w1/slaves/w1_ds28e17.c crc = crc16(CRC16_INIT, w1_buf, 3); crc16 316 drivers/w1/slaves/w1_ds28e17.c crc = crc16(CRC16_INIT, w1_buf, 3); crc16 319 drivers/w1/slaves/w1_ds28e17.c crc = crc16(crc, wbuffer, wcount); crc16 323 drivers/w1/slaves/w1_ds28e17.c crc = crc16(crc, w1_buf, 1); crc16 2455 fs/ext4/super.c crc = crc16(~0, sbi->s_es->s_uuid, sizeof(sbi->s_es->s_uuid)); crc16 2456 fs/ext4/super.c crc = crc16(crc, (__u8 *)&le_group, sizeof(le_group)); crc16 2457 fs/ext4/super.c crc = crc16(crc, (__u8 *)gdp, offset); crc16 2462 fs/ext4/super.c crc = crc16(crc, (__u8 *)gdp + offset, crc16 360 fs/ubifs/lpt.c crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 392 fs/ubifs/lpt.c crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 417 fs/ubifs/lpt.c crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 439 fs/ubifs/lpt.c crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 931 fs/ubifs/lpt.c calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 1086 fs/ubifs/lpt_commit.c calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, crc16 20 include/linux/crc16.h extern u16 crc16(u16 crc, const u8 *buffer, size_t len); crc16 61 lib/crc16.c EXPORT_SYMBOL(crc16); crc16 186 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); crc16 747 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); crc16 755 net/batman-adv/bridge_loop_avoidance.c backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); crc16 1333 net/batman-adv/bridge_loop_avoidance.c group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); crc16 1539 net/batman-adv/bridge_loop_avoidance.c crc = crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN); crc16 1068 net/bluetooth/l2cap_core.c u16 fcs = crc16(0, (u8 *)skb->data, skb->len); crc16 1897 net/bluetooth/l2cap_core.c u16 fcs = crc16(0, (u8 *) skb->data, skb->len); crc16 1946 net/bluetooth/l2cap_core.c u16 fcs = crc16(0, (u8 *) skb->data, skb->len); crc16 2047 net/bluetooth/l2cap_core.c u16 fcs = crc16(0, (u8 *) tx_skb->data, crc16 5843 net/bluetooth/l2cap_core.c our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size);