Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
zcrypt_pcica.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
#include "ap_bus.h"
#include "zcrypt_api.h"
#include "zcrypt_error.h"
#include "zcrypt_pcica.h"

Go to the source code of this file.

Macros

#define PCICA_MIN_MOD_SIZE   1 /* 8 bits */
 
#define PCICA_MAX_MOD_SIZE   256 /* 2048 bits */
 
#define PCICA_SPEED_RATING   2800
 
#define PCICA_MAX_MESSAGE_SIZE   0x3a0 /* sizeof(struct type4_lcr) */
 
#define PCICA_MAX_RESPONSE_SIZE   0x110 /* max outputdatalength + type80_hdr */
 
#define PCICA_CLEANUP_TIME   (15*HZ)
 

Functions

 MODULE_DEVICE_TABLE (ap, zcrypt_pcica_ids)
 
 MODULE_AUTHOR ("IBM Corporation")
 
 MODULE_DESCRIPTION ("PCICA Cryptographic Coprocessor device driver, ""Copyright IBM Corp. 2001, 2006")
 
 MODULE_LICENSE ("GPL")
 
int __init zcrypt_pcica_init (void)
 
void zcrypt_pcica_exit (void)
 
 module_init (zcrypt_pcica_init)
 
 module_exit (zcrypt_pcica_exit)
 

Macro Definition Documentation

#define PCICA_CLEANUP_TIME   (15*HZ)

Definition at line 47 of file zcrypt_pcica.c.

#define PCICA_MAX_MESSAGE_SIZE   0x3a0 /* sizeof(struct type4_lcr) */

Definition at line 44 of file zcrypt_pcica.c.

#define PCICA_MAX_MOD_SIZE   256 /* 2048 bits */

Definition at line 40 of file zcrypt_pcica.c.

#define PCICA_MAX_RESPONSE_SIZE   0x110 /* max outputdatalength + type80_hdr */

Definition at line 45 of file zcrypt_pcica.c.

#define PCICA_MIN_MOD_SIZE   1 /* 8 bits */

Definition at line 39 of file zcrypt_pcica.c.

#define PCICA_SPEED_RATING   2800

Definition at line 42 of file zcrypt_pcica.c.

Function Documentation

MODULE_AUTHOR ( "IBM Corporation"  )
MODULE_DESCRIPTION ( "PCICA Cryptographic Coprocessor device  driver,
""Copyright IBM Corp.  2001,
2006"   
)
MODULE_DEVICE_TABLE ( ap  ,
zcrypt_pcica_ids   
)
module_exit ( zcrypt_pcica_exit  )
module_init ( zcrypt_pcica_init  )
MODULE_LICENSE ( "GPL"  )
void zcrypt_pcica_exit ( void  )

Definition at line 403 of file zcrypt_pcica.c.

int __init zcrypt_pcica_init ( void  )

Definition at line 398 of file zcrypt_pcica.c.