error_ecc 88 drivers/mtd/tests/mtd_nandecctest.c static void single_bit_error_ecc(void *error_ecc, void *correct_ecc, error_ecc 93 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); error_ecc 94 drivers/mtd/tests/mtd_nandecctest.c __change_bit_le(offset, error_ecc); error_ecc 97 drivers/mtd/tests/mtd_nandecctest.c static void double_bit_error_ecc(void *error_ecc, void *correct_ecc, error_ecc 107 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); error_ecc 108 drivers/mtd/tests/mtd_nandecctest.c __change_bit_le(offset[0], error_ecc); error_ecc 109 drivers/mtd/tests/mtd_nandecctest.c __change_bit_le(offset[1], error_ecc); error_ecc 112 drivers/mtd/tests/mtd_nandecctest.c static void no_bit_error(void *error_data, void *error_ecc, error_ecc 116 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); error_ecc 119 drivers/mtd/tests/mtd_nandecctest.c static int no_bit_error_verify(void *error_data, void *error_ecc, error_ecc 127 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, error_ecc 135 drivers/mtd/tests/mtd_nandecctest.c static void single_bit_error_in_data(void *error_data, void *error_ecc, error_ecc 139 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); error_ecc 142 drivers/mtd/tests/mtd_nandecctest.c static void single_bit_error_in_ecc(void *error_data, void *error_ecc, error_ecc 146 drivers/mtd/tests/mtd_nandecctest.c single_bit_error_ecc(error_ecc, correct_ecc, size); error_ecc 149 drivers/mtd/tests/mtd_nandecctest.c static int single_bit_error_correct(void *error_data, void *error_ecc, error_ecc 157 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, error_ecc 165 drivers/mtd/tests/mtd_nandecctest.c static void double_bit_error_in_data(void *error_data, void *error_ecc, error_ecc 169 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); error_ecc 172 drivers/mtd/tests/mtd_nandecctest.c static void single_bit_error_in_data_and_ecc(void *error_data, void *error_ecc, error_ecc 176 drivers/mtd/tests/mtd_nandecctest.c single_bit_error_ecc(error_ecc, correct_ecc, size); error_ecc 179 drivers/mtd/tests/mtd_nandecctest.c static void double_bit_error_in_ecc(void *error_data, void *error_ecc, error_ecc 183 drivers/mtd/tests/mtd_nandecctest.c double_bit_error_ecc(error_ecc, correct_ecc, size); error_ecc 186 drivers/mtd/tests/mtd_nandecctest.c static int double_bit_error_detect(void *error_data, void *error_ecc, error_ecc 194 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, error_ecc 233 drivers/mtd/tests/mtd_nandecctest.c static void dump_data_ecc(void *error_data, void *error_ecc, void *correct_data, error_ecc 240 drivers/mtd/tests/mtd_nandecctest.c DUMP_PREFIX_NONE, 16, 1, error_ecc, 3, false); error_ecc 254 drivers/mtd/tests/mtd_nandecctest.c void *error_ecc; error_ecc 259 drivers/mtd/tests/mtd_nandecctest.c error_ecc = kmalloc(3, GFP_KERNEL); error_ecc 263 drivers/mtd/tests/mtd_nandecctest.c if (!error_data || !error_ecc || !correct_data || !correct_ecc) { error_ecc 273 drivers/mtd/tests/mtd_nandecctest.c nand_ecc_test[i].prepare(error_data, error_ecc, error_ecc 275 drivers/mtd/tests/mtd_nandecctest.c err = nand_ecc_test[i].verify(error_data, error_ecc, error_ecc 281 drivers/mtd/tests/mtd_nandecctest.c dump_data_ecc(error_data, error_ecc, error_ecc 294 drivers/mtd/tests/mtd_nandecctest.c kfree(error_ecc);