Searched refs:ooboffs (Results 1 – 17 of 17) sorted by relevance
/drivers/mtd/tests/ |
D | oobtest.c | 70 ops.ooboffs = use_offset; in write_eraseblock() 180 ops.ooboffs = use_offset; in verify_eraseblock() 217 ops.ooboffs = 0; in verify_eraseblock() 277 ops.ooboffs = 0; in verify_eraseblock_in_one_go() 501 ops.ooboffs = mtd->oobavail; in mtd_oobtest_init() 521 ops.ooboffs = mtd->oobavail; in mtd_oobtest_init() 548 ops.ooboffs = 0; in mtd_oobtest_init() 568 ops.ooboffs = 0; in mtd_oobtest_init() 595 ops.ooboffs = 1; in mtd_oobtest_init() 615 ops.ooboffs = 1; in mtd_oobtest_init() [all …]
|
D | readtest.c | 57 ops.ooboffs = 0; in read_eraseblock_by_page()
|
D | nandbiterrs.c | 112 ops.ooboffs = 0; in rewrite_page()
|
/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 320 ops.ooboffs = 0; in scan_read_oob() 360 ops.ooboffs = 0; in scan_write_bbt() 424 ops.ooboffs = 0; in scan_block_fast() 721 int nrchips, pageoffs, ooboffs; in write_bbt() local 729 ops.ooboffs = 0; in write_bbt() 813 ooboffs = len + (pageoffs * mtd->oobsize); in write_bbt() 816 ooboffs = 0; in write_bbt() 839 ooboffs = len; in write_bbt() 841 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); in write_bbt() 845 buf[ooboffs + td->veroffs] = td->version[chip]; in write_bbt()
|
D | sm_common.c | 112 ops.ooboffs = 0; in sm_block_markbad()
|
D | nand_base.c | 362 memcpy(chip->oob_poi + ops->ooboffs, oob, len); in nand_fill_oob() 367 ops->ooboffs, len); in nand_fill_oob() 397 if ((ops->ooboffs + ops->ooblen) > len) { in nand_do_write_oob() 465 ops.ooboffs = chip->badblockpos; in nand_default_block_markbad() 467 ops.ooboffs &= ~0x01; in nand_default_block_markbad() 3059 memcpy(oob, chip->oob_poi + ops->ooboffs, len); in nand_transfer_oob() 3064 ops->ooboffs, len); in nand_transfer_oob() 4001 if (oob && ops->ooboffs && (ops->ooboffs + ops->ooblen > oobmaxlen)) { in nand_do_write_ops()
|
/drivers/mtd/ |
D | mtdchar.c | 276 ops.ooboffs = 0; in mtdchar_write() 365 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_writeoob() 370 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_writeoob() 402 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_readoob() 407 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_readoob() 604 ops.ooboffs = 0; in mtdchar_write_ioctl()
|
D | nftlcore.c | 131 ops.ooboffs = offs & mask; in nftl_read_oob() 152 ops.ooboffs = offs & mask; in nftl_write_oob() 175 ops.ooboffs = offs & mask; in nftl_write()
|
D | inftlcore.c | 143 ops.ooboffs = offs & (mtd->writesize - 1); in inftl_read_oob() 163 ops.ooboffs = offs & (mtd->writesize - 1); in inftl_write_oob() 183 ops.ooboffs = offs; in inftl_write()
|
D | mtdcore.c | 1293 if (ops->ooboffs >= mtd_oobavail(mtd, ops)) in mtd_check_oob_ops() 1298 mtd_oobavail(mtd, ops)) - ops->ooboffs; in mtd_check_oob_ops() 1374 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc() 1375 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc() 1393 adjops.ooboffs = 0; in mtd_io_emulated_slc()
|
D | ssfdc.c | 170 ops.ooboffs = 0; in read_raw_oob()
|
D | mtdswap.c | 336 ops.ooboffs = 0; in mtdswap_read_markers() 375 ops.ooboffs = 0; in mtdswap_write_marker() 888 ops.ooboffs = 0; in mtdswap_eblk_passes()
|
D | sm_ftl.c | 260 ops.ooboffs = 0; in sm_read_sector() 342 ops.ooboffs = 0; in sm_write_sector()
|
/drivers/mtd/nand/spi/ |
D | core.c | 261 req->ooboffs, in spinand_read_from_cache_op() 264 memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, in spinand_read_from_cache_op() 299 req->ooboffs, in spinand_write_to_cache_op() 302 memcpy(spinand->oobbuf + req->ooboffs, req->oobbuf.out, in spinand_write_to_cache_op() 577 .ooboffs = 0, in spinand_isbad() 611 .ooboffs = 0, in spinand_markbad()
|
/drivers/mtd/nand/onenand/ |
D | onenand_bbt.c | 86 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
|
D | onenand_base.c | 1355 from += ops->ooboffs; in onenand_read_oob_nolock() 1980 to += ops->ooboffs; in onenand_write_oob_nolock() 2443 .ooboffs = 0, in onenand_default_block_markbad() 2780 to += ops->ooboffs; in onenand_otp_write_oob_nolock() 3011 ops.ooboffs = 0; in do_otp_lock() 3515 .ooboffs = 0, in flexonenand_check_blocks_erased()
|
/drivers/mtd/devices/ |
D | docg3.c | 886 oobbuf += ops->ooboffs; in doc_read_oob() 1394 oobbuf += ops->ooboffs; in doc_write_oob()
|