Searched refs:correction_code (Results 1 – 1 of 1) sorted by relevance
188 uint8_t correction_code[4]; in hamming_correct_256() local191 correction_code[3] = 0; in hamming_correct_256()194 correction_code[0] = computed_code[0] ^ original_code[0]; in hamming_correct_256()195 correction_code[1] = computed_code[1] ^ original_code[1]; in hamming_correct_256()196 correction_code[2] = computed_code[2] ^ original_code[2]; in hamming_correct_256()199 if (*(uint32_t *)correction_code == 0) { in hamming_correct_256()203 if (popcount32(*(uint32_t *)correction_code) == 11) { in hamming_correct_256()205 uint8_t byte = correction_code[0] & 0x80; in hamming_correct_256()206 byte |= (correction_code[0] << 1) & 0x40; in hamming_correct_256()207 byte |= (correction_code[0] << 2) & 0x20; in hamming_correct_256()[all …]