• Home
  • Raw
  • Download

Lines Matching defs:mtd

362 static inline void mtd_set_ooblayout(struct mtd_info *mtd,  in mtd_set_ooblayout()
368 static inline void mtd_set_pairing_scheme(struct mtd_info *mtd, in mtd_set_pairing_scheme()
374 static inline void mtd_set_of_node(struct mtd_info *mtd, in mtd_set_of_node()
382 static inline struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node()
387 static inline u32 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) in mtd_oobavail()
392 static inline int mtd_max_bad_blocks(struct mtd_info *mtd, in mtd_max_bad_blocks()
440 static inline void mtd_sync(struct mtd_info *mtd) in mtd_sync()
453 static inline int mtd_suspend(struct mtd_info *mtd) in mtd_suspend()
458 static inline void mtd_resume(struct mtd_info *mtd) in mtd_resume()
464 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb()
472 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb()
488 static inline void mtd_align_erase_req(struct mtd_info *mtd, in mtd_align_erase_req()
507 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws()
515 static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_ws()
522 static inline int mtd_wunit_per_eb(struct mtd_info *mtd) in mtd_wunit_per_eb()
527 static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs) in mtd_offset_to_wunit()
532 static inline loff_t mtd_wunit_to_offset(struct mtd_info *mtd, loff_t base, in mtd_wunit_to_offset()
539 static inline int mtd_has_oob(const struct mtd_info *mtd) in mtd_has_oob()
544 static inline int mtd_type_is_nand(const struct mtd_info *mtd) in mtd_type_is_nand()
549 static inline int mtd_can_have_bb(const struct mtd_info *mtd) in mtd_can_have_bb()