• Home
  • Raw
  • Download

Lines Matching refs:mtd_info

42 	struct mtd_info mtd;
43 struct mtd_info *master;
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()
360 int del_mtd_partitions(struct mtd_info *master) in del_mtd_partitions()
381 static struct mtd_part *allocate_partition(struct mtd_info *master, in allocate_partition()
585 int mtd_add_partition(struct mtd_info *master, const char *name, in mtd_add_partition()
642 int mtd_del_partition(struct mtd_info *master, int partno) in mtd_del_partition()
675 int add_mtd_partitions(struct mtd_info *master, in add_mtd_partitions()
781 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions()
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()