Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_rng-test.c52 static uint8_t rng_readb(unsigned int offset) in rng_readb() function
78 if (rng_readb(RNGCS) & DVALID) { in rng_wait_ready()
153 g_assert_cmphex(rng_readb(RNGCS), ==, 0); in test_enable_disable()
154 g_assert_cmphex(rng_readb(RNGD), ==, 0); in test_enable_disable()
159 g_assert_cmphex(rng_readb(RNGCS), ==, DVALID | RNGE); in test_enable_disable()
163 g_assert_cmphex(rng_readb(RNGCS), ==, 0); in test_enable_disable()
164 g_assert_cmphex(rng_readb(RNGD), ==, 0); in test_enable_disable()
195 buf[i] = rng_readb(RNGD); in test_continuous_monobit()
217 buf.c[i] = rng_readb(RNGD); in test_continuous_runs()
238 buf[i] = rng_readb(RNGD); in test_first_byte_monobit()
[all …]