numeraseregions 610 drivers/mtd/chips/cfi_cmdset_0001.c mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; numeraseregions 611 drivers/mtd/chips/cfi_cmdset_0001.c mtd->eraseregions = kcalloc(mtd->numeraseregions, numeraseregions 642 drivers/mtd/chips/cfi_cmdset_0001.c for (i=0; i<mtd->numeraseregions;i++){ numeraseregions 2485 drivers/mtd/chips/cfi_cmdset_0001.c for (i = 0; i < mtd->numeraseregions; i++) { numeraseregions 2585 drivers/mtd/chips/cfi_cmdset_0001.c for (i = 0; i < mtd->numeraseregions; i++) { numeraseregions 2676 drivers/mtd/chips/cfi_cmdset_0001.c for (i = 0; i < mtd->numeraseregions; i++) { numeraseregions 761 drivers/mtd/chips/cfi_cmdset_0002.c mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; numeraseregions 762 drivers/mtd/chips/cfi_cmdset_0002.c mtd->eraseregions = kmalloc_array(mtd->numeraseregions, numeraseregions 2824 drivers/mtd/chips/cfi_cmdset_0002.c for (i = 0; i < mtd->numeraseregions; i++) numeraseregions 186 drivers/mtd/chips/cfi_cmdset_0020.c mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; numeraseregions 187 drivers/mtd/chips/cfi_cmdset_0020.c mtd->eraseregions = kmalloc_array(mtd->numeraseregions, numeraseregions 221 drivers/mtd/chips/cfi_cmdset_0020.c for (i=0; i<mtd->numeraseregions;i++){ numeraseregions 914 drivers/mtd/chips/cfi_cmdset_0020.c while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) numeraseregions 934 drivers/mtd/chips/cfi_cmdset_0020.c while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) numeraseregions 380 drivers/mtd/chips/cfi_util.c while (i < mtd->numeraseregions && ofs >= regions[i].offset) numeraseregions 400 drivers/mtd/chips/cfi_util.c while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) numeraseregions 376 drivers/mtd/devices/lart.c for (i = 0; i < mtd->numeraseregions && instr->addr >= mtd->eraseregions[i].offset; i++) ; numeraseregions 398 drivers/mtd/devices/lart.c for (; i < mtd->numeraseregions && instr->addr + instr->len >= mtd->eraseregions[i].offset; i++) ; numeraseregions 618 drivers/mtd/devices/lart.c mtd.numeraseregions = ARRAY_SIZE(erase_regions); numeraseregions 634 drivers/mtd/devices/lart.c mtd.numeraseregions); numeraseregions 636 drivers/mtd/devices/lart.c if (mtd.numeraseregions) numeraseregions 637 drivers/mtd/devices/lart.c for (result = 0; result < mtd.numeraseregions; result++) numeraseregions 390 drivers/mtd/devices/sst25l.c flash->mtd.numeraseregions); numeraseregions 105 drivers/mtd/maps/scb2_flash.c for (i = 0; i < mtd->numeraseregions; i++) { numeraseregions 116 drivers/mtd/maps/scb2_flash.c for (i = 0; !done && i < mtd->numeraseregions; i++) { numeraseregions 646 drivers/mtd/mtdchar.c if (copy_to_user(argp, &(mtd->numeraseregions), sizeof(int))) numeraseregions 659 drivers/mtd/mtdchar.c if (ur_idx >= mtd->numeraseregions) numeraseregions 336 drivers/mtd/mtdconcat.c if (!concat->mtd.numeraseregions) { numeraseregions 350 drivers/mtd/mtdconcat.c for (i = 0; i < concat->mtd.numeraseregions && numeraseregions 365 drivers/mtd/mtdconcat.c for (; i < concat->mtd.numeraseregions && numeraseregions 722 drivers/mtd/mtdconcat.c if (subdev[i]->numeraseregions == 0) { numeraseregions 734 drivers/mtd/mtdconcat.c for (j = 0; j < subdev[i]->numeraseregions; j++) { numeraseregions 756 drivers/mtd/mtdconcat.c concat->mtd.numeraseregions = 0; numeraseregions 768 drivers/mtd/mtdconcat.c concat->mtd.numeraseregions = num_erase_region; numeraseregions 788 drivers/mtd/mtdconcat.c if (subdev[i]->numeraseregions == 0) { numeraseregions 810 drivers/mtd/mtdconcat.c for (j = 0; j < subdev[i]->numeraseregions; j++) { numeraseregions 851 drivers/mtd/mtdconcat.c if (concat->mtd.numeraseregions) numeraseregions 208 drivers/mtd/mtdcore.c return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions); numeraseregions 210 drivers/mtd/mtdcore.c static DEVICE_ATTR(numeraseregions, S_IRUGO, mtd_numeraseregions_show, numeraseregions 482 drivers/mtd/mtdpart.c if (parent->numeraseregions > 1) { numeraseregions 484 drivers/mtd/mtdpart.c int i, max = parent->numeraseregions; numeraseregions 381 drivers/mtd/nand/onenand/onenand_base.c for (i = 0; i < mtd->numeraseregions; i++) numeraseregions 3445 drivers/mtd/nand/onenand/onenand_base.c mtd->numeraseregions = this->dies << 1; numeraseregions 3461 drivers/mtd/nand/onenand/onenand_base.c mtd->numeraseregions -= 1; numeraseregions 3475 drivers/mtd/nand/onenand/onenand_base.c mtd->numeraseregions -= 1; numeraseregions 3480 drivers/mtd/nand/onenand/onenand_base.c if (mtd->numeraseregions == 1) numeraseregions 3483 drivers/mtd/nand/onenand/onenand_base.c printk(KERN_INFO "Device has %d eraseregions\n", mtd->numeraseregions); numeraseregions 3484 drivers/mtd/nand/onenand/onenand_base.c for (i = 0; i < mtd->numeraseregions; i++) numeraseregions 3726 drivers/mtd/nand/onenand/onenand_base.c mtd->numeraseregions = this->dies << 1; numeraseregions 4965 drivers/mtd/spi-nor/spi-nor.c mtd->erasesize, mtd->erasesize / 1024, mtd->numeraseregions); numeraseregions 4967 drivers/mtd/spi-nor/spi-nor.c if (mtd->numeraseregions) numeraseregions 4968 drivers/mtd/spi-nor/spi-nor.c for (i = 0; i < mtd->numeraseregions; i++) numeraseregions 579 drivers/mtd/ubi/build.c if (ubi->mtd->numeraseregions != 0) { numeraseregions 269 include/linux/mtd/mtd.h int numeraseregions;