Searched refs:ersize (Results 1 – 3 of 3) sorted by relevance
215 unsigned long ernum, ersize; in cfi_staa_setup() local216 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_staa_setup()219 if (mtd->erasesize < ersize) { in cfi_staa_setup()220 mtd->erasesize = ersize; in cfi_staa_setup()224 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_staa_setup()227 offset += (ersize * ernum); in cfi_staa_setup()
181 unsigned long ernum, ersize; in cfi_amdstd_setup() local182 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_amdstd_setup()185 if (mtd->erasesize < ersize) { in cfi_amdstd_setup()186 mtd->erasesize = ersize; in cfi_amdstd_setup()190 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()193 offset += (ersize * ernum); in cfi_amdstd_setup()
232 unsigned long ernum, ersize; local233 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave;236 if (mtd->erasesize < ersize) {237 mtd->erasesize = ersize;241 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize;244 offset += (ersize * ernum);