Searched refs:eraseshift (Results 1 – 1 of 1) sorted by relevance
2313 int die, i, eraseshift, density; in flexonenand_get_size() local2321 eraseshift = this->erase_shift - 1; in flexonenand_get_size()2334 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()2337 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()2338 eraseshift++; in flexonenand_get_size()2343 ofs += (this->boundary[die] + 1) << (eraseshift - 1); in flexonenand_get_size()2348 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()2351 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size()2352 eraseshift--; in flexonenand_get_size()