David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * linux/include/linux/timeriomem-rng.h |
| 4 | * |
| 5 | * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 8 | #ifndef _LINUX_TIMERIOMEM_RNG_H |
| 9 | #define _LINUX_TIMERIOMEM_RNG_H |
| 10 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | }; |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 20 | |
| 21 | #endif /* _LINUX_TIMERIOMEM_RNG_H */ |