Lines Matching refs:cpu_to_be32

120 	new->vol_id = cpu_to_be32(vol_id);  in new_fm_vhdr()
1139 fmsb->magic = cpu_to_be32(UBI_FM_SB_MAGIC); in ubi_write_fastmap()
1141 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()
1145 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()
1154 fmpl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap()
1159 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1165 fmpl_wl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap()
1170 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1177 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1179 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
1185 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()
1190 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1192 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
1202 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1204 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
1210 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()
1215 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1217 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
1223 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()
1233 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1235 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
1242 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()
1256 fvh->magic = cpu_to_be32(UBI_FM_VHDR_MAGIC); in ubi_write_fastmap()
1257 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap()
1259 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
1260 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
1261 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
1271 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()
1273 feba->reserved_pebs = cpu_to_be32(j); in ubi_write_fastmap()
1274 feba->magic = cpu_to_be32(UBI_FM_EBA_MAGIC); in ubi_write_fastmap()
1276 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()
1277 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
1293 fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); in ubi_write_fastmap()
1295 fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); in ubi_write_fastmap()
1299 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
1304 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()