Home
last modified time | relevance | path

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

/drivers/mtd/tests/
Dmtd_nandecctest.c44 static void single_bit_error_data(void *error_data, void *correct_data, in single_bit_error_data() argument
49 memcpy(error_data, correct_data, size); in single_bit_error_data()
53 static void double_bit_error_data(void *error_data, void *correct_data, in double_bit_error_data() argument
63 memcpy(error_data, correct_data, size); in double_bit_error_data()
110 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error() argument
112 memcpy(error_data, correct_data, size); in no_bit_error()
117 void *correct_data, const size_t size) in no_bit_error_verify() argument
124 if (ret == 0 && !memcmp(correct_data, error_data, size)) in no_bit_error_verify()
131 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data() argument
133 single_bit_error_data(error_data, correct_data, size); in single_bit_error_in_data()
[all …]
/drivers/staging/keucr/
Dsmilecc.c130 BYTE correct_data(BYTE *data, BYTE *eccdata, BYTE ecc1, BYTE ecc2, BYTE ecc3) in correct_data() function
195 err = correct_data(buf, redundant_ecc, *(calculate_ecc + 1), in _Correct_D_SwECC()
Dsmil.h305 BYTE correct_data(BYTE *, BYTE *, BYTE, BYTE, BYTE);
/drivers/mtd/nand/
Dmxc_nand.c153 int (*correct_data)(struct mtd_info *mtd, u_char *dat, member
1176 .correct_data = mxc_nand_correct_data_v1,
1201 .correct_data = mxc_nand_correct_data_v1,
1227 .correct_data = mxc_nand_correct_data_v2_v3,
1253 .correct_data = mxc_nand_correct_data_v2_v3,
1280 .correct_data = mxc_nand_correct_data_v2_v3,
1485 this->ecc.correct = host->devtype_data->correct_data; in mxcnd_probe()
Dalauda.c174 static void correct_data(void *buf, void *read_ecc, in correct_data() function
263 correct_data(buf, oob+13, corrected, uncorrected); in alauda_read_page()
264 correct_data(buf+256, oob+8, corrected, uncorrected); in alauda_read_page()
Ddocg4.c374 static int correct_data(struct mtd_info *mtd, uint8_t *buf, int page) in correct_data() function
812 bits_corrected = correct_data(mtd, buf, page); in read_page()