Searched refs:correct_data (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/tests/ |
D | mtd_nandecctest.c | 46 static void single_bit_error_data(void *error_data, void *correct_data, in single_bit_error_data() argument 51 memcpy(error_data, correct_data, size); in single_bit_error_data() 55 static void double_bit_error_data(void *error_data, void *correct_data, in double_bit_error_data() argument 65 memcpy(error_data, correct_data, size); in double_bit_error_data() 112 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error() argument 114 memcpy(error_data, correct_data, size); in no_bit_error() 119 void *correct_data, const size_t size) in no_bit_error_verify() argument 126 if (ret == 0 && !memcmp(correct_data, error_data, size)) in no_bit_error_verify() 133 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data() argument 135 single_bit_error_data(error_data, correct_data, size); in single_bit_error_in_data() [all …]
|
/drivers/mtd/nand/ |
D | mxc_nand.c | 154 int (*correct_data)(struct mtd_info *mtd, u_char *dat, member 1281 .correct_data = mxc_nand_correct_data_v1, 1306 .correct_data = mxc_nand_correct_data_v1, 1332 .correct_data = mxc_nand_correct_data_v2_v3, 1358 .correct_data = mxc_nand_correct_data_v2_v3, 1385 .correct_data = mxc_nand_correct_data_v2_v3, 1589 this->ecc.correct = host->devtype_data->correct_data; in mxcnd_probe()
|
D | docg4.c | 371 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()
|