Home
last modified time | relevance | path

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

/linux/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/drivers/mtd/nand/raw/
A Domap2.c1156 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()
1301 ecc_calc += eccbytes; in omap_calculate_ecc_bch_multi()
1533 uint8_t *ecc_calc = chip->ecc.calc_buf; in omap_write_page_bch() local
1552 ecc_calc); in omap_write_page_bch()
1587 u8 *ecc_calc = chip->ecc.calc_buf; in omap_write_subpage_bch() local
1701 ecc_calc); in omap_read_page_bch()
[all …]
A Dnand_base.c2950 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()
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()
3931 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_swecc() local
3960 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_page_hwecc() local
4005 uint8_t *ecc_calc = chip->ecc.calc_buf; in nand_write_subpage_hwecc() local
4029 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc()
4031 chip->ecc.calculate(chip, buf, ecc_calc); in nand_write_subpage_hwecc()
4039 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc()
[all …]
A Domap_elm.c339 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()
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 Ddavinci_nand.c397 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()
A Dstm32_fmc2_nand.c684 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()

Completed in 36 milliseconds