Searched refs:crc (Results 426 - 450 of 559) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/alacritech/
H A Dslicoss.c209 u8 crc; local
214 crc = ether_crc(ETH_ALEN, addr) >> 23;
216 crc &= 0x3F;
217 mask |= (u64)1 << crc;
/linux-master/drivers/net/mctp/
H A Dmctp-serial.c22 #include <linux/crc-ccitt.h>
/linux-master/net/ceph/
H A Dmessenger.c34 * crc, protocol error). Acks allow sent messages to be discarded by
1164 u32 ceph_crc32c_page(u32 crc, struct page *page, unsigned int page_offset, argument
1171 crc = crc32c(crc, kaddr + page_offset, length);
1174 return crc;
H A Dauth_x.c978 sigblock->header_crc = msg->hdr.crc;
1005 sigblock->header_crc = msg->hdr.crc;
/linux-master/drivers/net/ethernet/toshiba/
H A Dspider_net.c563 u32 crc; local
573 crc = crc32_be(~0, addr_for_crc, netdev->addr_len);
575 hash = (crc >> 27);
577 hash |= crc & 7;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfirmware.c1731 u32 header1 = 0, header2 = 0, magic_num = 0, crc = 0, file_length = 0; local
1871 /* Calculate and check table crc */
1872 crc = crc32_le(~(u32)0, (unsigned char const *)ptr,
1874 crc ^= ~(u32)0;
1878 if (crc != *ptr) {
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c148 config.s.crc = 1;
/linux-master/include/linux/ceph/
H A Dmessenger.h238 bool need_crc; /* crc update needed */
262 * footer (crc values, mainly), a "front" message body, and possibly a
502 u32 in_front_crc, in_middle_crc, in_data_crc; /* calculated crc */
541 u32 ceph_crc32c_page(u32 crc, struct page *page, unsigned int page_offset,
/linux-master/drivers/media/i2c/
H A Dthp7312.c1748 u64 crc; local
1769 ret = cci_read(thp7312->regmap, THP7312_REG_FW_CRC_RESULT, &crc, NULL);
1773 if (fw_crc != crc) {
1775 fw_crc, crc);
/linux-master/fs/xfs/
H A Dxfs_mount.h344 __XFS_HAS_FEAT(crc, CRC)
H A Dxfs_log_recover.c2862 __le32 crc; local
2864 crc = xlog_cksum(log, rhead, dp, be32_to_cpu(rhead->h_len));
2868 * if this a record with a non-zero crc. Unfortunately, mkfs always
2874 if (old_crc && crc != old_crc)
2885 if (crc != old_crc) {
2890 le32_to_cpu(crc));
/linux-master/include/linux/
H A Df2fs_fs.h155 __le32 crc; /* checksum of superblock */ member in struct:f2fs_super_block
H A Djbd2.h1786 static inline u32 jbd2_chksum(journal_t *journal, u32 crc, argument
1799 *(u32 *)desc.ctx = crc;
/linux-master/drivers/mtd/ubi/
H A Dfastmap.c871 __be32 crc, tmp_crc; local
1040 crc = crc32(UBI_CRC32_INIT, ubi->fm_buf, fm_size);
1041 if (crc != tmp_crc) {
1044 tmp_crc, crc);
/linux-master/drivers/crypto/intel/iaa/
H A Diaa_crypto_main.c1088 compression_crc = idxd_desc->iax_completion->crc;
1225 *compression_crc = idxd_desc->iax_completion->crc;
1312 /* Verify (optional) - decompress and check crc, suppress dest write */
1345 if (compression_crc != idxd_desc->iax_completion->crc) {
1347 dev_dbg(dev, "(verify) iaa comp/decomp crc mismatch:"
1349 idxd_desc->iax_completion->crc);
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c3021 /* crc is the first field in the bulletin board. Compute the crc over the
3022 * entire bulletin board excluding the crc field itself. Use the length field
3030 ((u8 *)bulletin) + sizeof(bulletin->crc),
3031 bulletin->length - sizeof(bulletin->crc));
3041 * validate crc to ensure coherency.
3044 u32 crc; local
3050 crc = bnx2x_crc_vf_bulletin(&bp->shadow_bulletin.content);
3052 if (bp->shadow_bulletin.content.crc == crc)
[all...]
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt61pci.c14 #include <linux/crc-itu-t.h>
1174 u16 crc; local
1183 * The last 2 bytes in the firmware array are the crc checksum itself.
1184 * This means that we should never pass those 2 bytes to the crc
1190 * Use the crc itu-t algorithm.
1192 crc = crc_itu_t(0, data, len - 2);
1193 crc = crc_itu_t_byte(crc, 0);
1194 crc = crc_itu_t_byte(crc,
[all...]
/linux-master/arch/mips/
H A DMakefile254 toolchain-crc := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mcrc)
255 cflags-$(toolchain-crc) += -DTOOLCHAIN_SUPPORTS_CRC
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c372 if (!stats.crc) {
414 if (!stats.crc) {
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c1473 u32 crc; local
1507 wlen = (skb->len - tlen + sizeof(crc)) / FCOE_WORD_TO_BYTE;
1509 /* crc offload */
1514 crc = 0;
1517 crc = fcoe_fc_crc(fp);
1520 /* copy port crc and eof to the skb buff */
1535 cp->fcoe_crc32 = cpu_to_le32(~crc);
/linux-master/net/mac80211/
H A Dieee80211_i.h1685 u32 crc; member in struct:ieee802_11_elems
2288 * @crc: CRC starting value
2305 u32 crc; member in struct:ieee80211_elems_parse_params
2316 u64 filter, u32 crc,
2325 .crc = crc,
2315 ieee802_11_parse_elems_crc(const u8 *start, size_t len, bool action, u64 filter, u32 crc, struct cfg80211_bss *bss) argument
/linux-master/drivers/net/ethernet/sun/
H A Dsungem.c1782 u32 crc; local
1788 crc = ether_crc_le(6, ha->addr);
1789 crc >>= 24;
1790 hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf));
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_main.c3571 u16 crc; local
3613 crc = lan743x_pm_wakeframe_crc16(ipv4_multicast, 3);
3617 (crc & MAC_WUF_CFG_CRC16_MASK_));
3625 crc = lan743x_pm_wakeframe_crc16(ipv6_multicast, 2);
3629 (crc & MAC_WUF_CFG_CRC16_MASK_));
3645 crc = lan743x_pm_wakeframe_crc16(arp_type, 2);
3649 (crc & MAC_WUF_CFG_CRC16_MASK_));
/linux-master/fs/f2fs/
H A Dcheckpoint.c864 __u32 crc; local
880 crc = f2fs_checkpoint_chksum(sbi, *cp_block);
881 if (crc != cur_cp_crc(*cp_block)) {
883 f2fs_warn(sbi, "invalid crc value");
1401 /* set this flag to activate crc|cp_ver for recovery */
/linux-master/fs/ubifs/
H A Dlpt_commit.c1073 uint16_t crc, calc_crc; local
1085 crc = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_CRC_BITS);
1088 if (crc != calc_crc)

Completed in 374 milliseconds

<<11121314151617181920>>