/openbmc/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 289 bool enable = (req->mode != MTD_OPS_RAW); in spinand_ondie_ecc_prepare_io_req() 305 if (req->mode == MTD_OPS_RAW) in spinand_ondie_ecc_finish_io_req() 384 if (req->mode == MTD_OPS_RAW) in spinand_read_from_cache_op() 458 if (req->mode == MTD_OPS_RAW) in spinand_write_to_cache_op() 645 if (ops->mode == MTD_OPS_RAW || !spinand->eccinfo.ooblayout) in spinand_mtd_read() 654 iter.req.mode = MTD_OPS_RAW; in spinand_mtd_read() 698 if (ops->mode == MTD_OPS_RAW || !mtd->ooblayout) in spinand_mtd_write() 705 iter.req.mode = MTD_OPS_RAW; in spinand_mtd_write() 733 .mode = MTD_OPS_RAW, in spinand_isbad() 768 .mode = MTD_OPS_RAW, in spinand_markbad()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 81 ops.mode = MTD_OPS_RAW; in nandmtd_WriteChunkToNAND() 116 ops.mode = MTD_OPS_RAW; in nandmtd_ReadChunkFromNAND()
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 560 if (req->mode == MTD_OPS_RAW) in mxic_ecc_prepare_io_req_external() 619 if (req->mode == MTD_OPS_RAW) in mxic_ecc_finish_io_req_external() 675 if (req->mode == MTD_OPS_RAW) in mxic_ecc_prepare_io_req_pipelined() 707 if (req->mode == MTD_OPS_RAW) in mxic_ecc_finish_io_req_pipelined()
|
H A D | ecc-sw-bch.c | 305 if (req->mode == MTD_OPS_RAW) in nand_ecc_sw_bch_prepare_io_req() 344 if (req->mode == MTD_OPS_RAW) in nand_ecc_sw_bch_finish_io_req()
|
H A D | ecc-sw-hamming.c | 559 if (req->mode == MTD_OPS_RAW) in nand_ecc_sw_hamming_prepare_io_req() 598 if (req->mode == MTD_OPS_RAW) in nand_ecc_sw_hamming_finish_io_req()
|
/openbmc/u-boot/include/mtd/ |
H A D | mtd-abi.h | 55 MTD_OPS_RAW = 2, enumerator
|
/openbmc/u-boot/cmd/ |
H A D | nand.c | 74 ops.mode = MTD_OPS_RAW; in nand_dump() 325 .mode = MTD_OPS_RAW in raw_access() 634 .mode = MTD_OPS_RAW in do_nand()
|
H A D | mtd.c | 323 io_op.mode = raw ? MTD_OPS_RAW : MTD_OPS_AUTO_OOB; in do_mtd_io()
|
/openbmc/linux/include/uapi/mtd/ |
H A D | mtd-abi.h | 65 MTD_OPS_RAW = 2, enumerator
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | 171 ops.mode = MTD_OPS_RAW; in mtdchar_read() 265 ops.mode = MTD_OPS_RAW; in mtdchar_write() 359 ops.mode = (mfi->mode == MTD_FILE_MODE_RAW) ? MTD_OPS_RAW : in mtdchar_writeoob() 396 ops.mode = (mfi->mode == MTD_FILE_MODE_RAW) ? MTD_OPS_RAW : in mtdchar_readoob()
|
H A D | ssfdc.c | 169 ops.mode = MTD_OPS_RAW; in read_raw_oob()
|
H A D | sm_ftl.c | 258 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_read_sector() 340 ops.mode = ftl->smallpagenand ? MTD_OPS_RAW : MTD_OPS_PLACE_OOB; in sm_write_sector()
|
/openbmc/u-boot/drivers/mtd/nand/spi/ |
H A D | core.c | 569 if (ops->mode != MTD_OPS_RAW && spinand->eccinfo.ooblayout) in spinand_mtd_read() 620 if (ops->mode != MTD_OPS_RAW && mtd->ooblayout) in spinand_mtd_write() 659 .mode = MTD_OPS_RAW, in spinand_isbad()
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | nandbiterrs.c | 107 ops.mode = MTD_OPS_RAW; /* No ECC */ in rewrite_page()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 1623 case MTD_OPS_RAW: in nand_transfer_oob() 1749 if (unlikely(ops->mode == MTD_OPS_RAW)) in nand_do_read_ops() 1774 (ops->mode != MTD_OPS_RAW)) { in nand_do_read_ops() 2052 if (ops->mode == MTD_OPS_RAW) in nand_do_read_oob() 2126 case MTD_OPS_RAW: in nand_read_oob() 2454 case MTD_OPS_RAW: in nand_fill_oob() 2587 (ops->mode == MTD_OPS_RAW)); in nand_do_write_ops() 2721 if (ops->mode == MTD_OPS_RAW) in nand_do_write_oob() 2761 case MTD_OPS_RAW: in nand_write_oob()
|
H A D | mxs_nand.c | 779 if (ops->mode == MTD_OPS_RAW) in mxs_nand_hook_read_oob() 804 if (ops->mode == MTD_OPS_RAW) in mxs_nand_hook_write_oob()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 400 case MTD_OPS_RAW: in nand_fill_oob() 475 if (ops->mode == MTD_OPS_RAW) in nand_do_write_oob() 3451 case MTD_OPS_RAW: in nand_transfer_oob() 3588 if (likely(ops->mode != MTD_OPS_RAW)) in nand_do_read_ops() 3619 if (unlikely(ops->mode == MTD_OPS_RAW)) in nand_do_read_ops() 3644 (ops->mode != MTD_OPS_RAW)) { in nand_do_read_ops() 3928 if (ops->mode == MTD_OPS_RAW) in nand_do_read_oob() 3990 ops->mode != MTD_OPS_RAW) in nand_read_oob() 4514 (ops->mode == MTD_OPS_RAW)); in nand_do_write_ops() 4598 case MTD_OPS_RAW: in nand_write_oob()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | docg3.c | 945 (ops->mode != MTD_OPS_RAW) && in doc_read_oob() 1306 case MTD_OPS_RAW: in doc_guess_autoecc() 1408 case MTD_OPS_RAW: in doc_write_oob()
|
/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 1137 case MTD_OPS_RAW: in onenand_read_oob() 1685 case MTD_OPS_RAW: in onenand_write_oob()
|
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 1450 case MTD_OPS_RAW: in onenand_read_oob() 2095 case MTD_OPS_RAW: in onenand_write_oob()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 770 if ((req->mode == MTD_OPS_RAW) || (req->type != NAND_PAGE_READ)) in mtk_snand_ecc_finish_io_req()
|