Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
tpm_nsc.c File Reference
#include <linux/platform_device.h>
#include <linux/slab.h>
#include "tpm.h"

Go to the source code of this file.

Enumerations

enum  tpm_nsc_addr {
  TPM_NSC_IRQ = 0x07, TPM_NSC_BASE0_HI = 0x60, TPM_NSC_BASE0_LO = 0x61, TPM_NSC_BASE1_HI = 0x62,
  TPM_NSC_BASE1_LO = 0x63
}
 
enum  tpm_nsc_index {
  NSC_LDN_INDEX = 0x07, NSC_SID_INDEX = 0x20, NSC_LDC_INDEX = 0x30, NSC_DIO_INDEX = 0x60,
  NSC_CIO_INDEX = 0x62, NSC_IRQ_INDEX = 0x70, NSC_ITS_INDEX = 0x71
}
 
enum  tpm_nsc_status_loc { NSC_STATUS = 0x01, NSC_COMMAND = 0x01, NSC_DATA = 0x00 }
 
enum  tpm_nsc_status {
  NSC_STATUS_OBF = 0x01, NSC_STATUS_IBF = 0x02, NSC_STATUS_F0 = 0x04, NSC_STATUS_A2 = 0x08,
  NSC_STATUS_RDY = 0x10, NSC_STATUS_IBR = 0x20
}
 
enum  tpm_nsc_cmd_mode { NSC_COMMAND_NORMAL = 0x01, NSC_COMMAND_EOC = 0x03, NSC_COMMAND_CANCEL = 0x22 }
 

Functions

 module_init (init_nsc)
 
 module_exit (cleanup_nsc)
 
 MODULE_AUTHOR ("Leendert van Doorn ([email protected])")
 
 MODULE_DESCRIPTION ("TPM Driver")
 
 MODULE_VERSION ("2.0")
 
 MODULE_LICENSE ("GPL")
 

Enumeration Type Documentation

Enumerator:
TPM_NSC_IRQ 
TPM_NSC_BASE0_HI 
TPM_NSC_BASE0_LO 
TPM_NSC_BASE1_HI 
TPM_NSC_BASE1_LO 

Definition at line 27 of file tpm_nsc.c.

Enumerator:
NSC_COMMAND_NORMAL 
NSC_COMMAND_EOC 
NSC_COMMAND_CANCEL 

Definition at line 62 of file tpm_nsc.c.

Enumerator:
NSC_LDN_INDEX 
NSC_SID_INDEX 
NSC_LDC_INDEX 
NSC_DIO_INDEX 
NSC_CIO_INDEX 
NSC_IRQ_INDEX 
NSC_ITS_INDEX 

Definition at line 35 of file tpm_nsc.c.

Enumerator:
NSC_STATUS_OBF 
NSC_STATUS_IBF 
NSC_STATUS_F0 
NSC_STATUS_A2 
NSC_STATUS_RDY 
NSC_STATUS_IBR 

Definition at line 52 of file tpm_nsc.c.

Enumerator:
NSC_STATUS 
NSC_COMMAND 
NSC_DATA 

Definition at line 45 of file tpm_nsc.c.

Function Documentation

MODULE_AUTHOR ( "Leendert van Doorn ([email protected])"  )
MODULE_DESCRIPTION ( "TPM Driver"  )
module_exit ( cleanup_nsc  )
module_init ( init_nsc  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.0"  )