Lines Matching defs:mtd

177 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num,  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()
291 static int scan_read_raw_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_raw_data()
305 static int scan_read_raw_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_raw_oob()
331 static int scan_read_raw(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_raw()
341 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt()
356 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
375 static int read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
401 static int scan_block_full(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_full()
420 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
461 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt()
554 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
628 static int search_read_bbts(struct mtd_info *mtd, uint8_t * buf, struct nand_bbt_descr *td, struct … in search_read_bbts()
651 static int write_bbt(struct mtd_info *mtd, uint8_t *buf, in write_bbt()
863 static inline int nand_memory_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_memory_bbt()
882 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
1007 static void mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) in mark_bbt_region()
1068 static void verify_bbt_descr(struct mtd_info *mtd, struct nand_bbt_descr *bd) in verify_bbt_descr()
1120 int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in nand_scan_bbt()
1189 int nand_update_bbt(struct mtd_info *mtd, loff_t offs) in nand_update_bbt()
1332 int nand_default_bbt(struct mtd_info *mtd) in nand_default_bbt()
1381 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in nand_isbad_bbt()