Home
last modified time | relevance | path

Searched refs:mtd_write (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.10/drivers/mtd/
Dftl.c389 ret = mtd_write(part->mbd.mtd, xfer->Offset, sizeof(header), &retlen, in prepare_xfer()
405 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in prepare_xfer()
470 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint16_t), &retlen, in copy_erase_unit()
498 ret = mtd_write(part->mbd.mtd, dest, SECTOR_SIZE, &retlen, in copy_erase_unit()
517 ret = mtd_write(part->mbd.mtd, in copy_erase_unit()
529 ret = mtd_write(part->mbd.mtd, xfer->Offset + 20, sizeof(uint16_t), in copy_erase_unit()
851 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in set_bam_entry()
911 ret = mtd_write(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, buffer); in ftl_write()
Dmtdblock_ro.c30 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_writesect()
Dmtdblock.c69 ret = mtd_write(mtd, pos, len, &retlen, buf); in erase_write()
122 return mtd_write(mtd, pos, len, &retlen, buf); in do_cached_write()
Drfd_ftl.c303 rc = mtd_write(part->mbd.mtd, part->blocks[block].offset, in erase_block()
561 rc = mtd_write(part->mbd.mtd, addr, sizeof(del), &retlen, in mark_sector_deleted()
633 rc = mtd_write(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in do_writesect()
652 rc = mtd_write(part->mbd.mtd, addr, sizeof(entry), &retlen, in do_writesect()
Dmtdpstore.c289 ret = mtd_write(cxt->mtd, off, size, &retlen, (u_char *)buf); in mtdpstore_write()
475 ret = mtd_write(mtd, off, zonesize, &retlen, buf); in mtdpstore_flush_removed_do()
Dmtdoops.c196 ret = mtd_write(mtd, cxt->nextpage * record_size, in mtdoops_write()
Dmtdcore.c1219 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() function
1233 EXPORT_SYMBOL_GPL(mtd_write);
2059 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev()
Dmtdconcat.c168 err = mtd_write(subdev, to, size, &retsize, buf); in concat_write()
Dmtdchar.c285 ret = mtd_write(mtd, *ppos, len, &retlen, kbuf); in mtdchar_write()
Dmtdswap.c643 ret = mtd_write(mtd, writepos, PAGE_SIZE, &retlen, buf); in mtdswap_write_block()
/Linux-v5.10/drivers/mtd/tests/
Dsubpagetest.c50 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
64 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
88 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); in write_eraseblock2()
Dmtd_test.c102 err = mtd_write(mtd, addr, size, &written, buf); in mtdtest_write()
Dtorturetest.c154 err = mtd_write(mtd, addr, len, &written, buf); in write_pattern()
/Linux-v5.10/fs/jffs2/
Dwritev.c36 ret = mtd_write(c->mtd, ofs, len, retlen, buf); in jffs2_flash_direct_write()
Dwbuf.c425 mtd_write(c->mtd, ofs, towrite, &retlen, brokenbuf); in jffs2_wbuf_recover()
429 ret = mtd_write(c->mtd, ofs, towrite, &retlen, in jffs2_wbuf_recover()
632 mtd_write(c->mtd, c->wbuf_ofs, c->wbuf_pagesize, &retlen, in __jffs2_flush_wbuf()
638 ret = mtd_write(c->mtd, c->wbuf_ofs, c->wbuf_pagesize, in __jffs2_flush_wbuf()
876 ret = mtd_write(c->mtd, outvec_to, PAGE_DIV(vlen), in jffs2_flash_writev()
/Linux-v5.10/drivers/net/ethernet/sfc/
Dmtd.c74 part->mtd._write = efx->type->mtd_write; in efx_mtd_add()
Dnet_driver.h1414 int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len, member
Dsiena.c1055 .mtd_write = efx_mcdi_mtd_write,
Def10.c4180 .mtd_write = efx_mcdi_mtd_write,
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dmtd.c71 part->mtd._write = efx->type->mtd_write; in ef4_mtd_add()
Dnet_driver.h1134 int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len, member
Dfalcon.c2787 .mtd_write = falcon_mtd_write,
2884 .mtd_write = falcon_mtd_write,
/Linux-v5.10/drivers/mtd/ubi/
Dio.c271 err = mtd_write(ubi->mtd, addr, len, &written, buf); in ubi_io_write()
478 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare()
490 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare()
/Linux-v5.10/drivers/mtd/chips/
Dcfi_cmdset_0020.c694 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev()
704 ret = mtd_write(mtd, to, ECCBUF_DIV(elem_len), in cfi_staa_writev()
719 ret = mtd_write(mtd, to, buflen, &thislen, buffer); in cfi_staa_writev()
/Linux-v5.10/include/linux/mtd/
Dmtd.h501 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,