Home
last modified time | relevance | path

Searched refs:bbt_options (Results 1 – 25 of 66) sorted by relevance

123

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c483 if (this->bbt_options & NAND_BBT_SCANLASTPAGE) in create_bbt()
897 if (!(this->bbt_options & NAND_BBT_CREATE_EMPTY)) in check_create()
1036 BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) && in verify_bbt_descr()
1037 !(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1044 BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1045 BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB)); in verify_bbt_descr()
1266 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1288 if (this->bbt_options & NAND_BBT_USE_FLASH) { in nand_default_bbt()
1291 if (this->bbt_options & NAND_BBT_NO_OOB) { in nand_default_bbt()
1371 if (this->bbt_options & NAND_BBT_USE_FLASH) in nand_markbad_bbt()
H A Dnand_base.c354 if (chip->bbt_options & NAND_BBT_SCANLASTPAGE) in nand_block_bad()
381 } while (!res && i < 2 && (chip->bbt_options & NAND_BBT_SCAN2NDPAGE)); in nand_block_bad()
414 if (chip->bbt_options & NAND_BBT_SCANLASTPAGE) in nand_default_block_markbad()
423 } while ((chip->bbt_options & NAND_BBT_SCAN2NDPAGE) && i < 2); in nand_default_block_markbad()
450 if (!(chip->bbt_options & NAND_BBT_NO_OOB_BBM)) { in nand_block_markbad_lowlevel()
4348 chip->bbt_options |= NAND_BBT_SCANLASTPAGE; in nand_decode_bbm_options()
4357 chip->bbt_options |= NAND_BBT_SCAN2NDPAGE; in nand_decode_bbm_options()
4585 chip->bbt_options |= NAND_BBT_USE_FLASH; in nand_dt_init()
5013 BUG_ON((chip->bbt_options & NAND_BBT_NO_OOB_BBM) && in nand_scan_tail()
5014 !(chip->bbt_options & NAND_BBT_USE_FLASH)); in nand_scan_tail()
H A Dlpc32xx_nand_mlc.c580 lpc32xx_chip.bbt_options |= NAND_BBT_USE_FLASH | NAND_BBT_LASTBLOCK in board_nand_init()
H A Dstm32_fmc2_nand.c1039 if (chip->bbt_options & NAND_BBT_USE_FLASH) in stm32_fmc2_probe()
1040 chip->bbt_options |= NAND_BBT_NO_OOB; in stm32_fmc2_probe()
H A Dlpc32xx_nand_slc.c575 lpc32xx_chip->bbt_options |= NAND_BBT_USE_FLASH; in board_nand_init()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_bbt.c976 if (!(this->bbt_options & NAND_BBT_CREATE_EMPTY)) in check_create()
1172 BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) && in verify_bbt_descr()
1173 !(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1180 BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1181 BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB)); in verify_bbt_descr()
1349 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1370 if (this->bbt_options & NAND_BBT_USE_FLASH) { in nand_create_bbt()
1373 if (this->bbt_options & NAND_BBT_NO_OOB) { in nand_create_bbt()
1451 if (this->bbt_options & NAND_BBT_USE_FLASH) in nand_markbad_bbt()
H A Dplat_nand.c85 data->chip.bbt_options |= pdata->chip.bbt_options; in plat_nand_probe()
H A Ddavinci_nand.c545 pdata->bbt_options = NAND_BBT_USE_FLASH; in nand_davinci_get_pdata()
838 info->chip.bbt_options = pdata->bbt_options; in nand_davinci_probe()
H A Dpasemi_nand.c155 chip->bbt_options = NAND_BBT_USE_FLASH; in pasemi_nand_probe()
H A Dcs553x_nand.c306 this->bbt_options = NAND_BBT_USE_FLASH; in cs553x_init_one()
H A Dvf610_nfc.c750 if (chip->bbt_options & NAND_BBT_USE_FLASH) in vf610_nfc_attach_chip()
751 chip->bbt_options |= NAND_BBT_NO_OOB; in vf610_nfc_attach_chip()
H A Ds3c2410.c914 chip->bbt_options |= NAND_BBT_USE_FLASH; in s3c2410_nand_init_chip()
994 if (chip->bbt_options & NAND_BBT_USE_FLASH) in s3c2410_nand_attach_chip()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dmtd-davinci.h78 unsigned bbt_options; member
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dplatnand.h35 unsigned int bbt_options; member
/OK3568_Linux_fs/kernel/arch/arm/mach-davinci/
H A Dboard-neuros-osd2.c95 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-dm355-leopard.c82 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-dm355-evm.c86 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-omapl138-hawk.c211 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-mityomapl138.c436 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-da830-evm.c311 .bbt_options = NAND_BBT_USE_FLASH,
H A Dboard-dm365-evm.c150 .bbt_options = NAND_BBT_USE_FLASH,
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c240 if (chip->bbt_options & NAND_BBT_USE_FLASH) in ingenic_nand_attach_chip()
241 chip->bbt_options |= NAND_BBT_NO_OOB; in ingenic_nand_attach_chip()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Drawnand.h894 unsigned int bbt_options; member
1110 unsigned int bbt_options; member
/OK3568_Linux_fs/kernel/arch/arm/mach-orion5x/
H A Dts78xx-setup.c234 .bbt_options = NAND_BBT_USE_FLASH,
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c393 b47n->nand_chip.bbt_options = NAND_BBT_USE_FLASH; in bcm47xxnflash_ops_bcm4706_init()

123