/linux/arch/powerpc/crypto/ |
A D | crc-vpmsum_test.c | 25 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 D | w1_ds2423.c | 78 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 D | w1_ds28e17.c | 158 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 D | w1_ds250x.c | 110 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 D | w1_ds2433.c | 82 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 D | w1_ds28e04.c | 92 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 D | crc16.c | 55 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() function 61 EXPORT_SYMBOL(crc16);
|
A D | .crc16.o.cmd | 1 …crc16.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.cmd | 1 …ee.o lib/assoc_array.o lib/bitrev.o lib/linear_ranges.o lib/packing.o lib/crc16.o lib/crc-t10dif.o…
|
A D | built-in.a | 53 crc16.o/
|
/linux/Documentation/networking/ |
A D | generic-hdlc.rst | 88 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 D | applespi.c | 131 __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 D | crc16.h | 20 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | Makefile | 7 mcp251xfd-objs += mcp251xfd-crc16.o
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | eeprom.c | 739 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 D | wl3501.h | 278 u16 crc16; member 299 u16 crc16; member 546 u16 crc16; member
|
/linux/Documentation/filesystems/ext4/ |
A D | group_descr.rst | 36 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 D | checksums.rst | 71 else if gdt\_csum, then crc16(UUID + group number + the entire
|
/linux/drivers/iio/chemical/ |
A D | scd30_serial.c | 52 return crc16(0xffff, buf, size); in scd30_serdev_calc_crc()
|
/linux/drivers/s390/char/ |
A D | hmcdrv_ftp.c | 91 crc = crc16(crc, cmd, len); in hmcdrv_ftp_cmd_getid()
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
A D | zd_mac.h | 253 __le16 crc16; member
|
/linux/net/batman-adv/ |
A D | bridge_loop_avoidance.c | 189 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 D | w1_ds2423.rst | 37 - 2 bytes for crc16 which was calculated from the data read since the previous crc bytes
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | kernel-api.rst | 135 lib/crc16.c
|
/linux/drivers/net/hamradio/ |
A D | mkiss.c | 150 crc = crc16(0, cp, size); in check_crc_16() 490 crc = swab16(crc16(0, p, len)); in ax_encaps()
|