Searched refs:ersize (Results 1 – 3 of 3) sorted by relevance
198 unsigned long ernum, ersize; in cfi_staa_setup() local199 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_staa_setup()202 if (mtd->erasesize < ersize) { in cfi_staa_setup()203 mtd->erasesize = ersize; in cfi_staa_setup()207 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_staa_setup()210 offset += (ersize * ernum); in cfi_staa_setup()
637 unsigned long ernum, ersize; in cfi_intelext_setup() local638 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_intelext_setup()641 if (mtd->erasesize < ersize) { in cfi_intelext_setup()642 mtd->erasesize = ersize; in cfi_intelext_setup()646 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_intelext_setup()652 offset += (ersize * ernum); in cfi_intelext_setup()
786 unsigned long ernum, ersize; in cfi_amdstd_setup() local787 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_amdstd_setup()790 if (mtd->erasesize < ersize) { in cfi_amdstd_setup()791 mtd->erasesize = ersize; in cfi_amdstd_setup()795 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()798 offset += (ersize * ernum); in cfi_amdstd_setup()