Lines Matching defs:mtd
42 struct mtd_info mtd; member
84 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read()
104 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point()
113 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint()
121 static unsigned long part_get_unmapped_area(struct mtd_info *mtd, in part_get_unmapped_area()
133 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob()
171 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg()
179 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info()
187 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg()
195 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info()
203 static int part_write(struct mtd_info *mtd, loff_t to, size_t len, in part_write()
211 static int part_panic_write(struct mtd_info *mtd, loff_t to, size_t len, in part_panic_write()
219 static int part_write_oob(struct mtd_info *mtd, loff_t to, in part_write_oob()
231 static int part_write_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_write_user_prot_reg()
239 static int part_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_lock_user_prot_reg()
247 static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, in part_writev()
256 static int part_erase(struct mtd_info *mtd, struct erase_info *instr) in part_erase()
285 static int part_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_lock()
291 static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_unlock()
297 static int part_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in part_is_locked()
303 static void part_sync(struct mtd_info *mtd) in part_sync()
310 static int part_suspend(struct mtd_info *mtd) in part_suspend()
316 static void part_resume(struct mtd_info *mtd) in part_resume()
323 static int part_block_isreserved(struct mtd_info *mtd, loff_t ofs) in part_block_isreserved()
330 static int part_block_isbad(struct mtd_info *mtd, loff_t ofs) in part_block_isbad()
337 static int part_block_markbad(struct mtd_info *mtd, loff_t ofs) in part_block_markbad()
809 int mtd_is_partition(const struct mtd_info *mtd) in mtd_is_partition()
827 uint64_t mtd_get_device_size(const struct mtd_info *mtd) in mtd_get_device_size()