Home
last modified time | relevance | path

Searched refs:ersize (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/mtd/chips/
Dcfi_cmdset_0020.c215 unsigned long ernum, ersize; in cfi_staa_setup() local
216 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()
Dcfi_cmdset_0002.c181 unsigned long ernum, ersize; in cfi_amdstd_setup() local
182 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()
Dcfi_cmdset_0001.c232 unsigned long ernum, ersize; local
233 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);