Home
last modified time | relevance | path

Searched refs:crc32_le (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v4.19/include/linux/
Dcrc32.h11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len);
66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length)
76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length))
77 #define ether_crc_le(length, data) crc32_le(~0, data, length)
Dbcm963xx_nvram.h102 crc32_le(~0, (u8 *)nvram, len), 0, sizeof(u32)); in bcm963xx_nvram_checksum()
/Linux-v4.19/lib/
Dcrc32test.c762 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
775 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
809 crc_full = crc32_le(test[i].crc, test_buf + test[i].start, in crc32_combine_test()
815 crc1 = crc32_le(test[i].crc, test_buf + in crc32_combine_test()
817 crc2 = crc32_le(0, test_buf + test[i].start + in crc32_combine_test()
Dcrc32.c186 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len) function
195 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len) function
206 EXPORT_SYMBOL(crc32_le);
/Linux-v4.19/fs/ocfs2/
Dblockcheck.c399 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute()
437 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate()
451 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate()
497 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs()
550 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
582 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
/Linux-v4.19/arch/x86/crypto/
Dcrc32-pclmul_glue.c58 return crc32_le(crc, p, len); in crc32_pclmul_le()
64 crc = crc32_le(crc, p, prealign); in crc32_pclmul_le()
77 crc = crc32_le(crc, p + iquotient, iremainder); in crc32_pclmul_le()
/Linux-v4.19/fs/nilfs2/
Dsegbuf.c182 crc = crc32_le(seed, in nilfs_segbuf_fill_in_segsum_crc()
192 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc()
208 crc = crc32_le(seed, in nilfs_segbuf_fill_in_data_crc()
214 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc()
218 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc()
235 crc = crc32_le(seed, in nilfs_segbuf_fill_in_super_root_crc()
Dthe_nilfs.c443 crc = crc32_le(le32_to_cpu(sbp->s_crc_seed), (unsigned char *)sbp, in nilfs_valid_sb()
445 crc = crc32_le(crc, sum, 4); in nilfs_valid_sb()
446 crc = crc32_le(crc, (unsigned char *)sbp + sumoff + 4, in nilfs_valid_sb()
/Linux-v4.19/crypto/
Dcrc32_generic.c86 *crcp = crc32_le(*crcp, data, len); in crc32_update()
94 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
/Linux-v4.19/arch/arm/plat-samsung/
Dpm-check.c115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck()
192 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
/Linux-v4.19/lib/xz/
Dxz_stream.h17 (~crc32_le(~(uint32_t)(crc), buf, size))
/Linux-v4.19/drivers/net/usb/
Dcdc_eem.c146 crc = crc32_le(~0, skb->data, skb->len); in eem_tx_fixup()
316 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe.h87 return crc32_le(crc, next, len); in rxe_crc32()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c134 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
210 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c141 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
213 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
/Linux-v4.19/net/wireless/
Dlib80211_crypt_wep.c158 crc = ~crc32_le(~0, pos, len); in lib80211_wep_encrypt()
221 crc = ~crc32_le(~0, pos, plen); in lib80211_wep_decrypt()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dfirmware.c116 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
176 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
/Linux-v4.19/drivers/misc/
Dpci_endpoint_test.c374 src_crc32 = crc32_le(~0, src_addr, size); in pci_endpoint_test_copy()
408 dst_crc32 = crc32_le(~0, dst_addr, size); in pci_endpoint_test_copy()
464 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_write()
544 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_read()
/Linux-v4.19/fs/gfs2/
Ddir.h59 return crc32_le((u32)~0, data, len) ^ (u32)~0; in gfs2_disk_hash()
/Linux-v4.19/net/mac80211/
Dwep.c143 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
208 crc = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_decrypt_data()
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c254 crc = crc32_le(crc, ha->addr, ETH_ALEN); in opa_vnic_mac_send_event()
257 crc = ~crc32_le(crc, (void *)&l, sizeof(l)); in opa_vnic_mac_send_event()
/Linux-v4.19/fs/nfs/
Dnfs4session.h155 (~crc32_le(0xFFFFFFFF, &(sess_id)->data[0], sizeof((sess_id)->data)))
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dfw_inc.c109 crc = crc32_le(~0, (unsigned char const *)hdr, sizeof(*hdr)); in wil_fw_verify()
110 crc = crc32_le(crc, (unsigned char const *)&fh, sizeof(fh)); in wil_fw_verify()
111 crc = crc32_le(crc, (unsigned char const *)&fh_[1], in wil_fw_verify()
/Linux-v4.19/drivers/net/wireless/ath/carl9170/
Dfw.c187 crc32 = crc32_le(~0, data, len); in carl9170_fw_checksum()
193 crc32 = crc32_le(crc32, (void *)otus_desc, dsc_len); in carl9170_fw_checksum()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Ddebug.c73 crc = crc32_le(0, firmware->data, firmware->size); in ath10k_debug_print_hwfw_info()
96 crc = crc32_le(0, board->data, board->size); in ath10k_debug_print_board_info()
2131 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data, in ath10k_debug_fw_checksums_read()
2135 crc32_le(0, ar->normal_mode_fw.fw_file.firmware_data, in ath10k_debug_fw_checksums_read()
2139 crc32_le(0, ar->normal_mode_fw.fw_file.otp_data, in ath10k_debug_fw_checksums_read()
2143 crc32_le(0, ar->normal_mode_fw.fw_file.codeswap_data, in ath10k_debug_fw_checksums_read()
2147 crc32_le(0, ar->normal_mode_fw.board->data, in ath10k_debug_fw_checksums_read()
2151 crc32_le(0, ar->normal_mode_fw.board_data, in ath10k_debug_fw_checksums_read()

123