Linux Kernel
3.7.1
|
#include <linux/hw_random.h>
#include <linux/completion.h>
#include <linux/atomic.h>
#include "compat.h"
#include "regs.h"
#include "intern.h"
#include "desc_constr.h"
#include "jr.h"
#include "error.h"
Go to the source code of this file.
Data Structures | |
struct | buf_data |
struct | caam_rng_ctx |
Macros | |
#define | RN_BUF_SIZE |
#define | DESC_JOB_O_LEN (CAAM_CMD_SZ * 2 + CAAM_PTR_SZ * 2) |
#define | DESC_RNG_LEN (10 * CAAM_CMD_SZ) |
#define | BUF_NOT_EMPTY 0 |
#define | BUF_EMPTY 1 |
#define | BUF_PENDING 2 /* Empty, but with job pending --don't submit another */ |
Functions | |
module_init (caam_rng_init) | |
module_exit (caam_rng_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("FSL CAAM support for hw_random API") | |
MODULE_AUTHOR ("Freescale Semiconductor - NMG") | |
#define BUF_PENDING 2 /* Empty, but with job pending --don't submit another */ |
#define DESC_JOB_O_LEN (CAAM_CMD_SZ * 2 + CAAM_PTR_SZ * 2) |
#define DESC_RNG_LEN (10 * CAAM_CMD_SZ) |
#define RN_BUF_SIZE |
MODULE_AUTHOR | ( | "Freescale Semiconductor - NMG" | ) |
module_exit | ( | caam_rng_exit | ) |
module_init | ( | caam_rng_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |