Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_crc32.c16 u32 *crc32);
21 u32 crc32, res; in check_table() local
42 crc32 = hdr->crc32; in check_table()
47 hdr->crc32 = 0; in check_table()
50 hdr->crc32 = crc32; in check_table()
55 if (res != crc32) { in check_table()
136 EFI_UNIT_TEST(crc32) = {
H A Defi_selftest_config_table.c41 u32 crc32, res; in check_table() local
45 crc32 = hdr->crc32; in check_table()
50 hdr->crc32 = 0; in check_table()
53 hdr->crc32 = crc32; in check_table()
58 if (res != crc32) { in check_table()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/
H A D0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch4 Subject: [PATCH] Drop 'inline' of crc32 function to fix build using GCC 5.2
11 crc32.h | 1 -
12 crc32.o | Bin 748 -> 2056 bytes
15 diff --git a/crc32.h b/crc32.h
17 --- a/crc32.h
18 +++ b/crc32.h
24 unsigned long crc32( const void* const buffer,
H A Dtiobench-makefile.patch44 $(EXE): tiotest.o crc32.o
45 - $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread
46 + $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread $(LDFLAGS)
/openbmc/linux/arch/arm64/lib/
H A Dcrc32.S74 crc32\c\()x w8, w0, x3
79 crc32\c\()w w8, w0, w3
84 crc32\c\()h w8, w0, w3
88 crc32\c\()b w8, w0, w3
91 crc32\c\()x w8, w0, x5
92 crc32\c\()x w8, w8, x6
107 crc32\c\()x w0, w0, x3
108 crc32\c\()x w0, w0, x4
109 crc32\c\()x w0, w0, x5
110 crc32\c\()x w0, w0, x6
[all …]
/openbmc/u-boot/board/corscience/tricorder/
H A Dtricorder-eeprom.c27 uint32_t crc32; in handle_eeprom_v0() member
41 crc = crc32(0L, (unsigned char *)&eepromv0, in handle_eeprom_v0()
42 sizeof(eepromv0) - sizeof(eepromv0.crc32)); in handle_eeprom_v0()
43 if (be32_to_cpu(eepromv0.crc32) != crc) { in handle_eeprom_v0()
44 warn_wrong_value("CRC", be32_to_cpu(eepromv0.crc32), in handle_eeprom_v0()
52 crc = crc32(0L, (unsigned char *)eeprom, TRICORDER_EEPROM_CRC_SIZE); in handle_eeprom_v0()
53 eeprom->crc32 = cpu_to_be32(crc); in handle_eeprom_v0()
68 crc = crc32(0L, (unsigned char *)eeprom, TRICORDER_EEPROM_CRC_SIZE); in handle_eeprom_v1()
69 if (be32_to_cpu(eeprom->crc32) != crc) { in handle_eeprom_v1()
70 warn_wrong_value("CRC", be32_to_cpu(eeprom->crc32), crc); in handle_eeprom_v1()
[all …]
/openbmc/linux/drivers/nvmem/
H A Du-boot-env.c33 __le32 crc32; member
38 __le32 crc32; member
46 __le32 crc32; member
139 uint32_t crc32; in u_boot_env_parse() local
164 crc32_offset = offsetof(struct u_boot_env_image_single, crc32); in u_boot_env_parse()
169 crc32_offset = offsetof(struct u_boot_env_image_redundant, crc32); in u_boot_env_parse()
174 crc32_offset = offsetof(struct u_boot_env_image_broadcom, crc32); in u_boot_env_parse()
187 crc32 = le32_to_cpu(*crc32_addr); in u_boot_env_parse()
191 calc = crc32(~0, buf + crc32_data_offset, crc32_data_len) ^ ~0L; in u_boot_env_parse()
192 if (calc != crc32) { in u_boot_env_parse()
[all …]
/openbmc/u-boot/common/
H A Diotrace.c33 u32 crc32; member
72 iotrace.crc32 = crc32(iotrace.crc32, (unsigned char *)rec, in add_record()
129 iotrace.crc32 = 0; in iotrace_reset_checksum()
134 return iotrace.crc32; in iotrace_get_checksum()
170 iotrace.crc32 = 0; in iotrace_set_buffer()
/openbmc/linux/fs/jffs2/
H A Dwrite.c106 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_dnode()
265 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_write_dirent()
388 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_inode_range()
389 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
463 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_create()
521 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_create()
522 rd->name_crc = cpu_to_je32(crc32(0, qstr->name, qstr->len)); in jffs2_do_create()
584 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_unlink()
585 rd->name_crc = cpu_to_je32(crc32(0, name, namelen)); in jffs2_do_unlink()
703 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_link()
[all …]
H A Ddir.c339 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
340 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
411 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
412 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
500 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
556 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
557 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir()
674 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
675 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mknod()
734 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mknod()
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c30 __le32 crc32; in crc_test_init() local
100 crypto_shash_final(crc32c_shash, (u8 *)(&crc32)); in crc_test_init()
103 if (crc32 != verify32le) { in crc_test_init()
105 crc32, verify32, len); in crc_test_init()
/openbmc/linux/arch/s390/crypto/
H A DMakefile17 obj-$(CONFIG_CRYPTO_CRC32_S390) += crc32-vx_s390.o
20 crc32-vx_s390-y := crc32-vx.o crc32le-vx.o crc32be-vx.o
/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c181 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()
/openbmc/linux/lib/xz/
H A Dxz_dec_stream.c17 uint32_t crc32; member
46 uint32_t crc32; member
245 s->crc32 = xz_crc32(b->out + s->out_start, in dec_block()
246 b->out_pos - s->out_start, s->crc32); in dec_block()
270 s->block.hash.crc32 = xz_crc32( in dec_block()
272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block()
285 s->crc32 = xz_crc32(b->in + s->in_start, in_used, s->crc32); in index_update()
329 s->index.hash.crc32 = xz_crc32( in dec_index()
332 s->index.hash.crc32); in dec_index()
359 s->crc32 = 0; in crc32_validate()
[all …]
/openbmc/linux/arch/arm/crypto/
H A Dcrc32-ce-core.S254 crc32\c\()w r0, r0, r2
255 crc32\c\()w r0, r0, r3
265 crc32\c\()w r0, r0, r3
271 crc32\c\()h r0, r0, r3
276 crc32\c\()b r0, r0, r3
284 crc32\c\()b r0, r0, r3
291 crc32\c\()h r0, r0, r3
H A DMakefile24 obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm-ce.o
41 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
/openbmc/openbmc/meta-nuvoton/recipes-nuvoton/program-edid/program-edid/
H A Dprogram-edid.sh19 crc_file=$(crc32 < "$1")
21 crc_eeprom=$(head -c "$fsiz" "$2" | crc32)
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_binary_headers.h37 u32 crc32; member
58 u32 crc32; member
90 u32 crc32; member
/openbmc/linux/tools/pcmcia/
H A Dcrc32hash.c12 static unsigned int crc32(unsigned char const *p, unsigned int len) in crc32() function
30 result = crc32((unsigned char const *)argv[1], strlen(argv[1])); in main()
/openbmc/u-boot/tools/
H A Ddefault_image.c69 if (crc32(0, data, len) != checksum) { in image_verify_header()
79 if (crc32(0, data, len) != checksum) { in image_verify_header()
98 checksum = crc32(0, in image_set_header()
132 checksum = crc32(0, (const unsigned char *)hdr, in image_set_header()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dliquidio_image.h37 __be32 crc32; /* crc32 of image */ member
51 __be32 crc32; /* header checksum */ member
/openbmc/u-boot/test/py/tests/
H A Dtest_sf.py126 crc_pattern = u_boot_utils.crc32(u_boot_console, addr, count)
133 crc_readback = u_boot_utils.crc32(u_boot_console, addr, count)
159 crc_pattern = u_boot_utils.crc32(u_boot_console, addr, count)
204 crc_ffs = u_boot_utils.crc32(u_boot_console, addr, count)
/openbmc/openbmc/poky/meta/recipes-devtools/rsync/files/
H A D0001-Add-missing-prototypes-to-function-declarations.patch26 zlib/crc32.c | 2 +-
126 diff --git a/zlib/crc32.c b/zlib/crc32.c
128 --- a/zlib/crc32.c
129 +++ b/zlib/crc32.c
132 * This function can be used by asm versions of crc32()
/openbmc/u-boot/test/fs/
H A Dfat-noncontig-test.sh64 for prereq in fallocate mkfs.fat dd crc32; do
121 crc=0x`crc32 ${mnttestfn}`
137 crc32 ${loadaddr} \$filesize ${crcaddr}
/openbmc/u-boot/env/
H A Dcommon.c116 if (crc32(0, ep->data, ENV_SIZE) != crc) { in env_import()
165 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == in env_import_redund()
167 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == in env_import_redund()
214 env_out->crc = crc32(0, env_out->data, ENV_SIZE); in env_export()

12345678910>>...13