Searched refs:eraseshift (Results 1 – 1 of 1) sorted by relevance
3556 int die, i, eraseshift, density; in flexonenand_get_size() local3564 eraseshift = this->erase_shift - 1; in flexonenand_get_size()3576 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()3579 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()3580 eraseshift++; in flexonenand_get_size()3585 ofs += (this->boundary[die] + 1) << (eraseshift - 1); in flexonenand_get_size()3590 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()3593 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()3594 eraseshift--; in flexonenand_get_size()