Lines Matching refs:erasesize
831 if (mtd->eraseregions[i].erasesize < (1 << this->erase_shift)) in onenand_recover_lsb()
1749 block_size = region->erasesize; in onenand_erase()
1751 + region->erasesize * region->numblocks; in onenand_erase()
1821 block_size = region->erasesize; in onenand_erase()
1823 + region->erasesize * region->numblocks; in onenand_erase()
2337 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
2351 mtd->eraseregions[i].erasesize = 1 << eraseshift; in flexonenand_get_size()
2361 mtd->erasesize = 1 << this->erase_shift; in flexonenand_get_size()
2363 mtd->erasesize >>= 1; in flexonenand_get_size()
2369 mtd->eraseregions[i].erasesize, in flexonenand_get_size()
2634 mtd->erasesize = mtd->writesize << 6; in onenand_probe()
2641 mtd->erasesize <<= 1; in onenand_probe()
2643 this->erase_shift = ffs(mtd->erasesize) - 1; in onenand_probe()
2646 this->page_mask = (mtd->erasesize / mtd->writesize) - 1; in onenand_probe()