Home
last modified time | relevance | path

Searched refs:test_ecc (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_ecc.c136 const unsigned char *test_ecc) in yaffs_ecc_correct() argument
140 d0 = read_ecc[0] ^ test_ecc[0]; in yaffs_ecc_correct()
141 d1 = read_ecc[1] ^ test_ecc[1]; in yaffs_ecc_correct()
142 d2 = read_ecc[2] ^ test_ecc[2]; in yaffs_ecc_correct()
189 read_ecc[0] = test_ecc[0]; in yaffs_ecc_correct()
190 read_ecc[1] = test_ecc[1]; in yaffs_ecc_correct()
191 read_ecc[2] = test_ecc[2]; in yaffs_ecc_correct()
233 const struct yaffs_ecc_other *test_ecc) in yaffs_ecc_correct_other() argument
240 delta_col = read_ecc->col_parity ^ test_ecc->col_parity; in yaffs_ecc_correct_other()
241 delta_line = read_ecc->line_parity ^ test_ecc->line_parity; in yaffs_ecc_correct_other()
[all …]
H A Dyaffs_ecc.h37 const unsigned char *test_ecc);
43 const struct yaffs_ecc_other *test_ecc);