Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/mtd/tests/
H A Doobtest.c71 ops.datbuf = NULL; in write_eraseblock()
181 ops.datbuf = NULL; in verify_eraseblock()
218 ops.datbuf = NULL; in verify_eraseblock()
278 ops.datbuf = NULL; in verify_eraseblock_in_one_go()
502 ops.datbuf = NULL; in mtd_oobtest_init()
521 ops.datbuf = NULL; in mtd_oobtest_init()
547 ops.datbuf = NULL; in mtd_oobtest_init()
566 ops.datbuf = NULL; in mtd_oobtest_init()
592 ops.datbuf = NULL; in mtd_oobtest_init()
611 ops.datbuf = NULL; in mtd_oobtest_init()
[all …]
H A Dreadtest.c58 ops.datbuf = NULL; in read_eraseblock_by_page()
H A Dnandbiterrs.c113 ops.datbuf = wbuffer; in rewrite_page()
/openbmc/u-boot/cmd/
H A Donenand.c90 ops.datbuf = buf; in onenand_block_read()
118 ops.datbuf = (u_char *)buf; in onenand_write_oneblock_withoob()
308 u_char *datbuf, *oobbuf, *p; in onenand_dump() local
312 datbuf = malloc(mtd->writesize + mtd->oobsize); in onenand_dump()
314 if (!datbuf || !oobbuf) { in onenand_dump()
321 ops.datbuf = datbuf; in onenand_dump()
329 free(datbuf); in onenand_dump()
335 p = datbuf; in onenand_dump()
355 free(datbuf); in onenand_dump()
H A Dnand.c45 u_char *datbuf, *oobbuf, *p; in nand_dump() local
54 datbuf = memalign(ARCH_DMA_MINALIGN, mtd->writesize); in nand_dump()
55 if (!datbuf) { in nand_dump()
70 ops.datbuf = datbuf; in nand_dump()
85 p = datbuf; in nand_dump()
109 free(datbuf); in nand_dump()
246 ops.datbuf = NULL; in do_nand_env_oob()
321 .datbuf = (u8 *)addr, in raw_access()
H A Dmtd.c186 if (op->datbuf[i] != 0xff) in mtd_oob_write_is_empty()
326 io_op.datbuf = buf; in do_mtd_io()
357 io_op.datbuf += io_op.retlen; in do_mtd_io()
/openbmc/linux/drivers/mtd/
H A Dmtdchar.c172 ops.datbuf = kbuf; in mtdchar_read()
266 ops.datbuf = kbuf; in mtdchar_write()
358 ops.datbuf = NULL; in mtdchar_writeoob()
395 ops.datbuf = NULL; in mtdchar_readoob()
599 uint8_t *datbuf = NULL, *oobbuf = NULL; in mtdchar_write_ioctl() local
626 datbuf = kvmalloc(datbuf_len, GFP_KERNEL); in mtdchar_write_ioctl()
627 if (!datbuf) in mtdchar_write_ioctl()
635 kvfree(datbuf); in mtdchar_write_ioctl()
645 .datbuf = datbuf, in mtdchar_write_ioctl()
667 if (copy_from_user(datbuf, usr_data, ops.len) || in mtdchar_write_ioctl()
[all …]
H A Dmtdconcat.c298 if (devops.datbuf) { in concat_read_oob()
302 devops.datbuf += devops.retlen; in concat_read_oob()
346 if (devops.datbuf) { in concat_write_oob()
350 devops.datbuf += devops.retlen; in concat_write_oob()
H A Dnftlcore.c134 ops.datbuf = NULL; in nftl_read_oob()
155 ops.datbuf = NULL; in nftl_write_oob()
178 ops.datbuf = buf; in nftl_write()
H A Dinftlcore.c146 ops.datbuf = NULL; in inftl_read_oob()
166 ops.datbuf = NULL; in inftl_write_oob()
186 ops.datbuf = buf; in inftl_write()
H A Dmtdcore.c1505 .datbuf = buf, in mtd_read()
1521 .datbuf = (u8 *)buf, in mtd_write()
1569 if (!ops->datbuf) in mtd_check_oob_ops()
1605 ops->datbuf); in mtd_read_oob_std()
1621 ops->datbuf); in mtd_write_oob_std()
1679 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()
H A Dssfdc.c173 ops.datbuf = NULL; in read_raw_oob()
H A Dmtdswap.c337 ops.datbuf = NULL; in mtdswap_read_markers()
378 ops.datbuf = NULL; in mtdswap_write_marker()
888 ops.datbuf = d->page_buf; in mtdswap_eblk_passes()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c143 ops.datbuf = NULL; in nand_erase_opts()
486 vops.datbuf = memalign(ARCH_DMA_MINALIGN, verlen); in nand_verify_page_oob()
488 if (!vops.datbuf) in nand_verify_page_oob()
491 vops.oobbuf = vops.datbuf + mtd->writesize; in nand_verify_page_oob()
495 rval = memcmp(ops->datbuf, vops.datbuf, vops.len); in nand_verify_page_oob()
499 free(vops.datbuf); in nand_verify_page_oob()
H A Dnand_bbt.c323 ops.datbuf = buf; in scan_read_oob()
360 ops.datbuf = buf; in scan_write_bbt()
420 ops.datbuf = NULL; in scan_block_fast()
632 ops.datbuf = NULL; in write_bbt()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_mtdif.c85 ops.datbuf = (u8 *)data; in nandmtd_WriteChunkToNAND()
120 ops.datbuf = data; in nandmtd_ReadChunkFromNAND()
H A Dyaffs_mtdif2.c84 ops.datbuf = (u8 *) data; in nandmtd2_write_chunk_tags()
131 ops.datbuf = data; in nandmtd2_read_chunk_tags()
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c274 if (devops.datbuf) { in concat_read_oob()
278 devops.datbuf += devops.retlen; in concat_read_oob()
321 if (devops.datbuf) { in concat_write_oob()
325 devops.datbuf += devops.retlen; in concat_write_oob()
H A Dmtdcore.c968 .datbuf = buf, in mtd_read()
1000 .datbuf = (u8 *)buf, in mtd_write()
1044 if (!ops->datbuf) in mtd_check_oob_ops()
1086 ops->datbuf); in mtd_read_oob()
1124 ops->datbuf); in mtd_write_oob()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dsm_common.c115 ops.datbuf = NULL; in sm_block_markbad()
H A Dnand_bbt.c324 ops.datbuf = buf; in scan_read_oob()
362 ops.datbuf = buf; in scan_write_bbt()
425 ops.datbuf = NULL; in scan_block_fast()
763 ops.datbuf = NULL; in write_bbt()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c854 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1107 .datbuf = buf, in onenand_read()
1144 if (ops->datbuf) in onenand_read_oob()
1418 const u_char *buf = ops->datbuf; in onenand_write_ops_nolock()
1655 .datbuf = (u_char *) buf, in onenand_write()
1692 if (ops->datbuf) in onenand_write_oob()
2401 .datbuf = NULL, in flexonenand_check_blocks_erased()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1121 u_char *buf = ops->datbuf; in onenand_mlc_read_ops_nolock()
1222 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1460 if (ops->datbuf) in onenand_read_oob()
1806 const u_char *buf = ops->datbuf; in onenand_write_ops_nolock()
2102 if (ops->datbuf) in onenand_write_oob()
2914 .datbuf = buf, in do_otp_read()
2966 ops.datbuf = pbuf; in do_otp_write()
3006 ops.datbuf = buf; in do_otp_lock()
3525 .datbuf = NULL, in flexonenand_check_blocks_erased()
/openbmc/u-boot/env/
H A Dnand.c289 ops.datbuf = NULL; in get_nand_env_oob()
/openbmc/linux/fs/jffs2/
H A Dwbuf.c1044 ops.datbuf = NULL; in jffs2_check_oob_empty()
1086 ops.datbuf = NULL; in jffs2_check_nand_cleanmarker()
1111 ops.datbuf = NULL; in jffs2_write_nand_cleanmarker()

12