/kernel/linux/linux-5.10/drivers/mtd/tests/ |
H A 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 in mtd_oobtest_init() [all...] |
H A D | readtest.c | 57 ops.ooboffs = 0; in read_eraseblock_by_page()
|
H A D | nandbiterrs.c | 112 ops.ooboffs = 0; in rewrite_page()
|
/kernel/linux/linux-6.6/drivers/mtd/tests/ |
H A 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 in mtd_oobtest_init() [all...] |
H A D | readtest.c | 57 ops.ooboffs = 0; in read_eraseblock_by_page()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | nand.h | 102 * @ooboffs: the OOB offset within the page 121 unsigned int ooboffs; member 810 iter->req.ooboffs = req->ooboffs; in nanddev_io_iter_init() 820 iter->oobbytes_per_page - iter->req.ooboffs, in nanddev_io_iter_init() 840 iter->req.ooboffs = 0; in nanddev_io_iter_next_page()
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | nand.h | 102 * @ooboffs: the OOB offset within the page 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()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | mtdcore.c | 1328 if (ops->ooboffs >= mtd_oobavail(mtd, ops)) in mtd_check_oob_ops() 1333 mtd_oobavail(mtd, ops)) - ops->ooboffs; in mtd_check_oob_ops() 1409 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc() 1410 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc() 1428 adjops.ooboffs = 0; in mtd_io_emulated_slc()
|
H A D | ssfdc.c | 170 ops.ooboffs = 0; in read_raw_oob()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A 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 in write_bbt() [all...] |
H A D | sm_common.c | 112 ops.ooboffs = 0; in sm_block_markbad()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A 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 in write_bbt() [all...] |
H A D | sm_common.c | 112 ops.ooboffs = 0; in sm_block_markbad()
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | mtdcore.c | 1577 if (ops->ooboffs >= mtd_oobavail(mtd, ops)) in mtd_check_oob_ops() 1582 mtd_oobavail(mtd, ops)) - ops->ooboffs; in mtd_check_oob_ops() 1658 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc() 1659 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc() 1677 adjops.ooboffs = 0; in mtd_io_emulated_slc()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/spi/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 86 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 86 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
|