Home
last modified time | relevance | path

Searched refs:oobbuf (Results 1 – 15 of 15) sorted by relevance

/external/u-boot/cmd/
Donenand.c88 ops.oobbuf = buf; in onenand_block_read()
120 ops.oobbuf = (u_char *)buf; in onenand_write_oneblock_withoob()
308 u_char *datbuf, *oobbuf, *p; in onenand_dump() local
313 oobbuf = malloc(mtd->oobsize); in onenand_dump()
314 if (!datbuf || !oobbuf) { in onenand_dump()
322 ops.oobbuf = oobbuf; in onenand_dump()
330 free(oobbuf); in onenand_dump()
348 p = oobbuf; in onenand_dump()
356 free(oobbuf); in onenand_dump()
Dnand.c45 u_char *datbuf, *oobbuf, *p; in nand_dump() local
60 oobbuf = memalign(ARCH_DMA_MINALIGN, mtd->oobsize); in nand_dump()
61 if (!oobbuf) { in nand_dump()
71 ops.oobbuf = oobbuf; in nand_dump()
99 p = oobbuf; in nand_dump()
107 free(oobbuf); in nand_dump()
250 ops.oobbuf = (void *) oob_buf; in do_nand_env_oob()
322 .oobbuf = ((u8 *)addr) + mtd->writesize, in raw_access()
632 .oobbuf = (u8 *)addr, in do_nand()
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c855 u_char *oobbuf = ops->oobbuf; in onenand_read_ops_nolock() local
927 if (oobbuf) { in onenand_read_ops_nolock()
932 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
934 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
936 oobbuf += thisooblen; in onenand_read_ops_nolock()
1006 u_char *buf = ops->oobbuf; in onenand_read_oob_nolock()
1108 .oobbuf = NULL, in onenand_read()
1217 u_char *buf = ops->oobbuf; in onenand_bbt_read_oob()
1419 const u_char *oob = ops->oobbuf; in onenand_write_ops_nolock()
1420 u_char *oobbuf; in onenand_write_ops_nolock() local
[all …]
Donenand_bbt.c92 ops.oobbuf = buf; in create_bbt()
/external/u-boot/drivers/mtd/
Dmtdcore.c1157 const u8 *oobbuf, int start, int nbytes, in mtd_ooblayout_get_bytes() argument
1172 memcpy(buf, oobbuf + oobregion.offset, cnt); in mtd_ooblayout_get_bytes()
1200 u8 *oobbuf, int start, int nbytes, in mtd_ooblayout_set_bytes() argument
1215 memcpy(oobbuf + oobregion.offset, buf, cnt); in mtd_ooblayout_set_bytes()
1272 const u8 *oobbuf, int start, int nbytes) in mtd_ooblayout_get_eccbytes() argument
1274 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1292 u8 *oobbuf, int start, int nbytes) in mtd_ooblayout_set_eccbytes() argument
1294 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()
1312 const u8 *oobbuf, int start, int nbytes) in mtd_ooblayout_get_databytes() argument
1314 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes()
[all …]
Dmtdconcat.c280 if (devops.oobbuf) { in concat_read_oob()
284 devops.oobbuf += ops->oobretlen; in concat_read_oob()
327 if (devops.oobbuf) { in concat_write_oob()
331 devops.oobbuf += devops.oobretlen; in concat_write_oob()
Dmtdpart.c148 if (ops->oobbuf) { in part_read_oob()
/external/u-boot/include/linux/mtd/
Dmtd.h91 uint8_t *oobbuf; member
319 const u8 *oobbuf, int start, int nbytes);
321 u8 *oobbuf, int start, int nbytes);
325 const u8 *oobbuf, int start, int nbytes);
327 u8 *oobbuf, int start, int nbytes);
/external/u-boot/fs/yaffs2/
Dyaffs_mtdif.c87 ops.oobbuf = spareAsBytes; in nandmtd_WriteChunkToNAND()
122 ops.oobbuf = spareAsBytes; in nandmtd_ReadChunkFromNAND()
Dyaffs_mtdif2.c85 ops.oobbuf = (dev->param.inband_tags) ? NULL : packed_tags_ptr; in nandmtd2_write_chunk_tags()
132 ops.oobbuf = local_spare; in nandmtd2_read_chunk_tags()
/external/u-boot/drivers/mtd/nand/
Dnand_util.c144 ops.oobbuf = (uint8_t *)&cleanmarker; in nand_erase_opts()
491 vops.oobbuf = vops.datbuf + mtd->writesize; in nand_verify_page_oob()
497 rval = memcmp(ops->oobbuf, vops.oobbuf, vops.ooblen); in nand_verify_page_oob()
Dtegra_nand.c388 int a_len, u8 *oobbuf, int b_len) in check_ecc_error() argument
413 if ((reg_val & DEC_STATUS_B_ECC_FAIL) && oobbuf) { in check_ecc_error()
421 !blank_check(oobbuf, b_len)) in check_ecc_error()
Dnand_bbt.c325 ops.oobbuf = buf + ops.len; in scan_read_oob()
361 ops.oobbuf = oob; in scan_write_bbt()
418 ops.oobbuf = buf; in scan_block_fast()
730 ops.oobbuf = &buf[len]; in write_bbt()
Dnand_base.c401 ops.oobbuf = buf; in nand_default_block_markbad()
1713 oob = ops->oobbuf; in nand_do_read_ops()
2042 uint8_t *buf = ops->oobbuf; in nand_do_read_oob()
2534 uint8_t *oob = ops->oobbuf; in nand_do_write_ops()
2771 nand_fill_oob(mtd, ops->oobbuf, ops->ooblen, ops); in nand_do_write_oob()
/external/u-boot/env/
Dnand.c295 ops.oobbuf = (void *)oob_buf; in get_nand_env_oob()