Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dimx_rngb.c68 } rngb = { variable
122 rngb.base.pa, rngb.size); in map_controller_static()
123 if (!rngb.base.va) in map_controller_static()
160 if (dt_map_dev(fdt, off, &rngb.base.va, &rngb.size, DT_MAP_AUTO) < 0) in map_controller()
163 rngb.base.pa = virt_to_phys((void *)rngb.base.va); in map_controller()
175 if (!rngb.ready) in hw_get_random_bytes()
179 status = io_read32(rngb.base.va + RNG_SR); in hw_get_random_bytes()
184 val = io_read32(rngb.base.va + RNG_OUT); in hw_get_random_bytes()
210 type = RNG_TYPE(io_read32(rngb.base.va + RNG_VER)); in rngb_init()
214 rng_seed(&rngb); in rngb_init()
[all …]

Completed in 2 milliseconds