• Home
  • Raw
  • Download

Lines Matching defs:mtd

169 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num,  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()
288 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
312 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
342 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
352 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt()
367 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
386 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
411 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
452 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt()
522 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
593 static void search_read_bbts(struct mtd_info *mtd, uint8_t *buf, in search_read_bbts()
615 static int write_bbt(struct mtd_info *mtd, uint8_t *buf, 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()
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()
1146 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs) in nand_update_bbt()
1280 int nand_default_bbt(struct mtd_info *mtd) in nand_default_bbt()
1316 int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs) in nand_isreserved_bbt()
1331 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in nand_isbad_bbt()
1358 int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs) in nand_markbad_bbt()