Searched refs:ersize (Results 1 – 3 of 3) sorted by relevance
197 unsigned long ernum, ersize; in cfi_staa_setup() local198 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_staa_setup()201 if (mtd->erasesize < ersize) { in cfi_staa_setup()202 mtd->erasesize = ersize; in cfi_staa_setup()206 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_staa_setup()209 offset += (ersize * ernum); in cfi_staa_setup()
636 unsigned long ernum, ersize; in cfi_intelext_setup() local637 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_intelext_setup()640 if (mtd->erasesize < ersize) { in cfi_intelext_setup()641 mtd->erasesize = ersize; in cfi_intelext_setup()645 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_intelext_setup()651 offset += (ersize * ernum); in cfi_intelext_setup()
787 unsigned long ernum, ersize; in cfi_amdstd_setup() local788 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_amdstd_setup()791 if (mtd->erasesize < ersize) { in cfi_amdstd_setup()792 mtd->erasesize = ersize; in cfi_amdstd_setup()796 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()799 offset += (ersize * ernum); in cfi_amdstd_setup()