Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/nand/onenand/
Donenand_base.c3430 int die, i, eraseshift, density; in flexonenand_get_size() local
3438 eraseshift = this->erase_shift - 1; in flexonenand_get_size()
3450 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
3453 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()
3454 eraseshift++; in flexonenand_get_size()
3459 ofs += (this->boundary[die] + 1) << (eraseshift - 1); in flexonenand_get_size()
3464 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
3467 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()
3468 eraseshift--; in flexonenand_get_size()