Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/platform_data/
A 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-6.3-rc2/drivers/mtd/nand/raw/
A Domap2.c1012 ecc_code = ecc_calc; in _omap_calculate_ecc_bch()
1093 ecc_calc[j] ^= bch4_polynomial[j]; in _omap_calculate_ecc_bch()
1097 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch()
1104 ecc_calc[j] ^= bch8_polynomial[j]; in _omap_calculate_ecc_bch()
1108 ecc_calc[eccbytes - 1] = 0x0; in _omap_calculate_ecc_bch()
1157 ecc_calc += eccbytes; in omap_calculate_ecc_bch_multi()
1389 uint8_t *ecc_calc = chip->ecc.calc_buf; in omap_write_page_bch() local
1408 ecc_calc); in omap_write_page_bch()
1443 u8 *ecc_calc = chip->ecc.calc_buf; in omap_write_subpage_bch() local
1557 ecc_calc); in omap_read_page_bch()
[all …]
A Dnand_base.c3025 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_swecc() local
3032 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_swecc()
3184 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_read_page_hwecc() local
3199 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc()
4104 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_swecc() local
4133 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_hwecc() local
4178 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_subpage_hwecc() local
4202 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc()
4204 chip->ecc.calculate(chip, buf, ecc_calc); in nand_write_subpage_hwecc()
4212 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc()
[all …]
A Domap_elm.c337 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, in elm_decode_bch_error_page() argument
349 elm_load_syndrome(info, err_vec, ecc_calc); in elm_decode_bch_error_page()
A Dfsmc_nand.c713 u8 *ecc_calc = chip->ecc.calc_buf; in fsmc_read_page_hwecc() local
755 chip->ecc.calculate(chip, p, &ecc_calc[i]); in fsmc_read_page_hwecc()
757 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); in fsmc_read_page_hwecc()
A Dstm32_fmc2_nand.c686 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_nfc_read_page() local
711 stat = chip->ecc.correct(chip, p, ecc_code, ecc_calc); in stm32_fmc2_nfc_read_page()
1091 u8 *ecc_calc = chip->ecc.calc_buf; in stm32_fmc2_nfc_seq_read_page() local
1132 return chip->ecc.correct(chip, buf, ecc_code, ecc_calc); in stm32_fmc2_nfc_seq_read_page()

Completed in 26 milliseconds