Home
last modified time | relevance | path

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

/drivers/mtd/
Dftl.c424 ret = mtd_write(part->mbd.mtd, xfer->Offset, sizeof(header), &retlen, in prepare_xfer()
440 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in prepare_xfer()
505 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint16_t), &retlen, in copy_erase_unit()
533 ret = mtd_write(part->mbd.mtd, dest, SECTOR_SIZE, &retlen, in copy_erase_unit()
552 ret = mtd_write(part->mbd.mtd, in copy_erase_unit()
564 ret = mtd_write(part->mbd.mtd, xfer->Offset + 20, sizeof(uint16_t), in copy_erase_unit()
890 ret = mtd_write(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in set_bam_entry()
950 ret = mtd_write(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, buffer); in ftl_write()
Dmtdblock_ro.c44 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_writesect()
Dmtdblock.c104 ret = mtd_write(mtd, pos, len, &retlen, buf); in erase_write()
154 return mtd_write(mtd, pos, len, &retlen, buf); in do_cached_write()
Drfd_ftl.c307 rc = mtd_write(part->mbd.mtd, part->blocks[i].offset, sizeof(magic), in erase_callback()
596 rc = mtd_write(part->mbd.mtd, addr, sizeof(del), &retlen, in mark_sector_deleted()
668 rc = mtd_write(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in do_writesect()
687 rc = mtd_write(part->mbd.mtd, addr, sizeof(entry), &retlen, in do_writesect()
Dmtdcore.c936 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() function
948 EXPORT_SYMBOL_GPL(mtd_write);
1167 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev()
Dmtdoops.c230 ret = mtd_write(mtd, cxt->nextpage * record_size, in mtdoops_write()
Dmtdconcat.c141 err = mtd_write(subdev, to, size, &retsize, buf); in concat_write()
Dmtdchar.c299 ret = mtd_write(mtd, *ppos, len, &retlen, kbuf); in mtdchar_write()
Dmtdswap.c692 ret = mtd_write(mtd, writepos, PAGE_SIZE, &retlen, buf); in mtdswap_write_block()
/drivers/mtd/tests/
Dsubpagetest.c63 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
77 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
101 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); in write_eraseblock2()
Dmtd_test.c106 err = mtd_write(mtd, addr, size, &written, buf); in mtdtest_write()
Dtorturetest.c166 err = mtd_write(mtd, addr, len, &written, buf); in write_pattern()
/drivers/net/ethernet/sfc/
Dmtd.c83 part->mtd._write = efx->type->mtd_write; in efx_mtd_add()
Dnet_driver.h1321 int (*mtd_write)(struct mtd_info *mtd, loff_t start, size_t len, member
Dsiena.c1005 .mtd_write = efx_mcdi_mtd_write,
Dfalcon.c2782 .mtd_write = falcon_mtd_write,
2885 .mtd_write = falcon_mtd_write,
Def10.c4859 .mtd_write = efx_mcdi_mtd_write,
/drivers/mtd/ubi/
Dio.c284 err = mtd_write(ubi->mtd, addr, len, &written, buf); in ubi_io_write()
526 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare()
535 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare()
/drivers/mtd/chips/
Dcfi_cmdset_0020.c693 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev()
703 ret = mtd_write(mtd, to, ECCBUF_DIV(elem_len), in cfi_staa_writev()
718 ret = mtd_write(mtd, to, buflen, &thislen, buffer); in cfi_staa_writev()