Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c287 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
360 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
361 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
368 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
369 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
373 generic_set_bit(be32_to_cpu(fmec->pnum), ubi->fm_used); in ubi_attach_fastmap()
378 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
379 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
386 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
387 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c614 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
695 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
700 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
706 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
710 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
711 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
717 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
721 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
722 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
728 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c558 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
638 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
639 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
644 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
651 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
652 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
657 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
665 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
670 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
678 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
[all …]