/linux-6.1.9/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() 520 ops.ooboffs = mtd->oobavail; in mtd_oobtest_init() 546 ops.ooboffs = 0; in mtd_oobtest_init() 565 ops.ooboffs = 0; in mtd_oobtest_init() 591 ops.ooboffs = 1; in mtd_oobtest_init() 610 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()
|
/linux-6.1.9/include/linux/mtd/ |
D | nand.h | 121 unsigned int ooboffs; member 928 iter->req.ooboffs = req->ooboffs; in nanddev_io_iter_init() 938 iter->oobbytes_per_page - iter->req.ooboffs, in nanddev_io_iter_init() 958 iter->req.ooboffs = 0; in nanddev_io_iter_next_page()
|
D | mtd.h | 76 uint32_t ooboffs; member
|
/linux-6.1.9/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() 754 int nrchips, pageoffs, ooboffs; in write_bbt() local 762 ops.ooboffs = 0; in write_bbt() 846 ooboffs = len + (pageoffs * mtd->oobsize); in write_bbt() 849 ooboffs = 0; in write_bbt() 872 ooboffs = len; in write_bbt() 874 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); in write_bbt() 878 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 | 401 memcpy(chip->oob_poi + ops->ooboffs, oob, len); in nand_fill_oob() 406 ops->ooboffs, len); in nand_fill_oob() 436 if ((ops->ooboffs + ops->ooblen) > len) { in nand_do_write_oob() 508 ops.ooboffs = chip->badblockpos; in nand_default_block_markbad() 510 ops.ooboffs &= ~0x01; in nand_default_block_markbad() 3341 memcpy(oob, chip->oob_poi + ops->ooboffs, len); in nand_transfer_oob() 3346 ops->ooboffs, len); in nand_transfer_oob() 4305 if (oob && ops->ooboffs && (ops->ooboffs + ops->ooblen > oobmaxlen)) { in nand_do_write_ops()
|
/linux-6.1.9/drivers/mtd/ |
D | mtdchar.c | 268 ops.ooboffs = 0; in mtdchar_write() 357 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_writeoob() 362 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_writeoob() 394 ops.ooboffs = start & (mtd->writesize - 1); in mtdchar_readoob() 399 if (ops.ooboffs && ops.ooblen > (mtd->oobsize - ops.ooboffs)) in mtdchar_readoob()
|
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 | 1533 if (ops->ooboffs >= mtd_oobavail(mtd, ops)) in mtd_check_oob_ops() 1538 mtd_oobavail(mtd, ops)) - ops->ooboffs; in mtd_check_oob_ops() 1614 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc() 1615 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc() 1633 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() 887 ops.ooboffs = 0; in mtdswap_eblk_passes()
|
D | sm_ftl.c | 259 ops.ooboffs = 0; in sm_read_sector() 343 ops.ooboffs = 0; in sm_write_sector()
|
/linux-6.1.9/drivers/mtd/nand/ |
D | ecc.c | 549 tweak->ooboffs = 0; in nand_ecc_tweak_req() 562 memcpy((void *)tweak->oobbuf.out + orig->ooboffs, in nand_ecc_tweak_req() 585 tweak->oobbuf.in + orig->ooboffs, in nand_ecc_restore_req()
|
/linux-6.1.9/drivers/mtd/nand/spi/ |
D | core.c | 410 req->ooboffs, in spinand_read_from_cache_op() 413 memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, in spinand_read_from_cache_op() 451 req->ooboffs, in spinand_write_to_cache_op() 454 memcpy(spinand->oobbuf + req->ooboffs, req->oobbuf.out, in spinand_write_to_cache_op() 731 .ooboffs = 0, in spinand_isbad() 765 .ooboffs = 0, in spinand_markbad()
|
/linux-6.1.9/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() 1989 to += ops->ooboffs; in onenand_write_oob_nolock() 2452 .ooboffs = 0, in onenand_default_block_markbad() 2787 to += ops->ooboffs; in onenand_otp_write_oob_nolock() 3018 ops.ooboffs = 0; in do_otp_lock() 3523 .ooboffs = 0, in flexonenand_check_blocks_erased()
|
/linux-6.1.9/fs/jffs2/ |
D | wbuf.c | 1043 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_check_oob_empty() 1085 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_check_nand_cleanmarker() 1110 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_write_nand_cleanmarker()
|
/linux-6.1.9/drivers/mtd/devices/ |
D | docg3.c | 887 oobbuf += ops->ooboffs; in doc_read_oob() 1402 oobbuf += ops->ooboffs; in doc_write_oob()
|