/openbmc/linux/drivers/mtd/ |
H A D | ftl.c | 389 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()
|
H A D | mtdblock_ro.c | 32 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_writesect()
|
H A D | mtdblock.c | 69 ret = mtd_write(mtd, pos, len, &retlen, buf); in erase_write() 122 return mtd_write(mtd, pos, len, &retlen, buf); in do_cached_write()
|
H A D | rfd_ftl.c | 300 rc = mtd_write(part->mbd.mtd, part->blocks[block].offset, in erase_block() 558 rc = mtd_write(part->mbd.mtd, addr, sizeof(del), &retlen, in mark_sector_deleted() 630 rc = mtd_write(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in do_writesect() 649 rc = mtd_write(part->mbd.mtd, addr, sizeof(entry), &retlen, in do_writesect()
|
H A D | mtdpstore.c | 289 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()
|
H A D | mtdoops.c | 223 ret = mtd_write(mtd, cxt->nextpage * record_size, in mtdoops_write()
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | subpagetest.c | 50 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()
|
H A D | mtd_test.c | 106 err = mtd_write(mtd, addr, size, &written, buf); in mtdtest_write()
|
H A D | torturetest.c | 154 err = mtd_write(mtd, addr, len, &written, buf); in write_pattern()
|
/openbmc/linux/fs/jffs2/ |
H A D | writev.c | 36 ret = mtd_write(c->mtd, ofs, len, retlen, buf); in jffs2_flash_direct_write()
|
H A D | wbuf.c | 425 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()
|
/openbmc/hiomapd/mtd/ |
H A D | backend.c | 302 static int mtd_write(struct backend *backend, uint32_t offset, void *buf, in mtd_write() function 354 .write = mtd_write,
|
/openbmc/u-boot/env/ |
H A D | onenand.c | 99 if (mtd_write(mtd, env_addr, ONENAND_MAX_ENV_SIZE, &retlen, in env_onenand_save()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | mtd.c | 71 part->mtd._write = efx->type->mtd_write; in ef4_mtd_add()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mtd.c | 74 part->mtd._write = efx->type->mtd_write; in efx_siena_mtd_add()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mtd.c | 74 part->mtd._write = efx->type->mtd_write; in efx_mtd_add()
|
/openbmc/u-boot/include/ |
H A D | nand.h | 56 return mtd_write(info, ofs, *len, (size_t *)len, buf); in nand_write()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 73 retval = mtd_write(mtd, addr, dev->data_bytes_per_chunk, in nandmtd_WriteChunkToNAND()
|
/openbmc/u-boot/cmd/ |
H A D | onenand.c | 167 ret = mtd_write(mtd, ofs, blocksize, &_retlen, buf); in onenand_block_write() 278 ret = mtd_write(mtd, ofs, blocksize, &retlen, buf); in onenand_block_test()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | obmc-flash-bmc | 400 function mtd_write() { 680 mtd_write
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | io.c | 271 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()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | io.c | 277 err = mtd_write(ubi->mtd, addr, len, &written, buf); in ubi_io_write() 519 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare() 528 err = mtd_write(ubi->mtd, addr, 4, &written, (void *)&data); in nor_erase_prepare()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdcore.c | 985 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() function 1011 EXPORT_SYMBOL_GPL(mtd_write); 1662 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 695 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen, in cfi_staa_writev() 705 ret = mtd_write(mtd, to, ECCBUF_DIV(elem_len), in cfi_staa_writev() 720 ret = mtd_write(mtd, to, buflen, &thislen, buffer); in cfi_staa_writev()
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 7 Fix warnings abot PRIdoff_t in libmtd.c, in mtd_read (and mtd_write): 146 @@ -1188,8 +1188,8 @@ int mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb,
|