Home
last modified time | relevance | path

Searched refs:lfsr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/soc/fsl/qbman/
H A Dqman_test_stash.c214 u32 lfsr = HP_FIRST_WORD; in allocate_frame_data() local
230 frame_ptr[loop] = lfsr; in allocate_frame_data()
231 lfsr = do_lfsr(lfsr); in allocate_frame_data()
256 u32 lfsr = HP_FIRST_WORD; in process_frame_data() local
266 if (*p != lfsr) { in process_frame_data()
271 lfsr = do_lfsr(lfsr); in process_frame_data()
445 u32 lfsr = 0xdeadbeef; in init_phase2() local
473 lfsr = do_lfsr(lfsr); in init_phase2()
483 handler->rx_mixer = lfsr; in init_phase2()
534 if (*p != lfsr) { in send_first_frame()
[all …]
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dmrc_util.c1333 uint32_t lfsr; in lfsr32() local
1336 lfsr = *lfsr_ptr; in lfsr32()
1339 bit = 1 ^ (lfsr & 1); in lfsr32()
1340 bit = bit ^ ((lfsr & 2) >> 1); in lfsr32()
1341 bit = bit ^ ((lfsr & 4) >> 2); in lfsr32()
1342 bit = bit ^ ((lfsr & 0x400000) >> 22); in lfsr32()
1344 lfsr = ((lfsr >> 1) | (bit << 31)); in lfsr32()
1347 *lfsr_ptr = lfsr; in lfsr32()
H A Dsmc.c2307 uint32_t lfsr = 0; in enable_scrambling() local
2316 lfsr = mrc_params->timings.scrambler_seed; in enable_scrambling()
2323 if (lfsr == 0) { in enable_scrambling()
2328 lfsr = rdtsc() & 0x0fffffff; in enable_scrambling()
2337 lfsr32(&lfsr); in enable_scrambling()
2341 mrc_params->timings.scrambler_seed = lfsr; in enable_scrambling()
2348 lfsr32(&lfsr); /* shift to next value */ in enable_scrambling()
2349 msg_port_write(MEM_CTLR, SCRMSEED, (lfsr & 0x0003ffff)); in enable_scrambling()
2352 msg_port_write(MEM_CTLR, SCRMLO + i, (lfsr & 0xaaaaaaaa)); in enable_scrambling()
/openbmc/linux/tools/perf/bench/
H A Dnuma.c790 static inline uint32_t lfsr_32(uint32_t lfsr) in lfsr_32() argument
793 return (lfsr>>1) ^ ((0x0u - (lfsr & 0x1u)) & taps); in lfsr_32()
849 u32 lfsr = nr + loop + val; in do_work() local
855 lfsr = lfsr_32(lfsr); in do_work()
857 start = lfsr % words; in do_work()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-agl-defs.h1632 uint64_t lfsr:16; member
1634 uint64_t lfsr:16;