timeriomem-rng.h 432 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * linux/include/linux/timeriomem-rng.h
  4. *
  5. * Copyright (c) 2009 Alexander Clouter <[email protected]>
  6. */
  7. #ifndef _LINUX_TIMERIOMEM_RNG_H
  8. #define _LINUX_TIMERIOMEM_RNG_H
  9. struct timeriomem_rng_data {
  10. void __iomem *address;
  11. /* measures in usecs */
  12. unsigned int period;
  13. /* bits of entropy per 1024 bits read */
  14. unsigned int quality;
  15. };
  16. #endif /* _LINUX_TIMERIOMEM_RNG_H */