Home
last modified time | relevance | path

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

/Linux-v5.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()
892 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_correct_data()
/Linux-v5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1204 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1217 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1228 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1232 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1250 eccbuf, eccbytes, in gpmi_count_bitflips()
1258 eccbuf, eccbytes, in gpmi_count_bitflips()
/Linux-v5.10/include/linux/mtd/
Dmtd.h430 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
432 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/Linux-v5.10/drivers/mtd/
Dmtdcore.c1727 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1730 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1747 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1750 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()