Home
last modified time | relevance | path

Searched refs:bbt (Results 1 – 25 of 170) sorted by relevance

1234567

/linux/drivers/mtd/tests/
A Dspeedtest.c35 static unsigned char *bbt; variable
230 if (!bbt) in mtd_speedtest_init()
236 if (!bbt[i]) in mtd_speedtest_init()
248 if (bbt[i]) in mtd_speedtest_init()
266 if (bbt[i]) in mtd_speedtest_init()
288 if (bbt[i]) in mtd_speedtest_init()
306 if (bbt[i]) in mtd_speedtest_init()
328 if (bbt[i]) in mtd_speedtest_init()
346 if (bbt[i]) in mtd_speedtest_init()
378 if (bbt[i + j]) in mtd_speedtest_init()
[all …]
A Dpagetest.c32 static unsigned char *bbt; variable
58 for (i = 0; i < ebcnt && bbt[i]; ++i) in verify_eraseblock()
126 for (i = 0; i < ebcnt && bbt[i]; ++i) in crosstest()
198 for (i = 0; i < ebcnt && bbt[i]; ++i) { in erasecrosstest()
204 while (ebnum2 && bbt[ebnum2]) in erasecrosstest()
276 for (i = 0; i < ebcnt && bbt[i]; ++i) { in erasetest()
372 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_pagetest_init()
373 if (!bbt) in mtd_pagetest_init()
390 if (bbt[i]) in mtd_pagetest_init()
408 if (bbt[i]) in mtd_pagetest_init()
[all …]
A Dsubpagetest.c29 static unsigned char *bbt; variable
252 if (bbt[i]) in verify_all_eraseblocks_ff()
317 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_subpagetest_init()
318 if (!bbt) in mtd_subpagetest_init()
325 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
332 if (bbt[i]) in mtd_subpagetest_init()
349 if (bbt[i]) in mtd_subpagetest_init()
363 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
375 if (bbt[i]) in mtd_subpagetest_init()
393 if (bbt[i]) in mtd_subpagetest_init()
[all …]
A Doobtest.c34 static unsigned char *bbt; variable
96 if (bbt[i]) in write_whole_device()
320 if (bbt[i]) in verify_all_eraseblocks()
385 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_oobtest_init()
386 if (!bbt) in mtd_oobtest_init()
434 if (bbt[i]) in mtd_oobtest_init()
492 for (i = 0; i < ebcnt && bbt[i]; ++i) in mtd_oobtest_init()
536 if (bbt[ebcnt - 1]) in mtd_oobtest_init()
642 if (bbt[i] || bbt[i + 1]) in mtd_oobtest_init()
674 if (bbt[i] || bbt[i + 1]) in mtd_oobtest_init()
[all …]
A Dstresstest.c35 static unsigned char *bbt; variable
51 if (bbt[eb]) in rand_eb()
81 if (bbt[eb + 1]) { in do_read()
106 if (bbt[eb + 1]) in do_write()
197 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_stresstest_init()
198 if (!bbt) in mtd_stresstest_init()
200 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_stresstest_init()
221 kfree(bbt); in mtd_stresstest_init()
A Dmtd_test.c41 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_scan_for_bad_eraseblocks() argument
51 bbt[i] = is_block_bad(mtd, eb + i) ? 1 : 0; in mtdtest_scan_for_bad_eraseblocks()
52 if (bbt[i]) in mtdtest_scan_for_bad_eraseblocks()
61 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_erase_good_eraseblocks() argument
68 if (bbt[i]) in mtdtest_erase_good_eraseblocks()
A Dreadtest.c29 static unsigned char *bbt; variable
161 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_readtest_init()
162 if (!bbt) in mtd_readtest_init()
164 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_readtest_init()
173 if (bbt[i]) in mtd_readtest_init()
198 kfree(bbt); in mtd_readtest_init()
A Dmtd_test.h17 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
19 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
/linux/drivers/mtd/nand/
A Dbbt.c30 nand->bbt.cache = kcalloc(nwords, sizeof(*nand->bbt.cache), in nanddev_bbt_init()
32 if (!nand->bbt.cache) in nanddev_bbt_init()
47 kfree(nand->bbt.cache); in nanddev_bbt_cleanup()
78 unsigned long *pos = nand->bbt.cache + in nanddev_bbt_get_block_status()
111 unsigned long *pos = nand->bbt.cache + in nanddev_bbt_set_block_status()
A DMakefile3 nandcore-objs := core.o bbt.o
A Dbuilt-in.a4 bbt.o/
A D.built-in.a.cmd1 …DPrST drivers/mtd/nand/built-in.a drivers/mtd/nand/core.o drivers/mtd/nand/bbt.o drivers/mtd/nand/…
/linux/drivers/mtd/nand/onenand/
A Donenand_bbt.c103 bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); in create_bbt()
153 res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03; in onenand_isbad_bbt()
189 bbm->bbt = kzalloc(len, GFP_KERNEL); in onenand_scan_bbt()
190 if (!bbm->bbt) in onenand_scan_bbt()
202 kfree(bbm->bbt); in onenand_scan_bbt()
203 bbm->bbt = NULL; in onenand_scan_bbt()
/linux/Documentation/devicetree/bindings/mtd/
A Dsamsung-s3c2410.txt18 - nand-on-flash-bbt : see nand-controller.yaml
38 nand-on-flash-bbt;
A Ddavinci-nand.txt52 - nand-on-flash-bbt: use flash based bad block table support. OOB
66 - ti,davinci-nand-use-bbt: use flash based bad block table support. OOB
88 nand-on-flash-bbt;
A Dlpc32xx-slc.txt6 - nand-on-flash-bbt: Use bad block table on flash
41 nand-on-flash-bbt;
A Dnvidia-tegra20-nand.txt30 - nand-on-flash-bbt: See nand-controller.yaml
59 nand-on-flash-bbt;
A Dvf610-nfc.txt35 - nand-on-flash-bbt: see nand-controller.yaml
57 nand-on-flash-bbt;
A Datmel-nand.txt159 - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false
181 nand-on-flash-bbt;
204 nand-on-flash-bbt;
/linux/arch/arm/boot/dts/
A Darmada-385-atl-x530.dts209 nand-on-flash-bbt;
228 partition@nand-bbt {
230 label = "nand-bbt";
A Dbcm7445-bcm97445svmb.dts25 nand-on-flash-bbt;
/linux/arch/mips/boot/dts/brcm/
A Dbcm97xxx-nand-cs1-bch24.dtsi6 nand-on-flash-bbt;
A Dbcm97xxx-nand-cs1-bch4.dtsi6 nand-on-flash-bbt;
/linux/drivers/mtd/nand/raw/
A Dnand_bbt.c78 uint8_t entry = chip->bbt[block >> BBT_ENTRY_SHIFT]; in bbt_get_entry()
87 chip->bbt[block >> BBT_ENTRY_SHIFT] |= msk; in bbt_mark_entry()
1083 if (!this->bbt || !td) in nand_update_bbt()
1257 this->bbt = kzalloc(len, GFP_KERNEL); in nand_scan_bbt()
1258 if (!this->bbt) in nand_scan_bbt()
1307 kfree(this->bbt); in nand_scan_bbt()
1308 this->bbt = NULL; in nand_scan_bbt()
/linux/include/linux/mtd/
A Dbbm.h130 uint8_t *bbt; member

Completed in 30 milliseconds

1234567