Lines Matching refs:nand_bbt_descr

93 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td)  in check_pattern_no_oob()
110 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
131 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
145 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
170 struct nand_bbt_descr *td, int offs) in read_bbt()
262 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
289 struct nand_bbt_descr *td) in scan_read_data()
343 size_t len, struct nand_bbt_descr *td) in scan_read()
367 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
387 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
411 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
453 struct nand_bbt_descr *bd, int chip) in create_bbt()
522 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
594 struct nand_bbt_descr *td, in search_read_bbts()
595 struct nand_bbt_descr *md) in search_read_bbts()
616 struct nand_bbt_descr *td, struct nand_bbt_descr *md, in write_bbt()
818 static inline int nand_memory_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_memory_bbt()
836 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
840 struct nand_bbt_descr *td = this->bbt_td; in check_create()
841 struct nand_bbt_descr *md = this->bbt_md; in check_create()
842 struct nand_bbt_descr *rd, *rd2; in check_create()
961 static void mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) in mark_bbt_region()
1021 static void verify_bbt_descr(struct mtd_info *mtd, struct nand_bbt_descr *bd) in verify_bbt_descr()
1073 static int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_scan_bbt()
1078 struct nand_bbt_descr *td = this->bbt_td; in nand_scan_bbt()
1079 struct nand_bbt_descr *md = this->bbt_md; in nand_scan_bbt()
1152 struct nand_bbt_descr *td = this->bbt_td; in nand_update_bbt()
1153 struct nand_bbt_descr *md = this->bbt_md; in nand_update_bbt()
1204 static struct nand_bbt_descr bbt_main_descr = {
1214 static struct nand_bbt_descr bbt_mirror_descr = {
1224 static struct nand_bbt_descr bbt_main_no_oob_descr = {
1234 static struct nand_bbt_descr bbt_mirror_no_oob_descr = {
1256 struct nand_bbt_descr *bd; in nand_create_badblock_pattern()