Home
last modified time | relevance | path

Searched refs:mtd_io_desc (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/
A Dmtd.h96 struct mtd_io_desc struct
112 int(*read) (aos_mtd_t *mtd, off_t from, struct mtd_io_desc *ops); /* return 0 if success */ argument
113 int(*write) (aos_mtd_t *mtd, off_t to, struct mtd_io_desc *ops); /* return 0 if success */
174 ssize_t aos_mtd_oob_read(aos_mtd_t *mtd, off_t offset, struct mtd_io_desc *info);
197 ssize_t aos_mtd_oob_write(aos_mtd_t *mtd, off_t offset, struct mtd_io_desc *info);
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtdnor.c15 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.c16 static uint8_t *nand_fill_oob(aos_nand_t *chip, uint8_t *oob, size_t len, struct mtd_io_desc *desc) in nand_fill_oob()
46 static uint8_t *nand_transfer_oob(aos_nand_t *chip, uint8_t *oob, struct mtd_io_desc *desc, size_t … in nand_transfer_oob()
196 static int nand_do_read_desc(aos_nand_t *chip, off_t from, struct mtd_io_desc *desc) in nand_do_read_desc()
292 static int nand_do_write_desc(aos_nand_t *chip, off_t to, struct mtd_io_desc *desc) in nand_do_write_desc()
385 static int nand_only_read_oob(aos_nand_t *chip, off_t from, struct mtd_io_desc *desc) in nand_only_read_oob()
428 static int nand_only_write_oob(aos_nand_t *chip, off_t to, struct mtd_io_desc *desc) in nand_only_write_oob()
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()
A Dmtd.c315 struct mtd_io_desc info = {0}; 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()
348 struct mtd_io_desc info = {0}; in aos_mtd_write()
364 ssize_t aos_mtd_oob_write(aos_mtd_t *mtd, off_t offset, struct mtd_io_desc *info) in aos_mtd_oob_write()

Completed in 6 milliseconds