Home
last modified time | relevance | path

Searched defs:mtd (Results 1 – 5 of 5) sorted by relevance

/include/linux/mtd/
Dnand_bch.h48 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc()
55 nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data()
62 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize, in nand_bch_init()
Dmtd.h49 struct mtd_info *mtd; member
259 static inline int mtd_read_oob(struct mtd_info *mtd, loff_t from, in mtd_read_oob()
268 static inline int mtd_write_oob(struct mtd_info *mtd, loff_t to, in mtd_write_oob()
294 static inline void mtd_sync(struct mtd_info *mtd) in mtd_sync()
306 static inline int mtd_suspend(struct mtd_info *mtd) in mtd_suspend()
311 static inline void mtd_resume(struct mtd_info *mtd) in mtd_resume()
317 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb()
325 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb()
332 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws()
340 static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_ws()
[all …]
Dblktrans.h36 struct mtd_info *mtd; member
Dsh_flctl.h132 struct mtd_info mtd; member
Dnand.h669 struct platform_nand_chip *get_platform_nandchip(struct mtd_info *mtd) in get_platform_nandchip()