Home
last modified time | relevance | path

Searched refs:ecc_sw_hamming_correct (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/mtd/
Dnand-ecc-sw-hamming.h41 int ecc_sw_hamming_correct(unsigned char *buf, unsigned char *read_ecc,
71 static inline int ecc_sw_hamming_correct(unsigned char *buf, in ecc_sw_hamming_correct() function
/linux-6.1.9/drivers/mtd/tests/
Dmtd_nandecctest.c127 ret = ecc_sw_hamming_correct(error_data, error_ecc, calc_ecc, size, in no_bit_error_verify()
157 ret = ecc_sw_hamming_correct(error_data, error_ecc, calc_ecc, size, in single_bit_error_correct()
194 ret = ecc_sw_hamming_correct(error_data, error_ecc, calc_ecc, size, in double_bit_error_detect()
/linux-6.1.9/drivers/mtd/nand/
Decc-sw-hamming.c373 int ecc_sw_hamming_correct(unsigned char *buf, unsigned char *read_ecc, in ecc_sw_hamming_correct() function
443 EXPORT_SYMBOL(ecc_sw_hamming_correct);
462 return ecc_sw_hamming_correct(buf, read_ecc, calc_ecc, step_size, in nand_ecc_sw_hamming_correct()
/linux-6.1.9/drivers/mtd/
Dsm_ftl.c223 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, in sm_correct_sector()
230 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector()
/linux-6.1.9/drivers/mtd/nand/raw/
Dfsmc_nand.c460 return ecc_sw_hamming_correct(buf, read_ecc, calc_ecc, in fsmc_correct_ecc1()