Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dmtdnor.c21 ret = csi_spiflash_read(NULL, from, desc->datbuf, desc->datlen); in _nor_read()
35 ret = csi_spiflash_program(NULL, to, desc->datbuf, desc->datlen); in _nor_write()
A Dmtdnand.c201 uint32_t readlen = desc->datlen; in nand_do_read_desc()
215 if (NOTALIGNED(desc->datlen) && !chip->pagebuf) in nand_do_read_desc()
281 desc->datretlen = desc->datlen - (size_t)readlen; in nand_do_read_desc()
295 uint16_t writelen = desc->datlen; in nand_do_write_desc()
323 if (NOTALIGNED(desc->datlen) && !chip->pagebuf) in nand_do_write_desc()
365 desc->datretlen = desc->datlen - writelen; in nand_do_write_desc()
503 if (!desc->datbuf || !desc->datlen) in nand_read()
531 if (!desc->datbuf || !desc->datlen) in nand_write()
A Dmtd.c323 info.datlen = size; in aos_mtd_read()
340 if (info->datbuf && (info->datlen > (mtd->size - offset))) in aos_mtd_oob_read()
359 info.datlen = size; in aos_mtd_write()
381 if (info->datbuf && (info->datlen > (mtd->size - offset))) { in aos_mtd_oob_write()
/AliOS-Things-master/components/drivers/peripheral/flash/include/aos/
A Dmtd.h104 size_t datlen; /* number of data bytes to write/read */ member

Completed in 6 milliseconds