Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c820 void *eccbuf; in atmel_nand_pmecc_generate_eccbytes() local
837 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_generate_eccbytes()
841 eccbuf); in atmel_nand_pmecc_generate_eccbytes()
842 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_generate_eccbytes()
856 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
872 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_correct_data()
877 eccbuf); in atmel_nand_pmecc_correct_data()
881 eccbuf, in atmel_nand_pmecc_correct_data()
894 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_correct_data()
/linux-5.19.10/include/linux/mtd/
Dmtd.h429 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
431 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/linux-5.19.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1428 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1441 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1452 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1456 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1474 eccbuf, eccbytes, in gpmi_count_bitflips()
1482 eccbuf, eccbytes, in gpmi_count_bitflips()
/linux-5.19.10/drivers/mtd/
Dmtdcore.c1881 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1884 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1901 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1904 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()