Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c1110 struct ubi_fm_volhdr *fvh; in ubi_write_fastmap() local
1266 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1267 fm_pos += sizeof(*fvh); in ubi_write_fastmap()
1270 fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); in ubi_write_fastmap()
1271 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1272 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1273 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1274 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1275 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c1139 struct ubi_fm_volhdr *fvh; in ubi_write_fastmap() local
1299 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1300 fm_pos += sizeof(*fvh); in ubi_write_fastmap()
1303 fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); in ubi_write_fastmap()
1304 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1305 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1306 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1307 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1308 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()