blob: 3e08a1c86830cafe031e0eea27e2eb0ee07ba4b7 [file] [log] [blame]
Alexander Clouter9c3c1332009-02-22 12:03:56 +08001/*
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
11#include <linux/completion.h>
12
13struct timeriomem_rng_data {
14 struct completion completion;
15 unsigned int present:1;
16
Alexander Clouter33413232009-03-27 12:59:54 +080017 void __iomem *address;
Alexander Clouter9c3c1332009-02-22 12:03:56 +080018
19 /* measures in usecs */
20 unsigned int period;
21};