Home
last modified time | relevance | path

Searched refs:feba (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c1111 struct ubi_fm_eba *feba; in ubi_write_fastmap() local
1280 feba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_write_fastmap()
1281 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
1285 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()
1287 feba->reserved_pebs = cpu_to_be32(j); in ubi_write_fastmap()
1288 feba->magic = cpu_to_be32(UBI_FM_EBA_MAGIC); in ubi_write_fastmap()
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c1140 struct ubi_fm_eba *feba; in ubi_write_fastmap() local
1313 feba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_write_fastmap()
1314 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
1321 feba->pnum[j] = cpu_to_be32(ldesc.pnum); in ubi_write_fastmap()
1324 feba->reserved_pebs = cpu_to_be32(j); in ubi_write_fastmap()
1325 feba->magic = cpu_to_be32(UBI_FM_EBA_MAGIC); in ubi_write_fastmap()