Linux Kernel
3.7.1
|
#include <crypto/padlock.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/hw_random.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/msr.h>
#include <asm/cpufeature.h>
#include <asm/i387.h>
Go to the source code of this file.
Enumerations | |
enum | { VIA_STRFILT_CNT_SHIFT = 16, VIA_STRFILT_FAIL = (1 << 15), VIA_STRFILT_ENABLE = (1 << 14), VIA_RAWBITS_ENABLE = (1 << 13), VIA_RNG_ENABLE = (1 << 6), VIA_NOISESRC1 = (1 << 8), VIA_NOISESRC2 = (1 << 9), VIA_XSTORE_CNT_MASK = 0x0F, VIA_RNG_CHUNK_8 = 0x00, VIA_RNG_CHUNK_4 = 0x01, VIA_RNG_CHUNK_4_MASK = 0xFFFFFFFF, VIA_RNG_CHUNK_2 = 0x02, VIA_RNG_CHUNK_2_MASK = 0xFFFF, VIA_RNG_CHUNK_1 = 0x03, VIA_RNG_CHUNK_1_MASK = 0xFF } |
Functions | |
module_init (mod_init) | |
module_exit (mod_exit) | |
MODULE_DESCRIPTION ("H/W RNG driver for VIA CPU with PadLock") | |
MODULE_LICENSE ("GPL") | |
anonymous enum |
module_exit | ( | mod_exit | ) |
module_init | ( | mod_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |