Home
last modified time | relevance | path

Searched refs:badblock_pattern (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_bbt.c260 if (!bbm->badblock_pattern) in onenand_default_bbt()
261 bbm->badblock_pattern = &largepage_memorybased; in onenand_default_bbt()
263 return onenand_scan_bbt(mtd, bbm->badblock_pattern); in onenand_default_bbt()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_bbt.c241 if (!bbm->badblock_pattern) in onenand_default_bbt()
242 bbm->badblock_pattern = &largepage_memorybased; in onenand_default_bbt()
244 return onenand_scan_bbt(mtd, bbm->badblock_pattern); in onenand_default_bbt()
/openbmc/linux/include/linux/mtd/
H A Dsharpsl.h15 struct nand_bbt_descr *badblock_pattern; member
H A Dbbm.h135 struct nand_bbt_descr *badblock_pattern; member
H A Drawnand.h1295 struct nand_bbt_descr *badblock_pattern; member
/openbmc/linux/drivers/mtd/nand/raw/
H A Dsharpsl.c181 this->badblock_pattern = data->badblock_pattern; in sharpsl_nand_probe()
H A Dnand_bbt.c454 struct nand_bbt_descr *bd = this->badblock_pattern; in bbt_block_checkbad()
1375 if (this->badblock_pattern) { in nand_create_badblock_pattern()
1387 this->badblock_pattern = bd; in nand_create_badblock_pattern()
1419 if (!this->badblock_pattern) { in nand_create_bbt()
1425 return nand_scan_bbt(this, this->badblock_pattern); in nand_create_bbt()
H A Dsh_flctl.c1032 chip->badblock_pattern = &flctl_4secc_smallpage; in flctl_chip_attach_chip()
1035 chip->badblock_pattern = &flctl_4secc_largepage; in flctl_chip_attach_chip()
H A Dnand_base.c6685 if (chip->badblock_pattern && chip->badblock_pattern->options in nand_cleanup()
6687 kfree(chip->badblock_pattern); in nand_cleanup()
/openbmc/u-boot/include/linux/mtd/
H A Dbbm.h152 struct nand_bbt_descr *badblock_pattern; member
H A Drawnand.h959 struct nand_bbt_descr *badblock_pattern; member
/openbmc/linux/include/linux/mfd/
H A Dtmio.h111 struct nand_bbt_descr *badblock_pattern; member
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c1257 if (this->badblock_pattern) { in nand_create_badblock_pattern()
1269 this->badblock_pattern = bd; in nand_create_badblock_pattern()
1302 if (!this->badblock_pattern) { in nand_default_bbt()
1308 return nand_scan_bbt(mtd, this->badblock_pattern); in nand_default_bbt()
H A Dfsl_elbc_nand.c762 nand->badblock_pattern = &largepage_memorybased; in fsl_elbc_chip_init()
/openbmc/linux/arch/arm/mach-pxa/
H A Dspitz.c796 .badblock_pattern = &spitz_nand_bbt,
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c2675 chip->badblock_pattern = &gpmi_bbt_descr; in gpmi_nand_init()