Searched refs:ecc_calc (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/include/linux/platform_data/ |
D | elm.h | 36 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, 42 elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, in elm_decode_bch_error_page() argument
|
/Linux-v5.15/drivers/mtd/nand/raw/ |
D | omap2.c | 1146 const u_char *dat, u_char *ecc_calc, int i) in _omap_calculate_ecc_bch() argument 1156 ecc_code = ecc_calc; in _omap_calculate_ecc_bch() 1237 ecc_calc[j] ^= bch4_polynomial[j]; in _omap_calculate_ecc_bch() 1241 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch() 1248 ecc_calc[j] ^= bch8_polynomial[j]; in _omap_calculate_ecc_bch() 1252 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch() 1274 const u_char *dat, u_char *ecc_calc) in omap_calculate_ecc_bch_sw() argument 1276 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0); in omap_calculate_ecc_bch_sw() 1288 const u_char *dat, u_char *ecc_calc) in omap_calculate_ecc_bch_multi() argument 1297 ret = _omap_calculate_ecc_bch(mtd, dat, ecc_calc, i); in omap_calculate_ecc_bch_multi() [all …]
|
D | nand_base.c | 2950 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_swecc() local 2957 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_swecc() 2970 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_swecc() 3109 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_hwecc() local 3124 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc() 3143 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_hwecc() 3931 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_swecc() local 3936 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_write_page_swecc() 3938 ret = mtd_ooblayout_set_eccbytes(mtd, ecc_calc, chip->oob_poi, 0, in nand_write_page_swecc() 3960 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_hwecc() local [all …]
|
D | omap_elm.c | 339 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, in elm_decode_bch_error_page() argument 351 elm_load_syndrome(info, err_vec, ecc_calc); in elm_decode_bch_error_page()
|
D | fsmc_nand.c | 691 u8 *ecc_calc = chip->ecc.calc_buf; in fsmc_read_page_hwecc() local 733 chip->ecc.calculate(chip, p, &ecc_calc[i]); in fsmc_read_page_hwecc() 735 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in fsmc_read_page_hwecc()
|
D | davinci_nand.c | 397 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_davinci_read_page_hwecc_oob_first() local 423 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_davinci_read_page_hwecc_oob_first()
|
D | stm32_fmc2_nand.c | 684 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_nfc_read_page() local 709 stat = chip->ecc.correct(chip, p, ecc_code, ecc_calc); in stm32_fmc2_nfc_read_page() 1087 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_nfc_seq_read_page() local 1128 return chip->ecc.correct(chip, buf, ecc_code, ecc_calc); in stm32_fmc2_nfc_seq_read_page()
|