Home
last modified time | relevance | path

Searched refs:fmvhdr (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c288 struct ubi_fm_volhdr *fmvhdr; in ubi_attach_fastmap() local
396 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
397 fm_pos += sizeof(*fmvhdr); in ubi_attach_fastmap()
401 if (be32_to_cpu(fmvhdr->magic) != UBI_FM_VHDR_MAGIC) { in ubi_attach_fastmap()
404 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); in ubi_attach_fastmap()
408 vol_id = be32_to_cpu(fmvhdr->vol_id); in ubi_attach_fastmap()
409 vol_type = fmvhdr->vol_type; in ubi_attach_fastmap()
410 used = be32_to_cpu(fmvhdr->used_ebs); in ubi_attach_fastmap()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c615 struct ubi_fm_volhdr *fmvhdr; in ubi_attach_fastmap() local
741 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
742 fm_pos += sizeof(*fmvhdr); in ubi_attach_fastmap()
748 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); in ubi_attach_fastmap()
752 av = add_vol(ai, be32_to_cpu(fmvhdr->vol_id), in ubi_attach_fastmap()
753 be32_to_cpu(fmvhdr->used_ebs), in ubi_attach_fastmap()
754 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap()
755 fmvhdr->vol_type, in ubi_attach_fastmap()
756 be32_to_cpu(fmvhdr->last_eb_bytes)); in ubi_attach_fastmap()
762 fmvhdr->vol_id); in ubi_attach_fastmap()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c559 struct ubi_fm_volhdr *fmvhdr; in ubi_attach_fastmap() local
693 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
694 fm_pos += sizeof(*fmvhdr); in ubi_attach_fastmap()
700 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); in ubi_attach_fastmap()
704 av = add_vol(ai, be32_to_cpu(fmvhdr->vol_id), in ubi_attach_fastmap()
705 be32_to_cpu(fmvhdr->used_ebs), in ubi_attach_fastmap()
706 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap()
707 fmvhdr->vol_type, in ubi_attach_fastmap()
708 be32_to_cpu(fmvhdr->last_eb_bytes)); in ubi_attach_fastmap()
713 fmvhdr->vol_id); in ubi_attach_fastmap()
[all …]