Searched defs:taps (Results 1 - 3 of 3) sorted by relevance

/external/fio/lib/
H A Dlfsr.h10 unsigned int taps[FIO_MAX_TAPS]; member in struct:lfsr_taps
H A Dlfsr.c8 * LFSR taps retrieved from:
144 static uint64_t lfsr_create_xormask(uint8_t *taps) argument
149 for(i = 0; i < FIO_MAX_TAPS && taps[i] != 0; i++)
150 xormask |= 1UL << (taps[i] - 1);
237 uint8_t *taps; local
239 taps = find_lfsr(nums);
240 if (!taps)
244 fl->xormask = lfsr_create_xormask(taps);
245 fl->cached_bit = 1UL << (taps[0] - 1);
/external/linux-tools-perf/src/tools/perf/bench/
H A Dnuma.c671 const uint32_t taps = BIT(1) | BIT(5) | BIT(6) | BIT(31); local
672 return (lfsr>>1) ^ ((0x0u - (lfsr & 0x1u)) & taps);

Completed in 3207 milliseconds