Searched refs:peb_size (Results 1 – 16 of 16) sorted by relevance
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | io.c | 158 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 D | build.c | 676 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 D | debug.c | 29 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
|
H A D | ubi.h | 601 int peb_size; member
|
H A D | wl.c | 1870 ubi->peb_size - ubi->vid_hdr_aloffset);
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | io.c | 152 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 D | build.c | 621 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 D | debug.c | 27 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
|
H A D | ubi.h | 630 int peb_size; member
|
H A D | wl.c | 1541 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 D | spl_ubi.c | 27 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 D | ubispl.h | 61 u32 peb_size; member
|
/openbmc/u-boot/doc/ |
H A D | README.ubispl | 95 info.peb_size = CONFIG_SYS_NAND_BLOCK_SIZE; 102 info.peb_size = flash_info.peb_size;
|
/openbmc/u-boot/cmd/ |
H A D | ubi.c | 54 ubi->peb_size, ubi->peb_size >> 10); in display_ubi_info()
|
/openbmc/u-boot/drivers/mtd/ubispl/ |
H A D | ubispl.c | 891 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 D | image_types_phosphor.bbclass | 102 peb_size = d.getVar('FLASH_PEB_SIZE', True) 103 leb_size = (int(peb_size) * 1024) - (2 * overhead_size)
|