Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 1 | /* |
| 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 Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 11 | struct timeriomem_rng_data { |
Alexander Clouter | 3341323 | 2009-03-27 12:59:54 +0800 | [diff] [blame] | 12 | void __iomem *address; |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 13 | |
| 14 | /* measures in usecs */ |
| 15 | unsigned int period; |
Rick Altherr | 284e763 | 2017-05-22 14:12:24 -0700 | [diff] [blame] | 16 | |
| 17 | /* bits of entropy per 1024 bits read */ |
| 18 | unsigned int quality; |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 19 | }; |