Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dnand-controller.c763 void *eccbuf; in atmel_nand_pmecc_generate_eccbytes() local
780 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_generate_eccbytes()
784 eccbuf); in atmel_nand_pmecc_generate_eccbytes()
785 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_generate_eccbytes()
799 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
815 eccbuf = chip->oob_poi + oobregion.offset; in atmel_nand_pmecc_correct_data()
820 eccbuf); in atmel_nand_pmecc_correct_data()
824 eccbuf, in atmel_nand_pmecc_correct_data()
835 eccbuf += chip->ecc.bytes; in atmel_nand_pmecc_correct_data()
/Linux-v4.19/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c993 u8 *eccbuf = this->raw_buffer; in gpmi_ecc_read_page_data() local
1006 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_ecc_read_page_data()
1017 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_ecc_read_page_data()
1021 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_ecc_read_page_data()
1039 eccbuf, eccbytes, in gpmi_ecc_read_page_data()
1047 eccbuf, eccbytes, in gpmi_ecc_read_page_data()
/Linux-v4.19/include/linux/mtd/
Dmtd.h351 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
353 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/Linux-v4.19/drivers/mtd/
Dmtdcore.c1481 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1484 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1501 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1504 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()