/drivers/nvmem/ |
D | u-boot-env.c | 36 __le32 crc32; member 41 __le32 crc32; member 49 __le32 crc32; member 146 uint32_t crc32; in u_boot_env_parse() local 166 crc32_offset = offsetof(struct u_boot_env_image_single, crc32); in u_boot_env_parse() 171 crc32_offset = offsetof(struct u_boot_env_image_redundant, crc32); in u_boot_env_parse() 176 crc32_offset = offsetof(struct u_boot_env_image_broadcom, crc32); in u_boot_env_parse() 181 crc32 = le32_to_cpu(*(__le32 *)(buf + crc32_offset)); in u_boot_env_parse() 185 calc = crc32(~0, buf + crc32_data_offset, crc32_data_len) ^ ~0L; in u_boot_env_parse() 186 if (calc != crc32) { in u_boot_env_parse() [all …]
|
/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 181 u32 *crc32, struct line_buffer *stage_buffer, in blend() argument 209 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend() 246 u32 *crc32) in compose_active_planes() argument 283 blend(active_wb, crtc_state, crc32, &stage_buffer, in compose_active_planes() 312 u32 crc32 = 0; in vkms_composer_worker() local 349 ret = compose_active_planes(active_wb, crtc_state, &crc32); in vkms_composer_worker() 351 ret = compose_active_planes(NULL, crtc_state, &crc32); in vkms_composer_worker() 367 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_gsc_binary_headers.h | 37 u32 crc32; member 58 u32 crc32; member 90 u32 crc32; member
|
/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 | 833 crc32_result = crc32((unsigned int)~0, data, in octeon_download_firmware() 836 if (crc32_result != be32_to_cpu(h->crc32)) { in octeon_download_firmware() 838 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/i915/gvt/ |
D | firmware.c | 42 u32 crc32; /* protect the data after this field */ member 108 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs() 156 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware() 167 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
|
/drivers/misc/ |
D | pci_endpoint_test.c | 505 u32 crc32; in pci_endpoint_test_write() local 555 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_write() 557 crc32); in pci_endpoint_test_write() 605 u32 crc32; in pci_endpoint_test_read() local 671 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_read() 672 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/crypto/stm32/ |
D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
|
/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/accel/qaic/ |
D | qaic_control.c | 53 __le32 crc32; /* crc of everything following this field in the message */ member 257 crc = crc32(crc, &w->msg, w->len); in gen_crc() 277 crc = le32_to_cpu(hdr->crc32); in valid_crc() 278 hdr->crc32 = 0; in valid_crc() 279 ret = (crc32(~0, msg, le32_to_cpu(hdr->len)) ^ ~0) == crc; in valid_crc() 280 hdr->crc32 = cpu_to_le32(crc); in valid_crc() 1219 msg->hdr.crc32 = cpu_to_le32(qdev->gen_crc(wrappers)); in qaic_manage_msg_xfer() 1529 msg->hdr.crc32 = cpu_to_le32(qdev->gen_crc(wrappers)); in qaic_release_usr()
|
/drivers/accel/habanalabs/include/common/ |
D | hl_boot_if.h | 529 __le32 crc32; /* CRC32 of the descriptor w/o header */ member 538 __le32 crc32; /* CRC32 of the message w/o header */ member
|
/drivers/scsi/libfc/ |
D | fc_frame.c | 33 crc = ~crc32(~0, bp, len); in fc_frame_crc_check()
|
/drivers/crypto/intel/qat/qat_common/ |
D | icp_qat_fw_comp.h | 314 __u32 crc32; member 376 __u32 crc32; member
|
/drivers/staging/rtl8723bs/include/ |
D | rtl8723b_recv.h | 15 u32 crc32:1; member
|
/drivers/thunderbolt/ |
D | ctl.c | 431 __be32 crc32; in tb_ctl_rx_callback() local 446 crc32 = tb_crc(pkg->buffer, frame->size); in tb_ctl_rx_callback() 455 if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { in tb_ctl_rx_callback() 470 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/net/ethernet/qlogic/qed/ |
D | qed_selftest.c | 160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram()
|
/drivers/crypto/cavium/zip/ |
D | zip_deflate.c | 174 zip_ops->csum = result_ptr->s.crc32; in zip_deflate()
|
/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()
|