/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 42 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/ |
D | liquidio_image.h | 37 __be32 crc32; /* crc32 of image */ member 51 __be32 crc32; /* header checksum */ member
|
D | octeon_console.c | 834 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/ |
D | fw.c | 139 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/ |
D | vkms_composer.c | 229 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/ |
D | hl_boot_if.h | 414 __le32 crc32; /* CRC32 of the descriptor w/o header */ member 423 __le32 crc32; /* CRC32 of the message w/o header */ member
|
/drivers/crypto/stm32/ |
D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
|
/drivers/misc/ |
D | pci_endpoint_test.c | 511 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/ |
D | io.c | 756 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()
|
D | vtbl.c | 101 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()
|
D | eba.c | 711 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/ |
D | atl1e_hw.c | 156 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/ |
D | fc_frame.c | 33 crc = ~crc32(~0, bp, len); in fc_frame_crc_check()
|
/drivers/staging/rtl8723bs/include/ |
D | rtl8723b_recv.h | 15 u32 crc32:1; member
|
/drivers/thunderbolt/ |
D | ctl.c | 432 __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/ |
D | parser_trx.c | 22 uint32_t crc32; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_ucode.h | 166 uint32_t crc32; /* crc32 checksum of the payload */ member
|
D | radeon_ucode.c | 43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in radeon_ucode_print_common_hdr()
|
/drivers/crypto/cavium/zip/ |
D | zip_deflate.c | 174 zip_ops->csum = result_ptr->s.crc32; in zip_deflate()
|
D | zip_inflate.c | 210 zip_ops->csum = result_ptr->s.crc32; in zip_inflate()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_selftest.c | 160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 205 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/ |
D | mac.h | 70 u32 crc32:1; member
|
/drivers/block/rsxx/ |
D | config.c | 38 return ~crc32(~0, &cfg->data, sizeof(cfg->data)); in config_data_crc32()
|
/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 324 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()
|