#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/hrtimer.h>
#include <linux/hw_random.h>
#include <linux/io.h>
#include <linux/ktime.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/timeriomem-rng.h>
struct timeriomem_rng_private { … };
static int timeriomem_rng_read(struct hwrng *hwrng, void *data,
size_t max, bool wait)
{ … }
static enum hrtimer_restart timeriomem_rng_trigger(struct hrtimer *timer)
{ … }
static int timeriomem_rng_probe(struct platform_device *pdev)
{ … }
static void timeriomem_rng_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id timeriomem_rng_match[] = …;
MODULE_DEVICE_TABLE(of, timeriomem_rng_match);
static struct platform_driver timeriomem_rng_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;