Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/crypto/
A Dcrc-vpmsum_test.c25 u16 crc16 = 0, verify16 = 0; in crc_test_init() local
89 crypto_shash_final(crct10dif_shash, (u8 *)(&crc16)); in crc_test_init()
93 if (crc16 != verify16) { in crc_test_init()
95 crc16, verify16, len); in crc_test_init()
/linux/drivers/w1/slaves/
A Dw1_ds2423.c78 crc = crc16(CRC16_INIT, wrbuf, 3); in w1_slave_show()
79 crc = crc16(crc, rbuf, 11); in w1_slave_show()
85 crc = crc16(CRC16_INIT, in w1_slave_show()
A Dw1_ds28e17.c158 crc = crc16(CRC16_INIT, command, command_count); in __w1_f19_i2c_write()
162 crc = crc16(crc, w1_buf, 1); in __w1_f19_i2c_write()
165 crc = crc16(crc, buffer, count); in __w1_f19_i2c_write()
277 crc = crc16(CRC16_INIT, w1_buf, 3); in w1_f19_i2c_read()
316 crc = crc16(CRC16_INIT, w1_buf, 3); in w1_f19_i2c_write_read()
319 crc = crc16(crc, wbuffer, wcount); in w1_f19_i2c_write_read()
323 crc = crc16(crc, w1_buf, 1); in w1_f19_i2c_write_read()
A Dw1_ds250x.c110 crc = crc16(CRC16_INIT, buf, 6); in w1_ds2505_read_page()
127 crc = crc16(CRC16_INIT, &data->eprom[epoff], W1_PAGE_SIZE); in w1_ds2505_read_page()
128 crc = crc16(crc, buf, 2); in w1_ds2505_read_page()
A Dw1_ds2433.c82 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f23_refresh_block()
223 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { in eeprom_write()
A Dw1_ds28e04.c92 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f1C_refresh_block()
244 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) in eeprom_write()
/linux/lib/
A Dcrc16.c55 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() function
61 EXPORT_SYMBOL(crc16);
A D.crc16.o.cmd1crc16.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aa…
3 source_lib/crc16.o := lib/crc16.c
5 deps_lib/crc16.o := \
877 include/linux/crc16.h \
879 lib/crc16.o: $(deps_lib/crc16.o)
881 $(deps_lib/crc16.o):
A D.built-in.a.cmd1 …ee.o lib/assoc_array.o lib/bitrev.o lib/linear_ranges.o lib/packing.o lib/crc16.o lib/crc-t10dif.o…
A Dbuilt-in.a53 crc16.o/
/linux/Documentation/networking/
A Dgeneric-hdlc.rst88 no-parity / crc16 / crc16-pr0 (CRC16 with preset zeros) / crc32-itu
90 crc16-itu (CRC16 with ITU-T polynomial) / crc16-itu-pr0 - sets parity
/linux/drivers/input/keyboard/
A Dapplespi.c131 __le16 crc16; member
168 __le16 crc16; member
201 __le16 crc16; member
221 __le16 crc16; member
234 __le16 crc16; member
249 __le16 crc16; member
266 __le16 crc16; member
353 __le16 crc16; member
871 crc = crc16(0, (u8 *)packet, sizeof(*packet) - 2); in applespi_send_cmd_msg()
872 packet->crc16 = cpu_to_le16(crc); in applespi_send_cmd_msg()
[all …]
/linux/include/linux/
A Dcrc16.h20 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
/linux/drivers/net/can/spi/mcp251xfd/
A DMakefile7 mcp251xfd-objs += mcp251xfd-crc16.o
/linux/drivers/net/wireless/intersil/p54/
A Deeprom.c739 u16 crc16 = ~0; in p54_parse_eeprom() local
864 crc16 = ~crc_ccitt(crc16, (u8 *) entry, sizeof(*entry)); in p54_parse_eeprom()
865 if (crc16 != le16_to_cpup((__le16 *)entry->data)) { in p54_parse_eeprom()
878 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
/linux/drivers/net/wireless/
A Dwl3501.h278 u16 crc16; member
299 u16 crc16; member
546 u16 crc16; member
/linux/Documentation/filesystems/ext4/
A Dgroup_descr.rst36 checksum is the crc16 of the FS UUID, the group number, and the group
102 - Group descriptor checksum; crc16(sb\_uuid+group\_num+bg\_desc) if the
106 field in bg\_desc is skipped when calculating crc16 checksum,
A Dchecksums.rst71 else if gdt\_csum, then crc16(UUID + group number + the entire
/linux/drivers/iio/chemical/
A Dscd30_serial.c52 return crc16(0xffff, buf, size); in scd30_serdev_calc_crc()
/linux/drivers/s390/char/
A Dhmcdrv_ftp.c91 crc = crc16(crc, cmd, len); in hmcdrv_ftp_cmd_getid()
/linux/drivers/net/wireless/zydas/zd1211rw/
A Dzd_mac.h253 __le16 crc16; member
/linux/net/batman-adv/
A Dbridge_loop_avoidance.c189 old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); in batadv_claim_release()
752 old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); in batadv_bla_add_claim()
760 backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); in batadv_bla_add_claim()
1338 group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); in batadv_bla_update_orig_address()
1543 crc = crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN); in batadv_bla_init()
/linux/Documentation/w1/slaves/
A Dw1_ds2423.rst37 - 2 bytes for crc16 which was calculated from the data read since the previous crc bytes
/linux/Documentation/translations/zh_CN/core-api/
A Dkernel-api.rst135 lib/crc16.c
/linux/drivers/net/hamradio/
A Dmkiss.c150 crc = crc16(0, cp, size); in check_crc_16()
490 crc = swab16(crc16(0, p, len)); in ax_encaps()

Completed in 46 milliseconds

12