Home
last modified time | relevance | path

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

/external/u-boot/cmd/
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()
Dnand.c47 u_char *datbuf, *oobbuf, *p; in nand_dump() local
56 datbuf = memalign(ARCH_DMA_MINALIGN, mtd->writesize); in nand_dump()
57 if (!datbuf) { in nand_dump()
72 ops.datbuf = datbuf; in nand_dump()
87 p = datbuf; in nand_dump()
111 free(datbuf); in nand_dump()
248 ops.datbuf = NULL; in do_nand_env_oob()
323 .datbuf = (u8 *)addr, in raw_access()
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()
/external/u-boot/drivers/mtd/nand/raw/
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()
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()
Dnand_base.c2328 buf = ops->datbuf; in nand_do_read_ops()
2753 if (ops->datbuf && (from + ops->len) > mtd->size) { in nand_read_oob()
2771 if (!ops->datbuf) in nand_read_oob()
3202 uint8_t *buf = ops->datbuf; in nand_do_write_ops()
3335 ops.datbuf = (uint8_t *)buf; in panic_nand_write()
3442 if (ops->datbuf && (to + ops->len) > mtd->size) { in nand_write_oob()
3460 if (!ops->datbuf) in nand_write_oob()
/external/u-boot/fs/yaffs2/
Dyaffs_mtdif.c85 ops.datbuf = (u8 *)data; in nandmtd_WriteChunkToNAND()
120 ops.datbuf = data; in nandmtd_ReadChunkFromNAND()
Dyaffs_mtdif2.c84 ops.datbuf = (u8 *) data; in nandmtd2_write_chunk_tags()
131 ops.datbuf = data; in nandmtd2_read_chunk_tags()
/external/u-boot/drivers/dfu/
Ddfu_mtd.c96 io_op.datbuf = buf; in mtd_block_op()
135 io_op.datbuf += io_op.retlen; in mtd_block_op()
/external/u-boot/drivers/mtd/
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()
Dmtdcore.c966 .datbuf = buf, in mtd_read()
998 .datbuf = (u8 *)buf, in mtd_write()
1042 if (!ops->datbuf) in mtd_check_oob_ops()
1084 ops->datbuf); in mtd_read_oob()
1122 ops->datbuf); in mtd_write_oob()
Dmtdpart.c337 if (ops->datbuf && from + ops->len > mtd->size) in part_read_oob()
414 if (ops->datbuf && to + ops->len > mtd->size) in part_write_oob()
/external/u-boot/drivers/mtd/onenand/
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()
/external/u-boot/env/
Dnand.c286 ops.datbuf = NULL; in get_nand_env_oob()
/external/u-boot/include/linux/mtd/
Dnand.h610 iter->req.databuf.in = req->datbuf; in nanddev_io_iter_init()
Dmtd.h90 uint8_t *datbuf; member
/external/u-boot/arch/arm/mach-imx/
Dcmd_nandbcb.c276 .datbuf = (u8 *)fcb_raw_page, in write_fcb_dbbt()