Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dmtd.h381 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
383 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dmtd.h428 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf,
430 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1222 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local
1235 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips()
1246 eccbuf[0] |= GENMASK(bitoffset - 1, 0); in gpmi_count_bitflips()
1250 eccbuf[eccbytes - 1] |= GENMASK(7, bitoffset); in gpmi_count_bitflips()
1268 eccbuf, eccbytes, in gpmi_count_bitflips()
1276 eccbuf, eccbytes, in gpmi_count_bitflips()
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dmtdcore.c1393 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1396 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1413 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1416 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdcore.c1734 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument
1737 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes()
1754 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument
1757 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()