Home
last modified time | relevance | path

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

/linux-3.4.99/lib/
Dcrc16.c57 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() function
63 EXPORT_SYMBOL(crc16);
DMakefile60 obj-$(CONFIG_CRC16) += crc16.o
/linux-3.4.99/drivers/w1/slaves/
Dw1_ds2423.c97 crc = crc16(CRC16_INIT, wrbuf, 3); in w1_counter_read()
98 crc = crc16(crc, rbuf, 11); in w1_counter_read()
104 crc = crc16(CRC16_INIT, in w1_counter_read()
Dw1_ds2433.c88 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f23_refresh_block()
229 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { in w1_f23_write_bin()
/linux-3.4.99/drivers/video/msm/
Dmddi_hw.h146 uint16_t crc16; member
192 uint16_t crc16; member
285 uint16_t crc16; member
Dmddi.c528 ra->crc16 = 0; in mddi_remote_write()
567 ra->crc16 = 0; in mddi_remote_read()
/linux-3.4.99/Documentation/networking/
Dgeneric-hdlc.txt66 no-parity / crc16 / crc16-pr0 (CRC16 with preset zeros) / crc32-itu
67 crc16-itu (CRC16 with ITU-T polynomial) / crc16-itu-pr0 - sets parity
/linux-3.4.99/include/linux/
Dcrc16.h22 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
/linux-3.4.99/drivers/net/wireless/p54/
Deeprom.c681 u16 crc16 = ~0; in p54_parse_eeprom() local
806 crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); in p54_parse_eeprom()
807 if (crc16 != le16_to_cpup((__le16 *)entry->data)) { in p54_parse_eeprom()
820 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
/linux-3.4.99/drivers/net/wireless/
Dwl3501.h277 u16 crc16; member
298 u16 crc16; member
546 u16 crc16; member
/linux-3.4.99/drivers/net/wireless/zd1211rw/
Dzd_mac.h266 __le16 crc16; member
/linux-3.4.99/Documentation/w1/slaves/
Dw1_ds242332 - 2 bytes for crc16 which was calculated from the data read since the previous crc bytes
/linux-3.4.99/drivers/net/hamradio/
Dmkiss.c159 crc = crc16(0, cp, size); in check_crc_16()
499 crc = swab16(crc16(0, p, len)); in ax_encaps()
/linux-3.4.99/fs/ubifs/
Dlpt.c370 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_pnode()
402 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_nnode()
427 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_ltab()
449 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_lsave()
924 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in check_lpt_crc()
Dlpt_commit.c1139 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in is_a_node()
/linux-3.4.99/drivers/media/dvb/ttusb-dec/
Dttusb_dec.c253 static u16 crc16(u16 crc, const u8 *buf, size_t len) in crc16() function
1331 firmware_csum = crc16(~0, firmware, firmware_size) ^ ~0; in ttusb_dec_boot_dsp()
/linux-3.4.99/net/bluetooth/
Dl2cap_core.c643 u16 fcs = crc16(0, (u8 *)lh, count - L2CAP_FCS_SIZE); in l2cap_send_sframe()
1376 fcs = crc16(0, (u8 *)skb->data, in l2cap_streaming_send()
1426 fcs = crc16(0, (u8 *)tx_skb->data, in l2cap_retransmit_one_frame()
1469 fcs = crc16(0, (u8 *)skb->data, in l2cap_ertm_send()
3682 our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size); in l2cap_check_fcs()
/linux-3.4.99/fs/ext4/
Dsuper.c1934 crc = crc16(~0, sbi->s_es->s_uuid, sizeof(sbi->s_es->s_uuid)); in ext4_group_desc_csum()
1935 crc = crc16(crc, (__u8 *)&le_group, sizeof(le_group)); in ext4_group_desc_csum()
1936 crc = crc16(crc, (__u8 *)gdp, offset); in ext4_group_desc_csum()
1942 crc = crc16(crc, (__u8 *)gdp + offset, in ext4_group_desc_csum()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_hsi.h2806 u16 crc16; member
2808 u16 crc16; member