Home
last modified time | relevance | path

Searched refs:ecc_sw_hamming_calculate (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/mtd/
H A Dnand-ecc-sw-hamming.h36 int ecc_sw_hamming_calculate(const unsigned char *buf, unsigned int step_size,
57 static inline int ecc_sw_hamming_calculate(const unsigned char *buf, in ecc_sw_hamming_calculate() function
/openbmc/linux/drivers/mtd/tests/
H A Dmtd_nandecctest.c126 ecc_sw_hamming_calculate(error_data, size, calc_ecc, sm_order); in no_bit_error_verify()
156 ecc_sw_hamming_calculate(error_data, size, calc_ecc, sm_order); in single_bit_error_correct()
193 ecc_sw_hamming_calculate(error_data, size, calc_ecc, sm_order); in double_bit_error_detect()
270 ecc_sw_hamming_calculate(correct_data, size, correct_ecc, sm_order); in nand_ecc_test_run()
/openbmc/linux/drivers/mtd/nand/
H A Decc-sw-hamming.c115 int ecc_sw_hamming_calculate(const unsigned char *buf, unsigned int step_size, in ecc_sw_hamming_calculate() function
354 EXPORT_SYMBOL(ecc_sw_hamming_calculate);
369 return ecc_sw_hamming_calculate(buf, step_size, code, sm_order); in nand_ecc_sw_hamming_calculate()
/openbmc/linux/drivers/mtd/
H A Dsm_ftl.c222 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector()
229 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); in sm_correct_sector()
400 ecc_sw_hamming_calculate(buf + boffset, in sm_write_block()
404 ecc_sw_hamming_calculate(buf + boffset + SM_SMALL_PAGE, in sm_write_block()