Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Dn2rng.h106 #define N2RNG_FLAG_BUFFER_VALID 0x00000020 /* u32 buffer holds valid data */ macro
H A Dn2-drv.c427 } else if (np->flags & N2RNG_FLAG_BUFFER_VALID) { in n2rng_data_read()
428 np->flags &= ~N2RNG_FLAG_BUFFER_VALID; in n2rng_data_read()
434 np->flags |= N2RNG_FLAG_BUFFER_VALID; in n2rng_data_read()