Home
last modified time | relevance | path

Searched refs:datbuf (Results 1 – 12 of 12) 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.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()
/external/u-boot/drivers/mtd/nand/
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.c1712 buf = ops->datbuf; in nand_do_read_ops()
1885 ops.datbuf = buf; in nand_read()
2140 if (ops->datbuf && (from + ops->len) > mtd->size) { in nand_read_oob()
2158 if (!ops->datbuf) in nand_read_oob()
2535 uint8_t *buf = ops->datbuf; in nand_do_write_ops()
2668 ops.datbuf = (uint8_t *)buf; in panic_nand_write()
2696 ops.datbuf = (uint8_t *)buf; in nand_write()
2802 if (ops->datbuf && (to + ops->len) > mtd->size) { in nand_write_oob()
2820 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/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()
Dmtdpart.c141 if (ops->datbuf && from + ops->len > mtd->size) in part_read_oob()
226 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.c291 ops.datbuf = NULL; in get_nand_env_oob()
/external/u-boot/include/linux/mtd/
Dmtd.h90 uint8_t *datbuf; member