Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 2 | /* |
| 3 | * linux/include/linux/timeriomem-rng.h |
| 4 | * |
| 5 | * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk> |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 6 | */ |
| 7 | |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 8 | struct timeriomem_rng_data { |
Alexander Clouter | 3341323 | 2009-03-27 12:59:54 +0800 | [diff] [blame] | 9 | void __iomem *address; |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 10 | |
| 11 | /* measures in usecs */ |
| 12 | unsigned int period; |
Rick Altherr | 284e763 | 2017-05-22 14:12:24 -0700 | [diff] [blame] | 13 | |
| 14 | /* bits of entropy per 1024 bits read */ |
| 15 | unsigned int quality; |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 16 | }; |