/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 821 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()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 821 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 1222 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local 1235 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips() 1241 * eccbuf. Set non-eccbits to one so that 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()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 1426 u8 *eccbuf = this->raw_buffer; in gpmi_count_bitflips() local 1439 nand_change_read_column_op(chip, offset, eccbuf, in gpmi_count_bitflips() 1445 * eccbuf. Set non-eccbits to one so that 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()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | mtd.h | 428 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, 430 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | mtd.h | 436 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, 438 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf,
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdcore.c | 1762 * @eccbuf: destination buffer to store ECC bytes 1771 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument 1774 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes() 1782 * @eccbuf: source buffer to get ECC bytes from 1791 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument 1794 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdcore.c | 2016 * @eccbuf: destination buffer to store ECC bytes 2025 int mtd_ooblayout_get_eccbytes(struct mtd_info *mtd, u8 *eccbuf, in mtd_ooblayout_get_eccbytes() argument 2028 return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_get_eccbytes() 2036 * @eccbuf: source buffer to get ECC bytes from 2045 int mtd_ooblayout_set_eccbytes(struct mtd_info *mtd, const u8 *eccbuf, in mtd_ooblayout_set_eccbytes() argument 2048 return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, in mtd_ooblayout_set_eccbytes()
|