Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c3438 int die, i, eraseshift, density; in flexonenand_get_size() local
3446 eraseshift = this->erase_shift - 1; in flexonenand_get_size()
3458 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
3461 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()
3462 eraseshift++; in flexonenand_get_size()
3467 ofs += (this->boundary[die] + 1) << (eraseshift - 1); in flexonenand_get_size()
3472 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
3475 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()
3476 eraseshift--; in flexonenand_get_size()