Home
last modified time | relevance | path

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

/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()
/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,
/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1443 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1456 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1467 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1471 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1489 eccbuf, eccbytes, in gpmi_count_bitflips()
1497 eccbuf, eccbytes, in gpmi_count_bitflips()
/linux/drivers/mtd/
H A Dmtdcore.c2038 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
2041 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
2058 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
2061 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()