timeriomem-rng.h 497 B

12345678910111213141516171819202122
  1. /*
  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. #include <linux/completion.h>
  11. struct timeriomem_rng_data {
  12. struct completion completion;
  13. unsigned int present:1;
  14. void __iomem *address;
  15. /* measures in usecs */
  16. unsigned int period;
  17. };