Searched refs:rng_ops (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | rng.c | 71 struct ath_softc *sc = container_of(rng, struct ath_softc, rng_ops); in ath9k_rng_read() 100 if (sc->rng_ops.read) in ath9k_rng_start() 108 sc->rng_ops.name = sc->rng_name; in ath9k_rng_start() 109 sc->rng_ops.read = ath9k_rng_read; in ath9k_rng_start() 110 sc->rng_ops.quality = 320; in ath9k_rng_start() 112 if (devm_hwrng_register(sc->dev, &sc->rng_ops)) in ath9k_rng_start() 113 sc->rng_ops.read = NULL; in ath9k_rng_start() 118 if (sc->rng_ops.read) { in ath9k_rng_stop() 119 devm_hwrng_unregister(sc->dev, &sc->rng_ops); in ath9k_rng_stop() 120 sc->rng_ops.read = NULL; in ath9k_rng_stop()
|
H A D | ath9k.h | 1075 struct hwrng rng_ops; member
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | timeriomem-rng.c | 41 struct hwrng rng_ops; member 48 container_of(hwrng, struct timeriomem_rng_private, rng_ops); in timeriomem_rng_read() 147 priv->rng_ops.quality = i; in timeriomem_rng_probe() 150 priv->rng_ops.quality = pdata->quality; in timeriomem_rng_probe() 158 priv->rng_ops.name = dev_name(&pdev->dev); in timeriomem_rng_probe() 159 priv->rng_ops.read = timeriomem_rng_read; in timeriomem_rng_probe() 165 err = devm_hwrng_register(&pdev->dev, &priv->rng_ops); in timeriomem_rng_probe()
|
/openbmc/qemu/hw/misc/ |
H A D | nrf51_rng.c | 140 static const MemoryRegionOps rng_ops = { variable 191 memory_region_init_io(&s->mmio, obj, &rng_ops, s, in nrf51_rng_init()
|
/openbmc/qemu/hw/timer/ |
H A D | nrf51_timer.c | 309 static const MemoryRegionOps rng_ops = { variable 322 memory_region_init_io(&s->iomem, obj, &rng_ops, s, in nrf51_timer_init()
|