Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/chips/
Dcfi_cmdset_0020.c198 unsigned long ernum, ersize; in cfi_staa_setup() local
200 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1; in cfi_staa_setup()
208 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_staa_setup()
210 offset += (ersize * ernum); in cfi_staa_setup()
Dcfi_cmdset_0001.c637 unsigned long ernum, ersize; in cfi_intelext_setup() local
639 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1; in cfi_intelext_setup()
647 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_intelext_setup()
648 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].lockmap = kmalloc(ernum / 8 + 1, GFP_KERNEL); in cfi_intelext_setup()
652 offset += (ersize * ernum); in cfi_intelext_setup()
Dcfi_cmdset_0002.c786 unsigned long ernum, ersize; in cfi_amdstd_setup() local
788 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1; in cfi_amdstd_setup()
796 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup()
798 offset += (ersize * ernum); in cfi_amdstd_setup()