Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c821 void *eccbuf; in atmel_nand_pmecc_generate_eccbytes() local
838 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_generate_eccbytes()
842 eccbuf); in atmel_nand_pmecc_generate_eccbytes()
843 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_generate_eccbytes()
857 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
873 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_correct_data()
878 eccbuf); in atmel_nand_pmecc_correct_data()
882 eccbuf, in atmel_nand_pmecc_correct_data()
895 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_correct_data()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h376 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
378 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/openbmc/linux/include/linux/mtd/
H A Dmtd.h436 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
438 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c1392 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1395 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1412 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1415 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1426 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1439 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1450 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1454 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1472 eccbuf, eccbytes, in gpmi_count_bitflips()
1480 eccbuf, eccbytes, in gpmi_count_bitflips()
/openbmc/linux/drivers/mtd/
H A Dmtdcore.c2029 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
2032 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
2049 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
2052 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()