Searched refs:NumEraseRegions (Results 1 – 7 of 7) sorted by relevance
240 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_chip_setup()422 printk("Number of Erase Block Regions: %d\n", cfip->NumEraseRegions); in print_cfi_ident()
187 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()197 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_staa_setup()206 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_staa_setup()207 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_staa_setup()208 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_staa_setup()
332 if ((cfi->cfiq->NumEraseRegions == 1) && in fixup_use_erase_chip()361 cfi->cfiq->NumEraseRegions = 1; in fixup_old_sst_eraseregion()701 if (bootloc == 3 && cfi->cfiq->NumEraseRegions > 1) { in cfi_cmdset_0002()704 for (i=0; i<cfi->cfiq->NumEraseRegions / 2; i++) { in cfi_cmdset_0002()705 int j = (cfi->cfiq->NumEraseRegions-1)-i; in cfi_cmdset_0002()778 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()785 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_amdstd_setup()794 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_amdstd_setup()795 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()796 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup()
629 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()636 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_intelext_setup()645 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_intelext_setup()646 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_intelext_setup()647 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_intelext_setup()648 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()649 if (!mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap) in cfi_intelext_setup()688 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) in cfi_intelext_setup()690 kfree(mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap); in cfi_intelext_setup()
82 if (cfi.cfiq->NumEraseRegions == 0) { in genprobe_ident_chips()
1997 cfi->cfiq->NumEraseRegions = jedec_table[index].nr_regions; in cfi_jedec_setup()
140 uint8_t NumEraseRegions; member