Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/chips/
Dcfi_cmdset_0020.c197 unsigned long ernum, ersize; in cfi_staa_setup() local
198 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()
Dcfi_cmdset_0001.c619 unsigned long ernum, ersize; in cfi_intelext_setup() local
620 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_intelext_setup()
623 if (mtd->erasesize < ersize) { in cfi_intelext_setup()
624 mtd->erasesize = ersize; in cfi_intelext_setup()
628 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_intelext_setup()
634 offset += (ersize * ernum); in cfi_intelext_setup()
Dcfi_cmdset_0002.c769 unsigned long ernum, ersize; in cfi_amdstd_setup() local
770 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave; in cfi_amdstd_setup()
773 if (mtd->erasesize < ersize) { in cfi_amdstd_setup()
774 mtd->erasesize = ersize; in cfi_amdstd_setup()
778 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize; in cfi_amdstd_setup()
781 offset += (ersize * ernum); in cfi_amdstd_setup()