Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dxiphera_trng.c38 static vaddr_t xiphera_trng_base; variable
44 status = io_read32(xiphera_trng_base + STATUS_REG); in xiphera_trng_random_available()
53 value = io_read32(xiphera_trng_base + RAND_REG); in xiphera_trng_read32()
59 io_write32(xiphera_trng_base + CONTROL_REG, HOST_TO_TRNG_READ); in xiphera_trng_read32()
60 io_write32(xiphera_trng_base + CONTROL_REG, HOST_TO_TRNG_ENABLE); in xiphera_trng_read32()
77 assert(xiphera_trng_base); in hw_get_random_bytes()
108 if (xiphera_trng_base) { in xiphera_trng_probe()
127 status = io_read32(xiphera_trng_base + STATUS_REG); in xiphera_trng_probe()
135 status = io_read32(xiphera_trng_base + STATUS_REG); in xiphera_trng_probe()
149 io_write32(xiphera_trng_base + CONTROL_REG, in xiphera_trng_probe()
[all …]

Completed in 3 milliseconds