Home
last modified time | relevance | path

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

/openbmc/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.c5380 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c186 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
222 this->bbt_erase_shift); in read_bbt()
234 this->bbt_erase_shift); in read_bbt()
272 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt()
276 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt()
280 mtd->size >> this->bbt_erase_shift, td, 0); in read_abs_bbt()
468 numblocks = mtd->size >> this->bbt_erase_shift; in create_bbt()
477 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt()
480 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
502 from += (1 << this->bbt_erase_shift); in create_bbt()
[all …]
H A Ddenali.c1223 chip->bbt_erase_shift += 1; in denali_multidev_fixup()
H A Dnand_base.c3829 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_get_flash_type()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_bbt.c86 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
124 from += (1 << bbm->bbt_erase_shift); in create_bbt()
210 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
/openbmc/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()
/openbmc/linux/include/linux/mtd/
H A Dbbm.h127 int bbt_erase_shift; member
H A Drawnand.h1289 unsigned int bbt_erase_shift; member
/openbmc/u-boot/include/linux/mtd/
H A Dbbm.h143 int bbt_erase_shift; member
H A Drawnand.h920 int bbt_erase_shift; member