correct_ecc 88 drivers/mtd/tests/mtd_nandecctest.c static void single_bit_error_ecc(void *error_ecc, void *correct_ecc, correct_ecc 93 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); correct_ecc 97 drivers/mtd/tests/mtd_nandecctest.c static void double_bit_error_ecc(void *error_ecc, void *correct_ecc, correct_ecc 107 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); correct_ecc 113 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 116 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); correct_ecc 136 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 139 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); correct_ecc 143 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 146 drivers/mtd/tests/mtd_nandecctest.c single_bit_error_ecc(error_ecc, correct_ecc, size); correct_ecc 166 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 169 drivers/mtd/tests/mtd_nandecctest.c memcpy(error_ecc, correct_ecc, 3); correct_ecc 173 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 176 drivers/mtd/tests/mtd_nandecctest.c single_bit_error_ecc(error_ecc, correct_ecc, size); correct_ecc 180 drivers/mtd/tests/mtd_nandecctest.c void *correct_data, void *correct_ecc, const size_t size) correct_ecc 183 drivers/mtd/tests/mtd_nandecctest.c double_bit_error_ecc(error_ecc, correct_ecc, size); correct_ecc 234 drivers/mtd/tests/mtd_nandecctest.c void *correct_ecc, const size_t size) correct_ecc 246 drivers/mtd/tests/mtd_nandecctest.c DUMP_PREFIX_NONE, 16, 1, correct_ecc, 3, false); correct_ecc 256 drivers/mtd/tests/mtd_nandecctest.c void *correct_ecc; correct_ecc 261 drivers/mtd/tests/mtd_nandecctest.c correct_ecc = kmalloc(3, GFP_KERNEL); correct_ecc 263 drivers/mtd/tests/mtd_nandecctest.c if (!error_data || !error_ecc || !correct_data || !correct_ecc) { correct_ecc 269 drivers/mtd/tests/mtd_nandecctest.c __nand_calculate_ecc(correct_data, size, correct_ecc, correct_ecc 274 drivers/mtd/tests/mtd_nandecctest.c correct_data, correct_ecc, size); correct_ecc 282 drivers/mtd/tests/mtd_nandecctest.c correct_data, correct_ecc, size); correct_ecc 296 drivers/mtd/tests/mtd_nandecctest.c kfree(correct_ecc);