linux/drivers/char/hw_random/omap3-rom-rng.c

/*
 * omap3-rom-rng.c - RNG driver for TI OMAP3 CPU family
 *
 * Copyright (C) 2009 Nokia Corporation
 * Author: Juha Yrjola <[email protected]>
 *
 * Copyright (C) 2013 Pali Rohár <[email protected]>
 *
 * This file is licensed under  the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/random.h>
#include <linux/hw_random.h>
#include <linux/workqueue.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>

#define RNG_RESET
#define RNG_GEN_PRNG_HW_INIT
#define RNG_GEN_HW

struct omap_rom_rng {};

static int omap3_rom_rng_read(struct hwrng *rng, void *data, size_t max, bool w)
{}

static int __maybe_unused omap_rom_rng_runtime_suspend(struct device *dev)
{}

static int __maybe_unused omap_rom_rng_runtime_resume(struct device *dev)
{}

static void omap_rom_rng_finish(void *data)
{}

static int omap3_rom_rng_probe(struct platform_device *pdev)
{}

static const struct of_device_id omap_rom_rng_match[] =;
MODULE_DEVICE_TABLE(of, omap_rom_rng_match);

static const struct dev_pm_ops omap_rom_rng_pm_ops =;

static struct platform_driver omap3_rom_rng_driver =;

module_platform_driver();

MODULE_ALIAS();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();