Home
last modified time | relevance | path

Searched refs:vid_hdr_shift (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/mtd/ubi/
H A Dbuild.c681 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init()
692 if ((ubi->vid_hdr_shift + UBI_VID_HDR_SIZE) > ubi->vid_hdr_alsize) { in io_init()
695 ubi->vid_hdr_offset, ubi->vid_hdr_shift, in io_init()
706 dbg_gen("vid_hdr_shift %d", ubi->vid_hdr_shift); in io_init()
710 if (ubi->vid_hdr_shift % 4) { in io_init()
712 ubi->vid_hdr_shift); in io_init()
H A Dubi.h645 int vid_hdr_shift; member
1076 vidb->hdr = buf + ubi->vid_hdr_shift; in ubi_init_vid_buf()
H A Dio.c978 ubi->vid_hdr_shift + UBI_VID_HDR_SIZE); in ubi_io_read_vid_hdr()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dubi.h616 int vid_hdr_shift; member
1038 return vid_hdr + ubi->vid_hdr_shift; in ubi_zalloc_vid_hdr()
1054 kfree(p - ubi->vid_hdr_shift); in ubi_free_vid_hdr()
H A Dbuild.c738 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init()
748 dbg_gen("vid_hdr_shift %d", ubi->vid_hdr_shift); in io_init()
752 if (ubi->vid_hdr_shift % 4) { in io_init()
754 ubi->vid_hdr_shift); in io_init()
H A Dio.c1008 p = (char *)vid_hdr - ubi->vid_hdr_shift; in ubi_io_read_vid_hdr()
1108 p = (char *)vid_hdr - ubi->vid_hdr_shift; in ubi_io_write_vid_hdr()
1284 p = (char *)vid_hdr - ubi->vid_hdr_shift; in self_check_peb_vid_hdr()