blob: 672df7fbf6c13e165984a5daab7b95fdd9fdede8 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * linux/include/linux/timeriomem-rng.h
4 *
5 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
7
David Brazdil0f672f62019-12-10 10:32:29 +00008#ifndef _LINUX_TIMERIOMEM_RNG_H
9#define _LINUX_TIMERIOMEM_RNG_H
10
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000011struct 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 Brazdil0f672f62019-12-10 10:32:29 +000020
21#endif /* _LINUX_TIMERIOMEM_RNG_H */