Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cm4040_cs.h File Reference

Go to the source code of this file.

Macros

#define CM_MAX_DEV   4
 
#define DEVICE_NAME   "cmx"
 
#define MODULE_NAME   "cm4040_cs"
 
#define REG_OFFSET_BULK_OUT   0
 
#define REG_OFFSET_BULK_IN   0
 
#define REG_OFFSET_BUFFER_STATUS   1
 
#define REG_OFFSET_SYNC_CONTROL   2
 
#define BSR_BULK_IN_FULL   0x02
 
#define BSR_BULK_OUT_FULL   0x01
 
#define SCR_HOST_TO_READER_START   0x80
 
#define SCR_ABORT   0x40
 
#define SCR_EN_NOTIFY   0x20
 
#define SCR_ACK_NOTIFY   0x10
 
#define SCR_READER_TO_HOST_DONE   0x08
 
#define SCR_HOST_TO_READER_DONE   0x04
 
#define SCR_PULSE_INTERRUPT   0x02
 
#define SCR_POWER_DOWN   0x01
 
#define CMD_PC_TO_RDR_ICCPOWERON   0x62
 
#define CMD_PC_TO_RDR_GETSLOTSTATUS   0x65
 
#define CMD_PC_TO_RDR_ICCPOWEROFF   0x63
 
#define CMD_PC_TO_RDR_SECURE   0x69
 
#define CMD_PC_TO_RDR_GETPARAMETERS   0x6C
 
#define CMD_PC_TO_RDR_RESETPARAMETERS   0x6D
 
#define CMD_PC_TO_RDR_SETPARAMETERS   0x61
 
#define CMD_PC_TO_RDR_XFRBLOCK   0x6F
 
#define CMD_PC_TO_RDR_ESCAPE   0x6B
 
#define CMD_PC_TO_RDR_ICCCLOCK   0x6E
 
#define CMD_PC_TO_RDR_TEST_SECURE   0x74
 
#define CMD_PC_TO_RDR_OK_SECURE   0x89
 
#define CMD_RDR_TO_PC_SLOTSTATUS   0x81
 
#define CMD_RDR_TO_PC_DATABLOCK   0x80
 
#define CMD_RDR_TO_PC_PARAMETERS   0x82
 
#define CMD_RDR_TO_PC_ESCAPE   0x83
 
#define CMD_RDR_TO_PC_OK_SECURE   0x89
 

Macro Definition Documentation

#define BSR_BULK_IN_FULL   0x02

Definition at line 14 of file cm4040_cs.h.

#define BSR_BULK_OUT_FULL   0x01

Definition at line 15 of file cm4040_cs.h.

#define CM_MAX_DEV   4

Definition at line 4 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_ESCAPE   0x6B

Definition at line 35 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_GETPARAMETERS   0x6C

Definition at line 31 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_GETSLOTSTATUS   0x65

Definition at line 28 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_ICCCLOCK   0x6E

Definition at line 36 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_ICCPOWEROFF   0x63

Definition at line 29 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_ICCPOWERON   0x62

Definition at line 27 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_OK_SECURE   0x89

Definition at line 38 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_RESETPARAMETERS   0x6D

Definition at line 32 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_SECURE   0x69

Definition at line 30 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_SETPARAMETERS   0x61

Definition at line 33 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_TEST_SECURE   0x74

Definition at line 37 of file cm4040_cs.h.

#define CMD_PC_TO_RDR_XFRBLOCK   0x6F

Definition at line 34 of file cm4040_cs.h.

#define CMD_RDR_TO_PC_DATABLOCK   0x80

Definition at line 42 of file cm4040_cs.h.

#define CMD_RDR_TO_PC_ESCAPE   0x83

Definition at line 44 of file cm4040_cs.h.

#define CMD_RDR_TO_PC_OK_SECURE   0x89

Definition at line 45 of file cm4040_cs.h.

#define CMD_RDR_TO_PC_PARAMETERS   0x82

Definition at line 43 of file cm4040_cs.h.

#define CMD_RDR_TO_PC_SLOTSTATUS   0x81

Definition at line 41 of file cm4040_cs.h.

#define DEVICE_NAME   "cmx"

Definition at line 6 of file cm4040_cs.h.

#define MODULE_NAME   "cm4040_cs"

Definition at line 7 of file cm4040_cs.h.

#define REG_OFFSET_BUFFER_STATUS   1

Definition at line 11 of file cm4040_cs.h.

#define REG_OFFSET_BULK_IN   0

Definition at line 10 of file cm4040_cs.h.

#define REG_OFFSET_BULK_OUT   0

Definition at line 9 of file cm4040_cs.h.

#define REG_OFFSET_SYNC_CONTROL   2

Definition at line 12 of file cm4040_cs.h.

#define SCR_ABORT   0x40

Definition at line 18 of file cm4040_cs.h.

#define SCR_ACK_NOTIFY   0x10

Definition at line 20 of file cm4040_cs.h.

#define SCR_EN_NOTIFY   0x20

Definition at line 19 of file cm4040_cs.h.

#define SCR_HOST_TO_READER_DONE   0x04

Definition at line 22 of file cm4040_cs.h.

#define SCR_HOST_TO_READER_START   0x80

Definition at line 17 of file cm4040_cs.h.

#define SCR_POWER_DOWN   0x01

Definition at line 24 of file cm4040_cs.h.

#define SCR_PULSE_INTERRUPT   0x02

Definition at line 23 of file cm4040_cs.h.

#define SCR_READER_TO_HOST_DONE   0x08

Definition at line 21 of file cm4040_cs.h.