Searched refs:numeraseregions (Results 1 – 10 of 10) sorted by relevance
394 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()
155 mtd->numeraseregions = 0; in cfi_mtd_set_erasesize()160 mtd->numeraseregions = regions; in cfi_mtd_set_erasesize()
523 if (master->numeraseregions > 1) { in allocate_partition()525 int i, max = master->numeraseregions; in allocate_partition()
330 mtd->numeraseregions = 0; in altera_qspi_probe()
299 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions); in mtd_numeraseregions_show()302 static DEVICE_ATTR(numeraseregions, S_IRUGO, mtd_numeraseregions_show,
94 sf_mtd_info.numeraseregions = 0; in spi_flash_mtd_register()
297 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()
337 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()
226 int numeraseregions; member
654 if (ubi->mtd->numeraseregions != 0) { in io_init()