blob: 672df7fbf6c13e165984a5daab7b95fdd9fdede8 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Alexander Clouter9c3c1332009-02-22 12:03:56 +08002/*
3 * linux/include/linux/timeriomem-rng.h
4 *
5 * Copyright (c) 2009 Alexander Clouter <[email protected]>
Alexander Clouter9c3c1332009-02-22 12:03:56 +08006 */
7
Masahiro Yamada2ef54042019-07-29 00:32:36 +09008#ifndef _LINUX_TIMERIOMEM_RNG_H
9#define _LINUX_TIMERIOMEM_RNG_H
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};
Masahiro Yamada2ef54042019-07-29 00:32:36 +090020
21#endif /* _LINUX_TIMERIOMEM_RNG_H */