Home
last modified time | relevance | path

Searched refs:correct_data (Results 1 – 3 of 3) 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/mtd/nand/
Dmxc_nand.c154 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,
1484 this->ecc.correct = host->devtype_data->correct_data; in mxcnd_probe()
Ddocg4.c371 static int correct_data(struct mtd_info *mtd, uint8_t *buf, int page) in correct_data() function
809 bits_corrected = correct_data(mtd, buf, page); in read_page()