Home
last modified time | relevance | path

Searched refs:ooboffs (Results 1 – 16 of 16) sorted by relevance

/drivers/mtd/tests/
Doobtest.c82 ops.ooboffs = use_offset; in write_eraseblock()
192 ops.ooboffs = use_offset; in verify_eraseblock()
226 ops.ooboffs = 0; in verify_eraseblock()
283 ops.ooboffs = 0; in verify_eraseblock_in_one_go()
504 ops.ooboffs = mtd->ecclayout->oobavail; in mtd_oobtest_init()
524 ops.ooboffs = mtd->ecclayout->oobavail; in mtd_oobtest_init()
548 ops.ooboffs = 0; in mtd_oobtest_init()
568 ops.ooboffs = 0; in mtd_oobtest_init()
592 ops.ooboffs = 1; in mtd_oobtest_init()
612 ops.ooboffs = 1; in mtd_oobtest_init()
[all …]
Dreadtest.c69 ops.ooboffs = 0; in read_eraseblock_by_page()
Dnandbiterrs.c125 ops.ooboffs = 0; in rewrite_page()
/drivers/mtd/nand/
Dnand_bbt.c321 ops.ooboffs = 0; in scan_read_oob()
360 ops.ooboffs = 0; in scan_write_bbt()
421 ops.ooboffs = 0; in scan_block_fast()
625 int nrchips, pageoffs, ooboffs; in write_bbt() local
633 ops.ooboffs = 0; in write_bbt()
742 ooboffs = len + (pageoffs * mtd->oobsize); in write_bbt()
745 ooboffs = 0; in write_bbt()
768 ooboffs = len; in write_bbt()
770 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); in write_bbt()
774 buf[ooboffs + td->veroffs] = td->version[chip]; in write_bbt()
Dsm_common.c53 ops.ooboffs = 0; in sm_block_markbad()
Dnand_base.c390 ops.ooboffs = chip->badblockpos; in nand_default_block_markbad()
392 ops.ooboffs &= ~0x01; in nand_default_block_markbad()
1618 memcpy(oob, chip->oob_poi + ops->ooboffs, len); in nand_transfer_oob()
1623 uint32_t boffs = 0, roffs = ops->ooboffs; in nand_transfer_oob()
2050 if (unlikely(ops->ooboffs >= len)) { in nand_do_read_oob()
2058 ops->ooboffs + readlen > ((mtd->size >> chip->page_shift) - in nand_do_read_oob()
2495 memcpy(chip->oob_poi + ops->ooboffs, oob, len); in nand_fill_oob()
2500 uint32_t boffs = 0, woffs = ops->ooboffs; in nand_fill_oob()
2587 if (oob && ops->ooboffs && (ops->ooboffs + ops->ooblen > oobmaxlen)) { in nand_do_write_ops()
2747 if ((ops->ooboffs + ops->ooblen) > len) { in nand_do_write_oob()
[all …]
/drivers/mtd/
Dmtdchar.c290 ops.ooboffs = 0; in mtdchar_write()
387 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_writeoob()
392 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_writeoob()
427 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_readoob()
432 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_readoob()
559 ops.ooboffs = 0; in mtdchar_write_ioctl()
Dnftlcore.c144 ops.ooboffs = offs & mask; in nftl_read_oob()
165 ops.ooboffs = offs & mask; in nftl_write_oob()
188 ops.ooboffs = offs & mask; in nftl_write()
Dinftlcore.c156 ops.ooboffs = offs & (mtd->writesize - 1); in inftl_read_oob()
176 ops.ooboffs = offs & (mtd->writesize - 1); in inftl_write_oob()
196 ops.ooboffs = offs; in inftl_write()
Dssfdc.c173 ops.ooboffs = 0; in read_raw_oob()
Dmtdswap.c351 ops.ooboffs = 0; in mtdswap_read_markers()
390 ops.ooboffs = 0; in mtdswap_write_marker()
937 ops.ooboffs = 0; in mtdswap_eblk_passes()
Dsm_ftl.c257 ops.ooboffs = 0; in sm_read_sector()
339 ops.ooboffs = 0; in sm_write_sector()
Dmtdpart.c132 if (ops->ooboffs + ops->ooblen > pages * len) in part_read_oob()
/drivers/mtd/onenand/
Donenand_bbt.c87 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
Donenand_base.c1359 from += ops->ooboffs; in onenand_read_oob_nolock()
2057 to += ops->ooboffs; in onenand_write_oob_nolock()
2575 .ooboffs = 0, in onenand_default_block_markbad()
2912 to += ops->ooboffs; in onenand_otp_write_oob_nolock()
3143 ops.ooboffs = 0; in do_otp_lock()
3641 .ooboffs = 0, in flexonenand_check_blocks_erased()
/drivers/mtd/devices/
Ddocg3.c878 oobbuf += ops->ooboffs; in doc_read_oob()
1431 oobbuf += ops->ooboffs; in doc_write_oob()
1520 ops.ooboffs = 0; in doc_write()