Lines Matching refs:value
50 r = s->value; in rng_read()
86 uint64_t value, unsigned int size) in rng_write() argument
92 if (value == NRF51_TRIGGER_TASK) { in rng_write()
98 if (value == NRF51_TRIGGER_TASK) { in rng_write()
104 if (value == NRF51_EVENT_CLEAR) { in rng_write()
110 (value & BIT_MASK(NRF51_RNG_REG_SHORTS_VALRDY_STOP)) ? 1 : 0; in rng_write()
114 (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) ? 1 : 0; in rng_write()
117 if (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) { in rng_write()
122 if (value & BIT_MASK(NRF51_RNG_REG_INTEN_VALRDY)) { in rng_write()
128 (value & BIT_MASK(NRF51_RNG_REG_CONFIG_DECEN)) ? 1 : 0; in rng_write()
152 qemu_guest_getrandom_nofail(&s->value, 1); in nrf51_rng_timer_expire()
211 s->value = 0; in nrf51_rng_reset()