Searched refs:NumEraseRegions (Results 1 – 7 of 7) sorted by relevance
239 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_chip_setup()421 printk("Number of Erase Block Regions: %d\n", cfip->NumEraseRegions); in print_cfi_ident()
186 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()196 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_staa_setup()205 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_staa_setup()206 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_staa_setup()207 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_staa_setup()
334 if ((cfi->cfiq->NumEraseRegions == 1) && in fixup_use_erase_chip()363 cfi->cfiq->NumEraseRegions = 1; in fixup_old_sst_eraseregion()703 if (bootloc == 3 && cfi->cfiq->NumEraseRegions > 1) { in cfi_cmdset_0002()706 for (i=0; i<cfi->cfiq->NumEraseRegions / 2; i++) { in cfi_cmdset_0002()707 int j = (cfi->cfiq->NumEraseRegions-1)-i; in cfi_cmdset_0002()780 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()787 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_amdstd_setup()796 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_amdstd_setup()797 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()798 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup()
612 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_intelext_setup()619 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) { in cfi_intelext_setup()628 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_intelext_setup()629 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_intelext_setup()630 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_intelext_setup()631 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()632 if (!mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap) in cfi_intelext_setup()671 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) in cfi_intelext_setup()673 kfree(mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap); in cfi_intelext_setup()
82 if (cfi.cfiq->NumEraseRegions == 0) { in genprobe_ident_chips()
1996 cfi->cfiq->NumEraseRegions = jedec_table[index].nr_regions; in cfi_jedec_setup()
140 uint8_t NumEraseRegions; member