blob: 3e00122bcf887d6ef15c46f1b2df7f3cfb51381d [file] [log] [blame]
Alexander Clouter9c3c1332009-02-22 12:03:56 +08001/*
2 * linux/include/linux/timeriomem-rng.h
3 *
4 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
Alexander Clouter9c3c1332009-02-22 12:03:56 +080011struct timeriomem_rng_data {
Alexander Clouter33413232009-03-27 12:59:54 +080012 void __iomem *address;
Alexander Clouter9c3c1332009-02-22 12:03:56 +080013
14 /* measures in usecs */
15 unsigned int period;
Rick Altherr284e7632017-05-22 14:12:24 -070016
17 /* bits of entropy per 1024 bits read */
18 unsigned int quality;
Alexander Clouter9c3c1332009-02-22 12:03:56 +080019};