Home
last modified time | relevance | path

Searched refs:mtd_info (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/khdf/liteos/model/storage/include/mtd/
Dmtd_legacy_lite.h51 struct mtd_info *mtd;
54 typedef struct mtd_info { struct
63 int (*erase)(struct mtd_info *mtd, struct erase_info *instr); argument
64 int (*read)(struct mtd_info *mtd, off_t from, size_t len, size_t *retlen, char *buf); argument
65 int (*write)(struct mtd_info *mtd, off_t to, size_t len, size_t *retlen, const char *buf); argument
66 int (*read_oob)(struct mtd_info *mtd, off_t from, size_t len, size_t *retlen, char *buf); argument
67 int (*write_oob)(struct mtd_info *mtd, off_t to, size_t len, size_t *retlen, const char *buf); argument
68 int (*block_isbad)(struct mtd_info *mtd, off_t ofs); argument
69 int (*block_markbad)(struct mtd_info *mtd, off_t ofs); argument
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/
Dmtd_char_lite.c123 struct MtdDev *mtdDev = (struct MtdDev *)(partition->mtd_info); in MtdCharRead()
183 struct MtdDev *mtdDev = (struct MtdDev *)(partition->mtd_info); in MtdCharWrite()
243 struct MtdDev *mtdDev = (struct MtdDev *)(partition->mtd_info); in MtdCharLseek()
374 struct MtdDev *mtdDev = (struct MtdDev *)(partition->mtd_info); in MtdCharIoctl()