1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * linux/include/linux/timeriomem-rng.h
4  *
5  * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
6  */
7 
8 #ifndef _LINUX_TIMERIOMEM_RNG_H
9 #define _LINUX_TIMERIOMEM_RNG_H
10 
11 struct timeriomem_rng_data {
12 	void __iomem		*address;
13 
14 	/* measures in usecs */
15 	unsigned int		period;
16 
17 	/* bits of entropy per 1024 bits read */
18 	unsigned int		quality;
19 };
20 
21 #endif /* _LINUX_TIMERIOMEM_RNG_H */
22