Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/atmel/
Dnand-controller.c750 void *eccbuf; in atmel_nand_pmecc_generate_eccbytes() local
767 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_generate_eccbytes()
771 eccbuf); in atmel_nand_pmecc_generate_eccbytes()
772 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_generate_eccbytes()
786 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
802 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_correct_data()
807 eccbuf); in atmel_nand_pmecc_correct_data()
811 eccbuf, in atmel_nand_pmecc_correct_data()
822 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_correct_data()
/Linux-v5.4/include/linux/mtd/
Dmtd.h349 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
351 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/Linux-v5.4/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1349 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1362 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1373 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1377 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1395 eccbuf, eccbytes, in gpmi_count_bitflips()
1403 eccbuf, eccbytes, in gpmi_count_bitflips()
/Linux-v5.4/drivers/mtd/
Dmtdcore.c1562 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1565 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1582 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1585 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()