Searched refs:vid_hdr_offset (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/mtd/ubi/ |
H A D | build.c | 613 if (ubi->vid_hdr_offset < 0) in io_init() 674 if (ubi->vid_hdr_offset == 0) in io_init() 676 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init() 679 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init() 681 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init() 695 ubi->vid_hdr_offset, ubi->vid_hdr_shift, in io_init() 701 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 704 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init() 717 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE || in io_init() 718 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init() [all …]
|
H A D | io.c | 634 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 637 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr() 646 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr() 648 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr() 814 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
|
H A D | ubi-media.h | 152 __be32 vid_hdr_offset; member
|
H A D | ubi.h | 643 int vid_hdr_offset; member 940 int vid_hdr_offset, int max_beb_per1024,
|
H A D | debug.c | 57 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr()
|
H A D | cdev.c | 1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, in ctrl_cdev_ioctl()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | build.c | 668 if (ubi->vid_hdr_offset < 0) in io_init() 731 if (ubi->vid_hdr_offset == 0) in io_init() 733 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init() 736 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init() 738 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init() 743 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 746 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init() 759 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE || in io_init() 760 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init() 764 ubi->vid_hdr_offset, ubi->leb_start); in io_init() [all …]
|
H A D | io.c | 665 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 668 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr() 677 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr() 679 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr() 845 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
|
H A D | ubi-media.h | 149 __be32 vid_hdr_offset; member
|
H A D | ubi.h | 614 int vid_hdr_offset; member 900 int vid_hdr_offset, int max_beb_per1024);
|
H A D | debug.c | 59 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr()
|
/openbmc/u-boot/include/mtd/ |
H A D | ubi-user.h | 269 __s32 vid_hdr_offset; member
|
/openbmc/linux/include/uapi/mtd/ |
H A D | ubi-user.h | 293 __s32 vid_hdr_offset; member
|
/openbmc/u-boot/cmd/ |
H A D | ubi.c | 60 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset); in display_ubi_info()
|