Lines Matching refs:ubi

11 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len);
48 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset,
52 int ubi_debugfs_init_dev(struct ubi_device *ubi);
53 void ubi_debugfs_exit_dev(struct ubi_device *ubi);
62 static inline int ubi_dbg_is_bgt_disabled(const struct ubi_device *ubi) in ubi_dbg_is_bgt_disabled() argument
64 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled()
73 static inline int ubi_dbg_is_bitflip(const struct ubi_device *ubi) in ubi_dbg_is_bitflip() argument
75 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip()
87 static inline int ubi_dbg_is_write_failure(const struct ubi_device *ubi) in ubi_dbg_is_write_failure() argument
89 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure()
101 static inline int ubi_dbg_is_erase_failure(const struct ubi_device *ubi) in ubi_dbg_is_erase_failure() argument
103 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure()
108 static inline int ubi_dbg_chk_io(const struct ubi_device *ubi) in ubi_dbg_chk_io() argument
110 return ubi->dbg.chk_io; in ubi_dbg_chk_io()
113 static inline int ubi_dbg_chk_gen(const struct ubi_device *ubi) in ubi_dbg_chk_gen() argument
115 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen()
118 static inline int ubi_dbg_chk_fastmap(const struct ubi_device *ubi) in ubi_dbg_chk_fastmap() argument
120 return ubi->dbg.chk_fastmap; in ubi_dbg_chk_fastmap()
123 static inline void ubi_enable_dbg_chk_fastmap(struct ubi_device *ubi) in ubi_enable_dbg_chk_fastmap() argument
125 ubi->dbg.chk_fastmap = 1; in ubi_enable_dbg_chk_fastmap()
128 int ubi_dbg_power_cut(struct ubi_device *ubi, int caller);