Home
last modified time | relevance | path

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

123

/openbmc/u-boot/common/
H A Dddr_spd.c69 crc16(char *ptr, int count) in crc16() function
101 csum16 = crc16(p, len); in ddr3_spd_check()
126 csum16 = crc16(p, len); in ddr4_spd_check()
141 csum16 = crc16(p, len); in ddr4_spd_check()
/openbmc/linux/arch/powerpc/crypto/
H 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()
/openbmc/qemu/hw/sd/
H A Dssi-sd.c61 uint16_t crc16; member
281 s->crc16 = crc_ccitt_false(s->crc16, (uint8_t *)&val, 1); in OBJECT_DECLARE_SIMPLE_TYPE()
288 val = (s->crc16 & 0xff00) >> 8; in OBJECT_DECLARE_SIMPLE_TYPE()
289 s->crc16 <<= 8; in OBJECT_DECLARE_SIMPLE_TYPE()
358 VMSTATE_UINT16(crc16, ssi_sd_state),
384 s->crc16 = 0; in ssi_sd_reset()
/openbmc/phosphor-ipmi-blobs/
H A DREADME.md66 uint16_t crc16;
77 uint16_t crc16;
86 uint16_t crc16;
104 uint16_t crc16;
133 uint16_t crc16;
145 uint16_t crc16;
157 uint16_t crc16;
178 uint16_t crc16;
199 uint16_t crc16;
224 uint16_t crc16;
[all …]
/openbmc/linux/drivers/w1/slaves/
H 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()
H 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()
H 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()
H A Dw1_ds2433.c82 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f23_refresh_block()
226 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { in eeprom_write()
H A Dw1_ds28e04.c92 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f1C_refresh_block()
247 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) in eeprom_write()
/openbmc/linux/lib/
H A Dcrc16.c55 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() function
61 EXPORT_SYMBOL(crc16);
/openbmc/u-boot/lib/
H A DMakefile31 obj-y += crc16.o
76 obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
77 obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o
/openbmc/linux/Documentation/networking/
H 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
/openbmc/u-boot/fs/ext4/
H A DMakefile11 obj-$(CONFIG_EXT4_WRITE) += ext4_write.o ext4_journal.o crc16.o
/openbmc/u-boot/fs/ubifs/
H A Dcrc16.c55 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16() function
H A Dcrc16.h22 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
H A DMakefile12 obj-y += tnc.o tnc_misc.o debug.o crc16.o budget.o
/openbmc/linux/drivers/input/keyboard/
H 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
868 crc = crc16(0, (u8 *)message, le16_to_cpu(packet->length) - 2); in applespi_send_cmd_msg()
871 crc = crc16(0, (u8 *)packet, sizeof(*packet) - 2); in applespi_send_cmd_msg()
[all …]
/openbmc/linux/include/linux/
H A Dcrc16.h20 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
/openbmc/linux/Documentation/filesystems/ext4/
H 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,
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A DMakefile8 mcp251xfd-objs += mcp251xfd-crc16.o
/openbmc/linux/drivers/net/wireless/intersil/p54/
H 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()
/openbmc/linux/drivers/net/wireless/legacy/
H A Dwl3501.h278 u16 crc16; member
299 u16 crc16; member
546 u16 crc16; member
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0033-dt-Provide-a-way-to-remove-non-compliant-nodes-and-p.patch50 obj-y += crc16.o
51 obj-y += crc16-ccitt.o
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/
H A Dfastboot.mk32 libext4_utils_SRC_FILES += crc16.c
/openbmc/docs/designs/
H A Dfirmware-update-via-blobs.md387 uint16_t crc16;
401 uint16_t crc16;
414 uint16_t crc16;
428 uint16_t crc16;
448 uint16_t crc16;

123