Lines Matching refs:mtd_part

34 struct mtd_part {  struct
45 static inline struct mtd_part *mtd_to_part(const struct mtd_info *mtd) in mtd_to_part()
47 return container_of(mtd, struct mtd_part, mtd); in mtd_to_part()
52 struct mtd_part *part = mtd_to_part(mtd); in part_absolute_offset()
68 struct mtd_part *part = mtd_to_part(mtd); in part_read()
87 struct mtd_part *part = mtd_to_part(mtd); in part_point()
95 struct mtd_part *part = mtd_to_part(mtd); in part_unpoint()
103 struct mtd_part *part = mtd_to_part(mtd); in part_read_oob()
121 struct mtd_part *part = mtd_to_part(mtd); in part_read_user_prot_reg()
129 struct mtd_part *part = mtd_to_part(mtd); in part_get_user_prot_info()
137 struct mtd_part *part = mtd_to_part(mtd); in part_read_fact_prot_reg()
145 struct mtd_part *part = mtd_to_part(mtd); in part_get_fact_prot_info()
153 struct mtd_part *part = mtd_to_part(mtd); in part_write()
161 struct mtd_part *part = mtd_to_part(mtd); in part_panic_write()
169 struct mtd_part *part = mtd_to_part(mtd); in part_write_oob()
177 struct mtd_part *part = mtd_to_part(mtd); in part_write_user_prot_reg()
185 struct mtd_part *part = mtd_to_part(mtd); in part_lock_user_prot_reg()
192 struct mtd_part *part = mtd_to_part(mtd); in part_writev()
199 struct mtd_part *part = mtd_to_part(mtd); in part_erase()
213 struct mtd_part *part = mtd_to_part(mtd); in part_lock()
219 struct mtd_part *part = mtd_to_part(mtd); in part_unlock()
225 struct mtd_part *part = mtd_to_part(mtd); in part_is_locked()
231 struct mtd_part *part = mtd_to_part(mtd); in part_sync()
237 struct mtd_part *part = mtd_to_part(mtd); in part_suspend()
243 struct mtd_part *part = mtd_to_part(mtd); in part_resume()
249 struct mtd_part *part = mtd_to_part(mtd); in part_block_isreserved()
256 struct mtd_part *part = mtd_to_part(mtd); in part_block_isbad()
263 struct mtd_part *part = mtd_to_part(mtd); in part_block_markbad()
275 struct mtd_part *part = mtd_to_part(mtd); in part_get_device()
281 struct mtd_part *part = mtd_to_part(mtd); in part_put_device()
288 struct mtd_part *part = mtd_to_part(mtd); in part_ooblayout_ecc()
296 struct mtd_part *part = mtd_to_part(mtd); in part_ooblayout_free()
308 struct mtd_part *part = mtd_to_part(mtd); in part_max_bad_blocks()
314 static inline void free_partition(struct mtd_part *p) in free_partition()
320 static struct mtd_part *allocate_partition(struct mtd_info *parent, in allocate_partition()
326 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()
637 static int __mtd_del_partition(struct mtd_part *priv) in __mtd_del_partition()
639 struct mtd_part *child, *next; in __mtd_del_partition()
668 struct mtd_part *slave, *next; in del_mtd_partitions()
685 struct mtd_part *slave, *next; in mtd_del_partition()
714 struct mtd_part *slave; in add_mtd_partitions()
1028 struct mtd_part *part; in mtd_is_partition()