Searched refs:ooboffs (Results 1 – 16 of 16) sorted by relevance
/drivers/mtd/tests/ |
D | oobtest.c | 82 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 …]
|
D | readtest.c | 69 ops.ooboffs = 0; in read_eraseblock_by_page()
|
D | nandbiterrs.c | 125 ops.ooboffs = 0; in rewrite_page()
|
/drivers/mtd/nand/ |
D | nand_bbt.c | 321 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()
|
D | sm_common.c | 53 ops.ooboffs = 0; in sm_block_markbad()
|
D | nand_base.c | 390 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/ |
D | mtdchar.c | 290 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()
|
D | nftlcore.c | 144 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()
|
D | inftlcore.c | 156 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()
|
D | ssfdc.c | 173 ops.ooboffs = 0; in read_raw_oob()
|
D | mtdswap.c | 351 ops.ooboffs = 0; in mtdswap_read_markers() 390 ops.ooboffs = 0; in mtdswap_write_marker() 937 ops.ooboffs = 0; in mtdswap_eblk_passes()
|
D | sm_ftl.c | 257 ops.ooboffs = 0; in sm_read_sector() 339 ops.ooboffs = 0; in sm_write_sector()
|
D | mtdpart.c | 132 if (ops->ooboffs + ops->ooblen > pages * len) in part_read_oob()
|
/drivers/mtd/onenand/ |
D | onenand_bbt.c | 87 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
|
D | onenand_base.c | 1359 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/ |
D | docg3.c | 878 oobbuf += ops->ooboffs; in doc_read_oob() 1431 oobbuf += ops->ooboffs; in doc_write_oob() 1520 ops.ooboffs = 0; in doc_write()
|