Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/platform_data/
Delm.h36 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.4/drivers/mtd/nand/raw/
Domap2.c1141 const u_char *dat, u_char *ecc_calc, int i) in _omap_calculate_ecc_bch() argument
1151 ecc_code = ecc_calc; in _omap_calculate_ecc_bch()
1232 ecc_calc[j] ^= bch4_polynomial[j]; in _omap_calculate_ecc_bch()
1236 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch()
1243 ecc_calc[j] ^= bch8_polynomial[j]; in _omap_calculate_ecc_bch()
1247 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch()
1269 const u_char *dat, u_char *ecc_calc) in omap_calculate_ecc_bch_sw() argument
1271 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0); in omap_calculate_ecc_bch_sw()
1283 const u_char *dat, u_char *ecc_calc) in omap_calculate_ecc_bch_multi() argument
1292 ret = _omap_calculate_ecc_bch(mtd, dat, ecc_calc, i); in omap_calculate_ecc_bch_multi()
[all …]
Dnand_base.c2702 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_swecc() local
2709 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_swecc()
2722 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_swecc()
2861 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_hwecc() local
2876 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc()
2894 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_hwecc()
2936 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_hwecc_oob_first() local
2962 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc_oob_first()
3705 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_swecc() local
3710 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_write_page_swecc()
[all …]
Domap_elm.c336 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, in elm_decode_bch_error_page() argument
348 elm_load_syndrome(info, err_vec, ecc_calc); in elm_decode_bch_error_page()
Dfsmc_nand.c679 u8 *ecc_calc = chip->ecc.calc_buf; in fsmc_read_page_hwecc() local
721 chip->ecc.calculate(chip, p, &ecc_calc[i]); in fsmc_read_page_hwecc()
723 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in fsmc_read_page_hwecc()
Dstm32_fmc2_nand.c729 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_read_page() local
754 stat = chip->ecc.correct(chip, p, ecc_code, ecc_calc); in stm32_fmc2_read_page()
1142 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_sequencer_read_page() local
1184 return chip->ecc.correct(chip, buf, ecc_code, ecc_calc); in stm32_fmc2_sequencer_read_page()