Home
last modified time | relevance | path

Searched refs:data_crc (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/fs/jffs2/
H A Djffs2_private.h90 data_crc(struct jffs2_raw_inode *node) in data_crc() function
92 if (node->data_crc != crc32_no_comp(0, (unsigned char *) in data_crc()
H A Djffs2_1pass.c759 b->datacrc = data_crc(jNode) ? in jffs2_1pass_read_inode()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dubi-media.h277 __be32 data_crc; member
412 __be32 data_crc; member
H A Dattach.c323 uint32_t data_crc, crc; in ubi_compare_lebs() local
398 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs()
400 if (crc != data_crc) { in ubi_compare_lebs()
402 pnum, crc, data_crc); in ubi_compare_lebs()
H A Deba.c432 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
823 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
944 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1164 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_copy_leb()
H A Dio.c881 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
953 if (data_crc != 0) { in validate_vid_hdr()
H A Dfastmap.c1029 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
1030 fmsb2->data_crc = 0; in ubi_scan_fastmap()
1312 fmsb->data_crc = 0; in ubi_write_fastmap()
1313 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
/openbmc/qemu/include/hw/sd/
H A Dallwinner-sdhost.h118 uint32_t data_crc[8]; /**< Data CRC */ member
/openbmc/u-boot/include/jffs2/
H A Djffs2.h167 __u32 data_crc; /* CRC for the (compressed) data. */ member
/openbmc/qemu/hw/sd/
H A Dallwinner-sdhost.c572 res = s->data_crc[((offset - REG_SD_DATA7_CRC) / sizeof(uint32_t))]; in allwinner_sdhost_read()
801 VMSTATE_UINT32_ARRAY(data_crc, AwSdHostState, 8),
877 for (int i = 0; i < ARRAY_SIZE(s->data_crc); i++) { in allwinner_sdhost_reset()
878 s->data_crc[i] = REG_SD_DATA_CRC_RST; in allwinner_sdhost_reset()
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c624 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
625 fmsb2->data_crc = 0; in ubi_scan_fastmap()
784 if (crc != be32_to_cpu(vh->data_crc)) { in ubi_load_block()