Lines Matching refs:nand_bbt_descr

96 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td)  in check_pattern_no_oob()
113 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
134 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
148 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
173 struct nand_bbt_descr *td, int offs) in read_bbt()
265 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
292 struct nand_bbt_descr *td) in scan_read_data()
346 size_t len, struct nand_bbt_descr *td) in scan_read()
370 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
390 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
414 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
456 struct nand_bbt_descr *bd, int chip) in create_bbt()
525 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
597 struct nand_bbt_descr *td, in search_read_bbts()
598 struct nand_bbt_descr *md) in search_read_bbts()
619 struct nand_bbt_descr *td, struct nand_bbt_descr *md, in write_bbt()
821 static inline int nand_memory_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_memory_bbt()
839 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
843 struct nand_bbt_descr *td = this->bbt_td; in check_create()
844 struct nand_bbt_descr *md = this->bbt_md; in check_create()
845 struct nand_bbt_descr *rd, *rd2; in check_create()
964 static void mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) in mark_bbt_region()
1024 static void verify_bbt_descr(struct mtd_info *mtd, struct nand_bbt_descr *bd) in verify_bbt_descr()
1076 static int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_scan_bbt()
1081 struct nand_bbt_descr *td = this->bbt_td; in nand_scan_bbt()
1082 struct nand_bbt_descr *md = this->bbt_md; in nand_scan_bbt()
1155 struct nand_bbt_descr *td = this->bbt_td; in nand_update_bbt()
1156 struct nand_bbt_descr *md = this->bbt_md; in nand_update_bbt()
1207 static struct nand_bbt_descr bbt_main_descr = {
1217 static struct nand_bbt_descr bbt_mirror_descr = {
1227 static struct nand_bbt_descr bbt_main_no_oob_descr = {
1237 static struct nand_bbt_descr bbt_mirror_no_oob_descr = {
1259 struct nand_bbt_descr *bd; in nand_create_badblock_pattern()