Lines Matching refs:lfsr
2 * lfsr.c
30 v32_t lfsr;
34 lfsr.value = 1;
39 /* printf("%s\n", v32_bit_string(lfsr)); */
40 if (parity(mask.value & lfsr.value))
41 lfsr.value = ((lfsr.value << 1) | 1) & 0xff;
43 lfsr.value = (lfsr.value << 1) & 0xff;
46 if (lfsr.value == 1) {
142 /* set lfsr to 1 */
187 /* set lfsr to 1 */
225 /* set lfsr to 1 */