Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 25 of 86) sorted by relevance

1234

/drivers/gpu/drm/i915/gvt/
Dfirmware.c42 u32 crc32; /* protect the data after this field */ member
114 crc32_start = offsetof(struct gvt_firmware_header, crc32) + 4; in expose_firmware_sysfs()
115 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
163 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware()
174 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
/drivers/net/ethernet/cavium/liquidio/
Dliquidio_image.h37 __be32 crc32; /* crc32 of image */ member
51 __be32 crc32; /* header checksum */ member
Docteon_console.c834 crc32_result = crc32((unsigned int)~0, data, in octeon_download_firmware()
837 if (crc32_result != be32_to_cpu(h->crc32)) { in octeon_download_firmware()
839 crc32_result, be32_to_cpu(h->crc32)); in octeon_download_firmware()
/drivers/net/wireless/ath/carl9170/
Dfw.c139 u32 crc32; in carl9170_fw_checksum() local
174 crc32 = crc32_le(~0, data, len); in carl9170_fw_checksum()
175 if (cpu_to_le32(crc32) != chk_desc->fw_crc32) { in carl9170_fw_checksum()
180 crc32 = crc32_le(crc32, (void *)otus_desc, dsc_len); in carl9170_fw_checksum()
181 if (cpu_to_le32(crc32) != chk_desc->hdr_crc32) { in carl9170_fw_checksum()
/drivers/gpu/drm/vkms/
Dvkms_composer.c229 u32 crc32 = 0; in vkms_composer_worker() local
270 crc32 = compute_crc(vaddr_out, primary_composer); in vkms_composer_worker()
285 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
/drivers/misc/habanalabs/include/common/
Dhl_boot_if.h414 __le32 crc32; /* CRC32 of the descriptor w/o header */ member
423 __le32 crc32; /* CRC32 of the message w/o header */ member
/drivers/crypto/stm32/
DMakefile2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
/drivers/misc/
Dpci_endpoint_test.c511 u32 crc32; in pci_endpoint_test_write() local
561 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_write()
563 crc32); in pci_endpoint_test_write()
611 u32 crc32; in pci_endpoint_test_read() local
677 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_read()
678 if (crc32 == pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_CHECKSUM)) in pci_endpoint_test_read()
/drivers/mtd/ubi/
Dio.c756 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_read_ec_hdr()
817 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_write_ec_hdr()
1009 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_read_vid_hdr()
1067 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_write_vid_hdr()
1170 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in self_check_peb_ec_hdr()
1260 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in self_check_peb_vid_hdr()
Dvtbl.c101 crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); in ubi_change_vtbl_record()
141 crc = crc32(UBI_CRC32_INIT, vtbl_rec, in ubi_vtbl_rename_volumes()
176 crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC); in vtbl_check()
Deba.c711 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb()
851 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size); in try_recover_peb()
1152 crc = crc32(UBI_CRC32_INIT, buf, data_size); in ubi_eba_write_leb_st()
1236 crc = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_atomic_leb_change()
1412 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size); in ubi_eba_copy_leb()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c156 u32 crc32; in atl1e_hash_mc_addr() local
160 crc32 = ether_crc_le(6, mc_addr); in atl1e_hash_mc_addr()
162 value |= (((crc32 >> i) & 1) << (31 - i)); in atl1e_hash_mc_addr()
/drivers/scsi/libfc/
Dfc_frame.c33 crc = ~crc32(~0, bp, len); in fc_frame_crc_check()
/drivers/staging/rtl8723bs/include/
Drtl8723b_recv.h15 u32 crc32:1; member
/drivers/thunderbolt/
Dctl.c432 __be32 crc32; in tb_ctl_rx_callback() local
447 crc32 = tb_crc(pkg->buffer, frame->size); in tb_ctl_rx_callback()
456 if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { in tb_ctl_rx_callback()
471 if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { in tb_ctl_rx_callback()
/drivers/mtd/parsers/
Dparser_trx.c22 uint32_t crc32; member
/drivers/gpu/drm/radeon/
Dradeon_ucode.h166 uint32_t crc32; /* crc32 checksum of the payload */ member
Dradeon_ucode.c43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in radeon_ucode_print_common_hdr()
/drivers/crypto/cavium/zip/
Dzip_deflate.c174 zip_ops->csum = result_ptr->s.crc32; in zip_deflate()
Dzip_inflate.c210 zip_ops->csum = result_ptr->s.crc32; in zip_inflate()
/drivers/net/ethernet/qlogic/qed/
Dqed_selftest.c160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c205 u32 crc32; in atl1c_hash_mc_addr() local
209 crc32 = ether_crc_le(6, mc_addr); in atl1c_hash_mc_addr()
211 value |= (((crc32 >> i) & 1) << (31 - i)); in atl1c_hash_mc_addr()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.h70 u32 crc32:1; member
/drivers/block/rsxx/
Dconfig.c38 return ~crc32(~0, &cfg->data, sizeof(cfg->data)); in config_data_crc32()
/drivers/pci/endpoint/functions/
Dpci-epf-test.c324 u32 crc32; in pci_epf_test_read() local
391 crc32 = crc32_le(~0, buf, reg->size); in pci_epf_test_read()
392 if (crc32 != reg->checksum) in pci_epf_test_read()

1234