Home
last modified time | relevance | path

Searched refs:expected_crc (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/sfc/
H A Defx_reflash.c28 u32 expected_crc, crc; in efx_reflash_parse_reflash_header() local
57 expected_crc = get_unaligned_le32(trailer + EFX_REFLASH_TRAILER_CRC_OFST); in efx_reflash_parse_reflash_header()
62 if (crc != expected_crc) in efx_reflash_parse_reflash_header()
113 u32 magic, version, payload_size, header_len, expected_crc, crc; in efx_reflash_parse_snic_header() local
139 expected_crc = get_unaligned_le32(header + EFX_SNICIMAGE_HEADER_CRC_OFST); in efx_reflash_parse_snic_header()
148 if (crc != expected_crc) in efx_reflash_parse_snic_header()
168 u32 magic, version, bundle_type, header_len, expected_crc, crc; in efx_reflash_parse_snic_bundle_header() local
195 expected_crc = get_unaligned_le32(header + EFX_SNICBUNDLE_HEADER_CRC_OFST); in efx_reflash_parse_snic_bundle_header()
197 if (crc != expected_crc) in efx_reflash_parse_snic_bundle_header()
/linux/arch/mips/bcm63xx/
H A Dnvram.c29 u32 crc, expected_crc; in bcm63xx_nvram_init() local
36 if (bcm963xx_nvram_checksum(&nvram, &expected_crc, &crc)) in bcm63xx_nvram_init()
38 expected_crc, crc); in bcm63xx_nvram_init()
/linux/drivers/mtd/parsers/
H A Dbcm63xxpart.c54 u32 actual_crc, expected_crc; in bcm63xx_read_nvram() local
64 ret = bcm963xx_nvram_checksum(nvram, &expected_crc, &actual_crc); in bcm63xx_read_nvram()
67 expected_crc, actual_crc); in bcm63xx_read_nvram()
/linux/lib/crc/tests/
H A Dcrc_kunit.c199 u64 init_crc, expected_crc, actual_crc; in crc_test() local
223 expected_crc = crc_ref(v, init_crc, &test_buffer[offset], len); in crc_test()
225 KUNIT_EXPECT_EQ_MSG(test, expected_crc, actual_crc, in crc_test()
/linux/drivers/media/dvb-core/
H A Ddvb_net.c650 u32 ule_crc, u32 expected_crc) in dvb_net_ule_check_crc() argument
654 if (ule_crc != expected_crc) { in dvb_net_ule_check_crc()
656 h->priv->ts_count, ule_crc, expected_crc, in dvb_net_ule_check_crc()
832 u32 ule_crc = ~0L, expected_crc; in dvb_net_ule() local
841 expected_crc = *(tail - 4) << 24 | in dvb_net_ule()
846 dvb_net_ule_check_crc(&h, iov, ule_crc, expected_crc); in dvb_net_ule()
/linux/drivers/bcma/
H A Dsprom.c145 u8 expected_crc; in bcma_sprom_check_crc() local
150 expected_crc = tmp >> SSB_SPROM_REVISION_CRC_SHIFT; in bcma_sprom_check_crc()
151 if (crc != expected_crc) in bcma_sprom_check_crc()
/linux/fs/xfs/
H A Dxfs_log_recover.c2885 __le32 expected_crc = rhead->h_crc, crc, other_crc; in xlog_recover_process() local
2894 if (expected_crc && crc != expected_crc) { in xlog_recover_process()
2897 if (other_crc == expected_crc) { in xlog_recover_process()
2912 if (expected_crc && crc != expected_crc) in xlog_recover_process()
2923 if (crc != expected_crc) { in xlog_recover_process()
2924 if (expected_crc || xfs_has_crc(log->l_mp)) { in xlog_recover_process()
2927 le32_to_cpu(expected_crc), in xlog_recover_process()
/linux/drivers/ssb/
H A Dpci.c259 u8 expected_crc; in sprom_check_crc() local
264 expected_crc = tmp >> SSB_SPROM_REVISION_CRC_SHIFT; in sprom_check_crc()
265 if (crc != expected_crc) in sprom_check_crc()
/linux/net/ceph/
H A Dmessenger_v2.c504 u32 crc, expected_crc; in decode_preamble() local
508 expected_crc = get_unaligned_le32(crcp); in decode_preamble()
509 if (crc != expected_crc) { in decode_preamble()
511 crc, expected_crc); in decode_preamble()
641 u32 crc, expected_crc; in verify_control_crc() local
647 expected_crc = get_unaligned_le32(con->v2.in_kvecs[1].iov_base); in verify_control_crc()
648 if (crc != expected_crc) { in verify_control_crc()
650 crc, expected_crc); in verify_control_crc()
/linux/drivers/iio/addac/
H A Dad74115.c436 u8 expected_crc = ad74115_crc(buf); in ad74115_crc_check() local
438 if (buf[3] != expected_crc) { in ad74115_crc_check()
440 buf[3], buf[0], buf[1], buf[2], expected_crc); in ad74115_crc_check()
H A Dad74413r.c184 u8 expected_crc = ad74413r_crc(buf); in ad74413r_crc_check() local
186 if (buf[3] != expected_crc) { in ad74413r_crc_check()
/linux/drivers/soundwire/
H A Dcadence_master.c2650 u8 expected_crc; in sdw_cdns_check_read_response() local
2680 expected_crc = *p_data++ & 0xff; in sdw_cdns_check_read_response()
2682 if (crc != expected_crc) { in sdw_cdns_check_read_response()
2684 __func__, i + 1, num_frames, crc, expected_crc); in sdw_cdns_check_read_response()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c138 u16 expected_crc = es58x_get_crc(urb_cmd, urb_len); in es58x_check_crc() local
140 if (expected_crc != calculated_crc) { in es58x_check_crc()
/linux/drivers/md/
H A Draid5-cache.c2947 u32 stored_crc, expected_crc; in r5l_load_log() local
2971 expected_crc = crc32c(log->uuid_checksum, mb, PAGE_SIZE); in r5l_load_log()
2972 if (stored_crc != expected_crc) { in r5l_load_log()