Home
last modified time | relevance | path

Searched refs:ernum (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
217 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1; in cfi_staa_setup()
225 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; 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
183 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1; in cfi_amdstd_setup()
191 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup()
193 offset += (ersize * ernum); in cfi_amdstd_setup()
Dcfi_cmdset_0001.c232 unsigned long ernum, ersize; local
234 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1;
242 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum;
244 offset += (ersize * ernum);