PRCM: 34XX: Fix wrong shift value used in dpll4_m4x2_ck enable bit
[linux-ginger.git] / drivers / char / pcmcia / cm4040_cs.h
blob9a8b805c5095487a8f59ac22475d417d6436ac23
1 #ifndef _CM4040_H_
2 #define _CM4040_H_
4 #define CM_MAX_DEV 4
6 #define DEVICE_NAME "cmx"
7 #define MODULE_NAME "cm4040_cs"
9 #define REG_OFFSET_BULK_OUT 0
10 #define REG_OFFSET_BULK_IN 0
11 #define REG_OFFSET_BUFFER_STATUS 1
12 #define REG_OFFSET_SYNC_CONTROL 2
14 #define BSR_BULK_IN_FULL 0x02
15 #define BSR_BULK_OUT_FULL 0x01
17 #define SCR_HOST_TO_READER_START 0x80
18 #define SCR_ABORT 0x40
19 #define SCR_EN_NOTIFY 0x20
20 #define SCR_ACK_NOTIFY 0x10
21 #define SCR_READER_TO_HOST_DONE 0x08
22 #define SCR_HOST_TO_READER_DONE 0x04
23 #define SCR_PULSE_INTERRUPT 0x02
24 #define SCR_POWER_DOWN 0x01
27 #define CMD_PC_TO_RDR_ICCPOWERON 0x62
28 #define CMD_PC_TO_RDR_GETSLOTSTATUS 0x65
29 #define CMD_PC_TO_RDR_ICCPOWEROFF 0x63
30 #define CMD_PC_TO_RDR_SECURE 0x69
31 #define CMD_PC_TO_RDR_GETPARAMETERS 0x6C
32 #define CMD_PC_TO_RDR_RESETPARAMETERS 0x6D
33 #define CMD_PC_TO_RDR_SETPARAMETERS 0x61
34 #define CMD_PC_TO_RDR_XFRBLOCK 0x6F
35 #define CMD_PC_TO_RDR_ESCAPE 0x6B
36 #define CMD_PC_TO_RDR_ICCCLOCK 0x6E
37 #define CMD_PC_TO_RDR_TEST_SECURE 0x74
38 #define CMD_PC_TO_RDR_OK_SECURE 0x89
41 #define CMD_RDR_TO_PC_SLOTSTATUS 0x81
42 #define CMD_RDR_TO_PC_DATABLOCK 0x80
43 #define CMD_RDR_TO_PC_PARAMETERS 0x82
44 #define CMD_RDR_TO_PC_ESCAPE 0x83
45 #define CMD_RDR_TO_PC_OK_SECURE 0x89
47 #endif /* _CM4040_H_ */