Searched refs:ecc_calc (Results 1 - 6 of 6) sorted by relevance
/linux-master/include/linux/platform_data/ |
H A 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, argument
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | omap2.c | 995 * @ecc_calc: The ecc_code buffer 1002 const u_char *dat, u_char *ecc_calc, int i) 1012 ecc_code = ecc_calc; 1093 ecc_calc[j] ^= bch4_polynomial[j]; 1097 ecc_calc[eccbytes - 1] = 0x0; 1104 ecc_calc[j] ^= bch8_polynomial[j]; 1108 ecc_calc[eccbytes - 1] = 0x0; 1123 * @ecc_calc: Buffer storing the calculated ECC bytes 1130 const u_char *dat, u_char *ecc_calc) 1132 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 1001 _omap_calculate_ecc_bch(struct mtd_info *mtd, const u_char *dat, u_char *ecc_calc, int i) argument 1129 omap_calculate_ecc_bch_sw(struct nand_chip *chip, const u_char *dat, u_char *ecc_calc) argument 1143 omap_calculate_ecc_bch_multi(struct mtd_info *mtd, const u_char *dat, u_char *ecc_calc) argument 1389 uint8_t *ecc_calc = chip->ecc.calc_buf; local 1443 u8 *ecc_calc = chip->ecc.calc_buf; local 1524 uint8_t *ecc_calc = chip->ecc.calc_buf; local [all...] |
H A D | nand_base.c | 3075 uint8_t *ecc_calc = chip->ecc.calc_buf; local 3082 chip->ecc.calculate(chip, p, &ecc_calc[i]); 3095 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); 3234 uint8_t *ecc_calc = chip->ecc.calc_buf; local 3249 chip->ecc.calculate(chip, p, &ecc_calc[i]); 3268 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]); 4184 uint8_t *ecc_calc = chip->ecc.calc_buf; local 4189 chip->ecc.calculate(chip, p, &ecc_calc[i]); 4191 ret = mtd_ooblayout_set_eccbytes(mtd, ecc_calc, chip->oob_poi, 0, 4213 uint8_t *ecc_calc local 4258 uint8_t *ecc_calc = chip->ecc.calc_buf; local [all...] |
H A D | omap_elm.c | 331 * @ecc_calc: calculated ECC bytes from GPMC 337 void elm_decode_bch_error_page(struct device *dev, u8 *ecc_calc, argument 349 elm_load_syndrome(info, err_vec, ecc_calc);
|
H A D | fsmc_nand.c | 713 u8 *ecc_calc = chip->ecc.calc_buf; local 755 chip->ecc.calculate(chip, p, &ecc_calc[i]); 757 stat = chip->ecc.correct(chip, p, &ecc_code[i], &ecc_calc[i]);
|
H A D | stm32_fmc2_nand.c | 703 u8 *ecc_calc = chip->ecc.calc_buf; local 728 stat = chip->ecc.correct(chip, p, ecc_code, ecc_calc); 1108 u8 *ecc_calc = chip->ecc.calc_buf; local 1149 return chip->ecc.correct(chip, buf, ecc_code, ecc_calc);
|
Completed in 372 milliseconds