Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/hw_random.h>
#include <linux/delay.h>
#include <linux/of_platform.h>
#include <asm/io.h>
Go to the source code of this file.
Macros | |
#define | PPC4XX_TRNG_DEV_CTRL 0x60080 |
#define | PPC4XX_TRNGE 0x00020000 |
#define | PPC4XX_TRNG_CTRL 0x0008 |
#define | PPC4XX_TRNG_CTRL_DALM 0x20 |
#define | PPC4XX_TRNG_STAT 0x0004 |
#define | PPC4XX_TRNG_STAT_B 0x1 |
#define | PPC4XX_TRNG_DATA 0x0000 |
#define | MODULE_NAME "ppc4xx_rng" |
Functions | |
module_platform_driver (ppc4xx_rng_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Josh Boyer <[email protected]>") | |
MODULE_DESCRIPTION ("HW RNG driver for PPC 4xx processors") | |
#define MODULE_NAME "ppc4xx_rng" |
Definition at line 28 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_CTRL 0x0008 |
Definition at line 22 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_CTRL_DALM 0x20 |
Definition at line 23 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_DATA 0x0000 |
Definition at line 26 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_DEV_CTRL 0x60080 |
Definition at line 19 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_STAT 0x0004 |
Definition at line 24 of file ppc4xx-rng.c.
#define PPC4XX_TRNG_STAT_B 0x1 |
Definition at line 25 of file ppc4xx-rng.c.
#define PPC4XX_TRNGE 0x00020000 |
Definition at line 21 of file ppc4xx-rng.c.
MODULE_AUTHOR | ( | "Josh Boyer <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | ppc4xx_rng_driver | ) |