/linux-master/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 333 u32 crc; local 343 crc = ~ether_crc_le (256 - 4, sromdata); 344 if (psrom->crc != cpu_to_le32(crc)) { 1210 int crc = ether_crc_le(ETH_ALEN, ha->addr); local 1214 if (crc & (1 << (31 - bit)))
|
H A D | dl2k.h | 343 u32 crc; /* 0xfc-0xff */ member in struct:t_SROM
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 1382 u32 crc; local 1384 err = regmap_read(priv->map_reg, MCP251XFD_REG_CRC, &crc); 1390 ~crc); 1394 if (crc & MCP251XFD_REG_CRC_FERRIF) 1396 else if (crc & MCP251XFD_REG_CRC_CRCERRIF) 1399 FIELD_GET(MCP251XFD_REG_CRC_MASK, crc));
|
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164.h | 208 u32 crc; member in struct:saa7164_user_buffer 309 u32 crc; /* Checksum for the entire buffer data */ member in struct:saa7164_buffer
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt73usb.c | 14 #include <linux/crc-itu-t.h> 1071 u16 crc; local 1080 * The last 2 bytes in the firmware array are the crc checksum itself, 1081 * this means that we should never pass those 2 bytes to the crc 1087 * Use the crc itu-t algorithm. 1089 crc = crc_itu_t(0, data, len - 2); 1090 crc = crc_itu_t_byte(crc, 0); 1091 crc = crc_itu_t_byte(crc, [all...] |
/linux-master/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 293 unsigned crc:1; /* received a packet with crc error */ member in struct:rx_pkt_status 296 * with good crc */ 298 * with bad crc */
|
/linux-master/fs/ubifs/ |
H A D | ubifs-media.h | 446 * @crc: CRC-32 checksum of the node header 458 __le32 crc; member in struct:ubifs_ch
|
/linux-master/drivers/net/wireless/atmel/ |
H A D | at76c50x-usb.h | 335 __le32 crc; /* CRC32 of the whole image */ member in struct:at76_fw_header
|
/linux-master/drivers/mtd/ubi/ |
H A D | attach.c | 442 uint32_t data_crc, crc; local 518 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, len); 519 if (crc != data_crc) { 521 pnum, crc, data_crc);
|
/linux-master/arch/arm/crypto/ |
H A D | crc32-ce-core.S | 56 .arch_extension crc
|
/linux-master/fs/udf/ |
H A D | misc.c | 22 #include <linux/crc-itu-t.h> 56 /* check checksum/crc */ 142 /* check checksum/crc */ 239 udf_debug("Crc failure block %u: crc = %u, crclen = %u\n", block,
|
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.c | 1012 state->crc.source = VSP1_DU_CRC_NONE; 1013 state->crc.index = 0; 1133 rcrtc_state->crc.source = source; 1134 rcrtc_state->crc.index = index;
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 1548 u32 crc; local 1551 crc = ether_crc(ETH_ALEN, ha->addr); 1556 bits[crc>>29] |= (1<<((crc>>26)&7));
|
H A D | lib8390.c | 886 u32 crc = ether_crc(ETH_ALEN, ha->addr); local 891 bits[crc>>29] |= (1<<((crc>>26)&7));
|
/linux-master/drivers/mmc/host/ |
H A D | au1xmmc.c | 319 u32 crc; local 339 crc = (status & (SD_STATUS_WC | SD_STATUS_RC)); 341 crc |= ((status & 0x07) == 0x02) ? 0 : 1; 343 if (crc)
|
/linux-master/include/video/ |
H A D | sticore.h | 249 u32 crc; member in struct:sti_cooked_font
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_tis_i2c.c | 14 #include <linux/crc-ccitt.h> 268 /* reflect crc result, regardless of host endianness */
|
/linux-master/drivers/video/console/ |
H A D | sticon.c | 63 #define FNTCRC(fd) (fd->crc)
|
/linux-master/fs/zonefs/ |
H A D | super.c | 1112 u32 crc, stored_crc; local 1138 crc = crc32(~0U, (unsigned char *)super, sizeof(struct zonefs_super)); 1139 if (crc != stored_crc) { 1141 crc, stored_crc);
|
/linux-master/drivers/bluetooth/ |
H A D | btmtk.c | 50 __le32 crc; member in struct:btmtk_section_map::__anon5::__anon6
|
/linux-master/drivers/input/touchscreen/ |
H A D | edt-ft5x06.c | 165 u8 crc = 0; local 168 crc ^= buf[i]; 170 if (crc != buf[buflen - 1]) { 173 "crc error: 0x%02x expected, got 0x%02x\n", 174 crc, buf[buflen - 1]);
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-buffered.c | 82 struct bch_extent_crc_unpacked crc; local 85 bkey_for_each_crc(k.k, ptrs, crc, i) 86 if (crc.csum_type || crc.compression_type)
|
/linux-master/lib/ |
H A D | inflate.c | 1138 static ulg crc; /* initialized in makecrc() so it'll reside in bss */ 1139 #define CRC_VALUE (crc ^ 0xffffffffUL) 1151 unsigned long c; /* crc shift register */ 1154 int k; /* byte being shifted into crc apparatus */ 1156 /* terms of polynomial defining this crc (except x^32): */ 1179 crc = (ulg)0xffffffffUL; /* shift register contents */ 1199 ulg orig_crc = 0; /* original crc */ 1280 /* Get the crc and original length */ 1296 error("crc error");
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_els.c | 335 u32 crc; local 353 crc = fcoe_fc_crc(fp); 358 fr_crc(fp) = cpu_to_le32(~crc);
|
/linux-master/drivers/net/ieee802154/ |
H A D | cc2520.c | 18 #include <linux/crc-ccitt.h> 485 u16 crc = crc_ccitt(0, skb->data, skb->len); local 487 put_unaligned_le16(crc, skb_put(skb, 2));
|