Lines Matching refs:mtd_part

48 struct mtd_part {  struct
59 static inline struct mtd_part *mtd_to_part(const struct mtd_info *mtd) in mtd_to_part()
61 return container_of(mtd, struct mtd_part, mtd); in mtd_to_part()
73 struct mtd_part *part = mtd_to_part(mtd); in part_read()
92 struct mtd_part *part = mtd_to_part(mtd); in part_point()
100 struct mtd_part *part = mtd_to_part(mtd); in part_unpoint()
108 struct mtd_part *part = mtd_to_part(mtd); in part_read_oob()
126 struct mtd_part *part = mtd_to_part(mtd); in part_read_user_prot_reg()
134 struct mtd_part *part = mtd_to_part(mtd); in part_get_user_prot_info()
142 struct mtd_part *part = mtd_to_part(mtd); in part_read_fact_prot_reg()
150 struct mtd_part *part = mtd_to_part(mtd); in part_get_fact_prot_info()
158 struct mtd_part *part = mtd_to_part(mtd); in part_write()
166 struct mtd_part *part = mtd_to_part(mtd); in part_panic_write()
174 struct mtd_part *part = mtd_to_part(mtd); in part_write_oob()
182 struct mtd_part *part = mtd_to_part(mtd); in part_write_user_prot_reg()
190 struct mtd_part *part = mtd_to_part(mtd); in part_lock_user_prot_reg()
197 struct mtd_part *part = mtd_to_part(mtd); in part_writev()
204 struct mtd_part *part = mtd_to_part(mtd); in part_erase()
218 struct mtd_part *part = mtd_to_part(mtd); in part_lock()
224 struct mtd_part *part = mtd_to_part(mtd); in part_unlock()
230 struct mtd_part *part = mtd_to_part(mtd); in part_is_locked()
236 struct mtd_part *part = mtd_to_part(mtd); in part_sync()
242 struct mtd_part *part = mtd_to_part(mtd); in part_suspend()
248 struct mtd_part *part = mtd_to_part(mtd); in part_resume()
254 struct mtd_part *part = mtd_to_part(mtd); in part_block_isreserved()
261 struct mtd_part *part = mtd_to_part(mtd); in part_block_isbad()
268 struct mtd_part *part = mtd_to_part(mtd); in part_block_markbad()
280 struct mtd_part *part = mtd_to_part(mtd); in part_get_device()
286 struct mtd_part *part = mtd_to_part(mtd); in part_put_device()
293 struct mtd_part *part = mtd_to_part(mtd); in part_ooblayout_ecc()
301 struct mtd_part *part = mtd_to_part(mtd); in part_ooblayout_free()
313 struct mtd_part *part = mtd_to_part(mtd); in part_max_bad_blocks()
319 static inline void free_partition(struct mtd_part *p) in free_partition()
325 static struct mtd_part *allocate_partition(struct mtd_info *parent, in allocate_partition()
331 struct mtd_part *slave; in allocate_partition()
560 struct mtd_part *part = mtd_to_part(mtd); in mtd_partition_offset_show()
571 static int mtd_add_partition_attrs(struct mtd_part *new) in mtd_add_partition_attrs()
584 struct mtd_part *new; in mtd_add_partition()
626 static int __mtd_del_partition(struct mtd_part *priv) in __mtd_del_partition()
628 struct mtd_part *child, *next; in __mtd_del_partition()
657 struct mtd_part *slave, *next; in del_mtd_partitions()
674 struct mtd_part *slave, *next; in mtd_del_partition()
703 struct mtd_part *slave; in add_mtd_partitions()
1003 struct mtd_part *part; in mtd_is_partition()