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.c219 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()
532 from += (1 << this->bbt_erase_shift); in create_bbt()
726 to = (loff_t)block << this->bbt_erase_shift; in mark_bbt_block_bad()
825 len = 1 << this->bbt_erase_shift; in write_bbt()
891 einfo.len = 1 << this->bbt_erase_shift; in write_bbt()
1087 len = (1 << this->bbt_erase_shift); in nand_update_bbt()
1157 this->bbt_erase_shift); in mark_bbt_region()
1179 this->bbt_erase_shift); in mark_bbt_region()
[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.c5373 chip->bbt_erase_shift = chip->phys_erase_shift = in nand_detect()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c222 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()
280 mtd->size >> this->bbt_erase_shift, td, 0); in read_abs_bbt()
502 from += (1 << this->bbt_erase_shift); in create_bbt()
719 len = 1 << this->bbt_erase_shift; in write_bbt()
786 einfo.len = 1 << this->bbt_erase_shift; in write_bbt()
987 this->bbt_erase_shift); in mark_bbt_region()
1009 this->bbt_erase_shift); in mark_bbt_region()
1105 len = (1 << this->bbt_erase_shift); in nand_scan_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