Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/nand/spi/
Dcore.c491 bool enable_ecc = false; in spinand_mtd_read() local
496 enable_ecc = true; in spinand_mtd_read()
505 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_read()
509 ret = spinand_read_page(spinand, &iter.req, enable_ecc); in spinand_mtd_read()
540 bool enable_ecc = false; in spinand_mtd_write() local
544 enable_ecc = true; in spinand_mtd_write()
553 ret = spinand_ecc_enable(spinand, enable_ecc); in spinand_mtd_write()