Home
last modified time | relevance | path

Searched refs:enable_ecc (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/
H A Dcore.c572 bool enable_ecc = false; in spinand_mtd_read() local
577 enable_ecc = true; in spinand_mtd_read()
588 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_read()
592 ret = spinand_read_page(spinand, &iter.req, enable_ecc); in spinand_mtd_read()
624 bool enable_ecc = false; in spinand_mtd_write() local
628 enable_ecc = true; in spinand_mtd_write()
639 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_write()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/
H A Dcore.c590 bool enable_ecc = false; in spinand_mtd_read() local
595 enable_ecc = true; in spinand_mtd_read()
604 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_read()
608 ret = spinand_read_page(spinand, &iter.req, enable_ecc); in spinand_mtd_read()
639 bool enable_ecc = false; in spinand_mtd_write() local
643 enable_ecc = true; in spinand_mtd_write()
652 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_write()