Home
last modified time | relevance | path

Searched refs:numeraseregions (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/mtd/
Dmtdconcat.c394 if (!concat->mtd.numeraseregions) { in concat_erase()
408 for (i = 0; i < concat->mtd.numeraseregions && in concat_erase()
423 for (; i < concat->mtd.numeraseregions && in concat_erase()
833 if (subdev[i]->numeraseregions == 0) { in mtd_concat_create()
845 for (j = 0; j < subdev[i]->numeraseregions; j++) { in mtd_concat_create()
867 concat->mtd.numeraseregions = 0; in mtd_concat_create()
879 concat->mtd.numeraseregions = num_erase_region; in mtd_concat_create()
898 if (subdev[i]->numeraseregions == 0) { in mtd_concat_create()
920 for (j = 0; j < subdev[i]->numeraseregions; j++) { in mtd_concat_create()
961 if (concat->mtd.numeraseregions) in mtd_concat_destroy()
Dcfi_mtd.c155 mtd->numeraseregions = 0; in cfi_mtd_set_erasesize()
160 mtd->numeraseregions = regions; in cfi_mtd_set_erasesize()
Dmtdpart.c523 if (master->numeraseregions > 1) { in allocate_partition()
525 int i, max = master->numeraseregions; in allocate_partition()
Daltera_qspi.c330 mtd->numeraseregions = 0; in altera_qspi_probe()
Dmtdcore.c299 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions); in mtd_numeraseregions_show()
302 static DEVICE_ATTR(numeraseregions, S_IRUGO, mtd_numeraseregions_show,
/external/u-boot/drivers/mtd/spi/
Dsf_mtd.c94 sf_mtd_info.numeraseregions = 0; in spi_flash_mtd_register()
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c297 for (i = 0; i < mtd->numeraseregions; i++) in flexonenand_region()
2323 mtd->numeraseregions = this->dies << 1; in flexonenand_get_size()
2340 mtd->numeraseregions -= 1; in flexonenand_get_size()
2354 mtd->numeraseregions -= 1; in flexonenand_get_size()
2359 if (mtd->numeraseregions == 1) in flexonenand_get_size()
2362 printk(KERN_INFO "Device has %d eraseregions\n", mtd->numeraseregions); in flexonenand_get_size()
2363 for (i = 0; i < mtd->numeraseregions; i++) in flexonenand_get_size()
2608 mtd->numeraseregions = this->dies << 1; in onenand_probe()
/external/u-boot/cmd/
Dmtdparts.c337 if (!mtd->numeraseregions) { in part_validate_eraseblock()
363 for (i = 0; i < mtd->numeraseregions; i++) { in part_validate_eraseblock()
379 for (i = 0; i < mtd->numeraseregions; i++) { in part_validate_eraseblock()
/external/u-boot/include/linux/mtd/
Dmtd.h226 int numeraseregions; member
/external/u-boot/drivers/mtd/ubi/
Dbuild.c654 if (ubi->mtd->numeraseregions != 0) { in io_init()