Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtd.c19 aos_mtd_t *mtd; member
106 aos_mtd_t *mtd; in aos_mtd_get_by_device() local
178 aos_mtd_t *mtd = (aos_mtd_t *)dev; in mtd_ioctl() local
308 aos_status_t aos_mtd_close(aos_mtd_t *mtd) in aos_mtd_close()
313 ssize_t aos_mtd_read(aos_mtd_t *mtd, off_t offset, void *buf, size_t size) in aos_mtd_read()
328 ssize_t aos_mtd_oob_read(aos_mtd_t *mtd, off_t offset, struct mtd_io_desc *info) in aos_mtd_oob_read()
346 ssize_t aos_mtd_write(aos_mtd_t *mtd, off_t offset, const void *buf, size_t size) in aos_mtd_write()
388 aos_status_t aos_mtd_erase(aos_mtd_t *mtd, off_t offset, size_t size) in aos_mtd_erase()
406 aos_status_t aos_mtd_block_erase(aos_mtd_t *mtd, uint32_t block) in aos_mtd_block_erase()
428 aos_status_t aos_mtd_block_mark_bad(aos_mtd_t *mtd, uint32_t block) in aos_mtd_block_mark_bad()
[all …]
A Dmtdnor.c8 static int _nor_erase(aos_mtd_t *mtd, off_t addr, size_t len) in _nor_erase()
15 static int _nor_read(aos_mtd_t *mtd, off_t from, struct mtd_io_desc *desc) in _nor_read()
29 static int _nor_write(aos_mtd_t *mtd, off_t to, struct mtd_io_desc *desc) in _nor_write()
A Dmtdnand.c460 static int nand_erase(aos_mtd_t *mtd, off_t addr, size_t size) in nand_erase()
485 static int nand_read(aos_mtd_t *mtd, off_t from, struct mtd_io_desc *desc) in nand_read()
513 static int nand_write(aos_mtd_t *mtd, off_t to, struct mtd_io_desc *desc) in nand_write()
541 static int nand_block_isbad(aos_mtd_t *mtd, uint32_t blk) in nand_block_isbad()
562 static int nand_block_markbad(aos_mtd_t *mtd, uint32_t blk) in nand_block_markbad()
/AliOS-Things-master/components/drivers/peripheral/flash/example/
A Dmtd_example.c14 aos_mtd_t *mtd; in mtd_unit_test() local
/AliOS-Things-master/components/littlefs/src/
A Dlittlefs_vfs.c174 aos_mtd_t *mtd = c->context; in littlefs_mtd_get_block_cnt() local
195 aos_mtd_t *mtd = c->context; in littlefs_mtd_get_read_size() local
216 aos_mtd_t *mtd = c->context; in littlefs_mtd_get_prog_size() local
237 aos_mtd_t *mtd = c->context; in littlefs_mtd_get_block_size() local
275 aos_mtd_t *mtd = c->context; in littlefs_block_read() local
316 aos_mtd_t *mtd = c->context; in littlefs_block_write() local
357 aos_mtd_t *mtd = c->context; in littlefs_block_erase() local

Completed in 17 milliseconds