1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 29c3c133bSAlexander Clouter /* 39c3c133bSAlexander Clouter * linux/include/linux/timeriomem-rng.h 49c3c133bSAlexander Clouter * 59c3c133bSAlexander Clouter * Copyright (c) 2009 Alexander Clouter <[email protected]> 69c3c133bSAlexander Clouter */ 79c3c133bSAlexander Clouter 8*2ef54047SMasahiro Yamada #ifndef _LINUX_TIMERIOMEM_RNG_H 9*2ef54047SMasahiro Yamada #define _LINUX_TIMERIOMEM_RNG_H 10*2ef54047SMasahiro Yamada 119c3c133bSAlexander Clouter struct timeriomem_rng_data { 123341323bSAlexander Clouter void __iomem *address; 139c3c133bSAlexander Clouter 149c3c133bSAlexander Clouter /* measures in usecs */ 159c3c133bSAlexander Clouter unsigned int period; 16284e7638SRick Altherr 17284e7638SRick Altherr /* bits of entropy per 1024 bits read */ 18284e7638SRick Altherr unsigned int quality; 199c3c133bSAlexander Clouter }; 20*2ef54047SMasahiro Yamada 21*2ef54047SMasahiro Yamada #endif /* _LINUX_TIMERIOMEM_RNG_H */ 22