Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tx4939-rng.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/hw_random.h>
#include <linux/gfp.h>

Go to the source code of this file.

Data Structures

struct  tx4939_rng
 

Macros

#define TX4939_RNG_RCSR   0x00000000
 
#define TX4939_RNG_ROR(n)   (0x00000018 + (n) * 8)
 
#define TX4939_RNG_RCSR_INTE   0x00000008
 
#define TX4939_RNG_RCSR_RST   0x00000004
 
#define TX4939_RNG_RCSR_FIN   0x00000002
 
#define TX4939_RNG_RCSR_ST   0x00000001
 

Functions

 module_init (tx4939rng_init)
 
 module_exit (tx4939rng_exit)
 
 MODULE_DESCRIPTION ("H/W Random Number Generator (RNG) driver for TX4939")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define TX4939_RNG_RCSR   0x00000000

Definition at line 19 of file tx4939-rng.c.

#define TX4939_RNG_RCSR_FIN   0x00000002

Definition at line 24 of file tx4939-rng.c.

#define TX4939_RNG_RCSR_INTE   0x00000008

Definition at line 22 of file tx4939-rng.c.

#define TX4939_RNG_RCSR_RST   0x00000004

Definition at line 23 of file tx4939-rng.c.

#define TX4939_RNG_RCSR_ST   0x00000001

Definition at line 25 of file tx4939-rng.c.

#define TX4939_RNG_ROR (   n)    (0x00000018 + (n) * 8)

Definition at line 20 of file tx4939-rng.c.

Function Documentation

MODULE_DESCRIPTION ( "H/W Random Number Generator (RNG) driver for TX4939"  )
module_exit ( tx4939rng_exit  )
module_init ( tx4939rng_init  )
MODULE_LICENSE ( "GPL"  )