Searched refs:vid_hdr_offset (Results 1 - 6 of 6) sorted by relevance

/drivers/mtd/ubi/
H A Dubi-media.h130 * @vid_hdr_offset: where the VID header starts
144 * The @vid_hdr_offset and @data_offset fields contain the offset of the the
162 __be32 vid_hdr_offset; member in struct:ubi_ec_hdr
H A Dbuild.c628 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are
655 if (ubi->vid_hdr_offset < 0)
716 if (ubi->vid_hdr_offset == 0)
718 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset =
721 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset &
723 ubi->vid_hdr_shift = ubi->vid_hdr_offset -
728 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE;
731 dbg_msg("vid_hdr_offset %d", ubi->vid_hdr_offset);
744 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZ
870 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset) argument
[all...]
H A Dio.c690 int vid_hdr_offset, leb_start; local
693 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset);
703 if (vid_hdr_offset != ubi->vid_hdr_offset) {
705 vid_hdr_offset, ubi->vid_hdr_offset);
871 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset);
H A Dubi.h378 * @vid_hdr_offset: starting offset of the volume identifier header (might be
382 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
466 int vid_hdr_offset; member in struct:ubi_device
567 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset);
H A Ddebug.c47 be32_to_cpu(ec_hdr->vid_hdr_offset));
H A Dcdev.c1017 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset);

Completed in 64 milliseconds