Home
last modified time | relevance | path

Searched refs:peb_size (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dio.c158 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_read()
276 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_write()
296 len = ubi->peb_size - offset; in ubi_io_write()
344 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase()
345 ei.len = ubi->peb_size; in do_sync_erase()
433 memset(ubi->peb_buf, patterns[i], ubi->peb_size); in torture_peb()
438 memset(ubi->peb_buf, ~patterns[i], ubi->peb_size); in torture_peb()
444 ubi->peb_size); in torture_peb()
515 addr = (loff_t)pnum * ubi->peb_size; in nor_erase_prepare()
541 ubi_dump_flash(ubi, pnum, 0, ubi->peb_size); in nor_erase_prepare()
[all …]
H A Dbuild.c676 ubi->peb_size = ubi->mtd->erasesize; in io_init()
761 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
787 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
995 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev()
1037 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
H A Ddebug.c29 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
H A Dubi.h601 int peb_size; member
H A Dwl.c1870 ubi->peb_size - ubi->vid_hdr_aloffset);
/openbmc/linux/drivers/mtd/ubi/
H A Dio.c152 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_read()
270 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_write()
290 len = ubi->peb_size - offset; in ubi_io_write()
323 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase()
324 ei.len = ubi->peb_size; in do_sync_erase()
391 memset(ubi->peb_buf, patterns[i], ubi->peb_size); in torture_peb()
396 memset(ubi->peb_buf, ~patterns[i], ubi->peb_size); in torture_peb()
402 ubi->peb_size); in torture_peb()
474 addr = (loff_t)pnum * ubi->peb_size; in nor_erase_prepare()
503 ubi_dump_flash(ubi, pnum, 0, ubi->peb_size); in nor_erase_prepare()
[all …]
H A Dbuild.c621 ubi->peb_size = ubi->mtd->erasesize; in io_init()
719 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
745 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
985 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev()
1027 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
H A Ddebug.c27 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
H A Dubi.h630 int peb_size; member
H A Dwl.c1541 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size);
2149 ubi->peb_size - ubi->vid_hdr_aloffset);
/openbmc/u-boot/common/spl/
H A Dspl_ubi.c27 info.peb_size = CONFIG_SYS_NAND_BLOCK_SIZE; in spl_ubi_load_image()
33 info.peb_size = CONFIG_SYS_ONENAND_BLOCK_SIZE; in spl_ubi_load_image()
/openbmc/u-boot/include/
H A Dubispl.h61 u32 peb_size; member
/openbmc/u-boot/doc/
H A DREADME.ubispl95 info.peb_size = CONFIG_SYS_NAND_BLOCK_SIZE;
102 info.peb_size = flash_info.peb_size;
/openbmc/u-boot/cmd/
H A Dubi.c54 ubi->peb_size, ubi->peb_size >> 10); in display_ubi_info()
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c891 ubi->leb_size = info->peb_size - ubi->leb_start; in ubispl_load_volumes()
895 fsize = info->peb_size * info->peb_count; in ubispl_load_volumes()
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_types_phosphor.bbclass102 peb_size = d.getVar('FLASH_PEB_SIZE', True)
103 leb_size = (int(peb_size) * 1024) - (2 * overhead_size)