Home
last modified time | relevance | path

Searched refs:ooblen (Results 1 – 20 of 20) sorted by relevance

/u-boot/fs/yaffs2/
A Dyaffs_mtdif.c79 ops.ooblen = 8; /* temp hack */ in nandmtd_WriteChunkToNAND()
82 ops.ooblen = YAFFS_BYTES_PER_SPARE; in nandmtd_WriteChunkToNAND()
84 ops.len = data ? dev->data_bytes_per_chunk : ops.ooblen; in nandmtd_WriteChunkToNAND()
114 ops.ooblen = 8; /* temp hack */ in nandmtd_ReadChunkFromNAND()
117 ops.ooblen = YAFFS_BYTES_PER_SPARE; in nandmtd_ReadChunkFromNAND()
119 ops.len = data ? dev->data_bytes_per_chunk : ops.ooblen; in nandmtd_ReadChunkFromNAND()
A Dyaffs_mtdif2.c82 ops.ooblen = (dev->param.inband_tags) ? 0 : packed_tags_size; in nandmtd2_write_chunk_tags()
129 ops.ooblen = packed_tags_size; in nandmtd2_read_chunk_tags()
/u-boot/drivers/mtd/onenand/
A Donenand_bbt.c71 size_t readlen, ooblen; in create_bbt() local
80 scanlen = ooblen = 0; in create_bbt()
92 ops.ooblen = readlen; in create_bbt()
A Donenand_base.c856 size_t ooblen = ops->ooblen; in onenand_read_ops_nolock() local
932 thisooblen = min_t(int, thisooblen, ooblen - oobread); in onenand_read_ops_nolock()
1007 size_t len = ops->ooblen; in onenand_read_oob_nolock()
1109 .ooblen = 0, in onenand_read()
1219 size_t len = ops->ooblen; in onenand_bbt_read_oob()
1420 size_t ooblen = ops->ooblen; in onenand_write_ops_nolock() local
1453 thisooblen = min_t(int, oobsize - oobcolumn, ooblen - oobwritten); in onenand_write_ops_nolock()
1542 size_t len = ops->ooblen; in onenand_write_oob_nolock()
1657 .ooblen = 0, in onenand_write()
1902 .ooblen = 2, in onenand_default_block_markbad()
[all …]
/u-boot/include/linux/mtd/
A Dnand.h105 unsigned int ooblen; member
623 iter->oobleft = req->ooblen; in nanddev_io_iter_init()
629 iter->req.ooblen = min_t(unsigned int, in nanddev_io_iter_init()
647 iter->oobleft -= iter->req.ooblen; in nanddev_io_iter_next_page()
648 iter->req.oobbuf.in += iter->req.ooblen; in nanddev_io_iter_next_page()
653 iter->req.ooblen = min_t(unsigned int, iter->oobbytes_per_page, in nanddev_io_iter_next_page()
A Dmtd.h87 size_t ooblen; member
/u-boot/drivers/mtd/nand/spi/
A Dcore.c263 if (req->ooblen) { in spinand_read_from_cache_op()
302 if (req->ooblen) { in spinand_read_from_cache_op()
307 req->ooblen); in spinand_read_from_cache_op()
310 req->ooblen); in spinand_read_from_cache_op()
342 if (req->ooblen) { in spinand_write_to_cache_op()
347 req->ooblen); in spinand_write_to_cache_op()
350 req->ooblen); in spinand_write_to_cache_op()
605 ops->oobretlen += iter.req.ooblen; in spinand_mtd_read()
648 ops->oobretlen += iter.req.ooblen; in spinand_mtd_write()
664 .ooblen = sizeof(marker), in spinand_isbad()
[all …]
/u-boot/drivers/mtd/
A Dmtdconcat.c284 devops.ooblen = ops->ooblen - ops->oobretlen; in concat_read_oob()
285 if (!devops.ooblen) in concat_read_oob()
331 devops.ooblen = ops->ooblen - ops->oobretlen; in concat_write_oob()
332 if (!devops.ooblen) in concat_write_oob()
A Dmtdcore.c1048 ops->ooblen = 0; in mtd_check_oob_ops()
1053 if (ops->ooblen) { in mtd_check_oob_ops()
1062 if (ops->ooblen > maxooblen) in mtd_check_oob_ops()
A Dmtdpart.c356 if (ops->ooboffs + ops->ooblen > pages * len) in part_read_oob()
/u-boot/include/mtd/
A Dmtd-abi.h77 __u64 ooblen; member
/u-boot/cmd/
A Donenand.c74 ops.ooblen = blocksize; in onenand_block_read()
113 .ooblen = mtd->oobsize, in onenand_write_oneblock_withoob()
324 ops.ooblen = mtd->oobsize; in onenand_dump()
A Dnand.c78 ops.ooblen = mtd->oobsize; in nand_dump()
254 ops.ooblen = ENV_OFFSET_SIZE; in do_nand_env_oob()
329 .ooblen = mtd->oobsize, in raw_access()
639 .ooblen = rwsize, in do_nand()
A Dmtd.c191 for (i = 0; i < op->ooblen; i++) in mtd_oob_write_is_empty()
328 io_op.ooblen = woob ? mtd->oobsize : 0; in do_mtd_io()
/u-boot/drivers/mtd/nand/raw/
A Dnand_bbt.c323 ops.ooblen = mtd->oobsize; in scan_read_oob()
362 ops.ooblen = mtd->oobsize; in scan_write_bbt()
420 ops.ooblen = mtd->oobsize; in scan_block_fast()
633 ops.ooblen = mtd->oobsize; in write_bbt()
732 ops.ooblen = (len >> this->page_shift) * mtd->oobsize; in write_bbt()
735 if (res < 0 || ops.oobretlen != ops.ooblen) in write_bbt()
A Dnand_base.c412 ops.len = ops.ooblen = 2; in nand_default_block_markbad()
414 ops.len = ops.ooblen = 1; in nand_default_block_markbad()
2316 uint32_t oobreadlen = ops->ooblen; in nand_do_read_ops()
2479 ops->oobretlen = ops->ooblen - oobreadlen; in nand_do_read_ops()
2658 int readlen = ops->ooblen; in nand_do_read_oob()
2731 ops->oobretlen = ops->ooblen - readlen; in nand_do_read_oob()
3203 uint32_t oobwritelen = ops->ooblen; in nand_do_write_ops()
3307 ops->oobretlen = ops->ooblen; in nand_do_write_ops()
3369 if ((ops->ooboffs + ops->ooblen) > len) { in nand_do_write_oob()
3383 ops->ooboffs + ops->ooblen > in nand_do_write_oob()
[all …]
A Dnand_util.c145 ops.ooblen = 8; in nand_erase_opts()
500 rval = memcmp(ops->oobbuf, vops.oobbuf, vops.ooblen); in nand_verify_page_oob()
/u-boot/env/
A Dnand.c290 ops.ooblen = ENV_OFFSET_SIZE; in get_nand_env_oob()
/u-boot/drivers/dfu/
A Ddfu_mtd.c103 io_op.ooblen = 0; in mtd_block_op()
/u-boot/arch/arm/mach-imx/
A Dcmd_nandbcb.c544 .ooblen = mtd->oobsize, in read_fcb()
647 .ooblen = mtd->oobsize, in write_fcb()

Completed in 75 milliseconds