Lines Matching refs:nand_bbt_descr
95 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob()
112 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
133 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
147 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len()
172 struct nand_bbt_descr *td, int offs) in read_bbt()
264 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
291 struct nand_bbt_descr *td) in scan_read_data()
345 size_t len, struct nand_bbt_descr *td) in scan_read()
369 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
389 struct nand_bbt_descr *td, struct nand_bbt_descr *md) in read_abs_bbts()
413 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
455 struct nand_bbt_descr *bd, int chip) in create_bbt()
524 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
596 struct nand_bbt_descr *td, in search_read_bbts()
597 struct nand_bbt_descr *md) in search_read_bbts()
618 struct nand_bbt_descr *td, struct nand_bbt_descr *md, in write_bbt()
820 static inline int nand_memory_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_memory_bbt()
838 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
842 struct nand_bbt_descr *td = this->bbt_td; in check_create()
843 struct nand_bbt_descr *md = this->bbt_md; in check_create()
844 struct nand_bbt_descr *rd, *rd2; in check_create()
963 static void mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) in mark_bbt_region()
1023 static void verify_bbt_descr(struct mtd_info *mtd, struct nand_bbt_descr *bd) in verify_bbt_descr()
1075 static int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_scan_bbt()
1080 struct nand_bbt_descr *td = this->bbt_td; in nand_scan_bbt()
1081 struct nand_bbt_descr *md = this->bbt_md; in nand_scan_bbt()
1154 struct nand_bbt_descr *td = this->bbt_td; in nand_update_bbt()
1155 struct nand_bbt_descr *md = this->bbt_md; in nand_update_bbt()
1206 static struct nand_bbt_descr bbt_main_descr = {
1216 static struct nand_bbt_descr bbt_mirror_descr = {
1226 static struct nand_bbt_descr bbt_main_no_oob_descr = {
1236 static struct nand_bbt_descr bbt_mirror_no_oob_descr = {
1258 struct nand_bbt_descr *bd; in nand_create_badblock_pattern()