Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
219 this->bbt_erase_shift); in read_bbt()
231 this->bbt_erase_shift); in read_bbt()
271 targetsize >> this->bbt_erase_shift, in read_abs_bbt()
275 offs += targetsize >> this->bbt_erase_shift; in read_abs_bbt()
279 mtd->size >> this->bbt_erase_shift, td, 0); in read_abs_bbt()
501 numblocks = mtd->size >> this->bbt_erase_shift; in create_bbt()
510 numblocks = targetsize >> this->bbt_erase_shift; in create_bbt()
513 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
532 from += (1 << this->bbt_erase_shift); in create_bbt()
[all …]
H A Ddiskonchip.c965 this->bbt_erase_shift += (0xff - mh->UnitSizeFactor); in nftl_partscan()
969 blocks = mtd->size >> this->bbt_erase_shift; in nftl_partscan()
992 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
H A Ddenali.c1001 chip->bbt_erase_shift += 1; in denali_multidev_fixup()
H A Dnand_base.c5399 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
/linux/drivers/mtd/nand/onenand/
H A Donenand_bbt.c79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
116 from += (1 << bbm->bbt_erase_shift); in create_bbt()
194 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
/linux/include/linux/mtd/
H A Dbbm.h127 int bbt_erase_shift; member
H A Drawnand.h1302 unsigned int bbt_erase_shift; member