aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-09-03 17:30:29 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-07 18:30:20 -0400
commitefaf956ad6852a7ae0cc4c78bd31079f8039daa6 (patch)
tree15e2dec2b75da565b198a507ff7a116a70973a69
parentcebe22244206d51b80c778f09304d21198652f71 (diff)
NFC: st21nfca: Clean up macros alignment
Align every macros on the same column. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/nfc/st21nfca/st21nfca.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/drivers/nfc/st21nfca/st21nfca.c b/drivers/nfc/st21nfca/st21nfca.c
index bff657524b18..fcb2955f8e8d 100644
--- a/drivers/nfc/st21nfca/st21nfca.c
+++ b/drivers/nfc/st21nfca/st21nfca.c
@@ -34,7 +34,7 @@
34#define ST21NFCA_RF_READER_CMD_PRESENCE_CHECK 0x30 34#define ST21NFCA_RF_READER_CMD_PRESENCE_CHECK 0x30
35 35
36#define ST21NFCA_RF_READER_ISO15693_GATE 0x12 36#define ST21NFCA_RF_READER_ISO15693_GATE 0x12
37#define ST21NFCA_RF_READER_ISO15693_INVENTORY 0x01 37#define ST21NFCA_RF_READER_ISO15693_INVENTORY 0x01
38 38
39/* 39/*
40 * Reader gate for communication with contact-less cards using Type A 40 * Reader gate for communication with contact-less cards using Type A
@@ -45,38 +45,38 @@
45#define ST21NFCA_RF_READER_14443_3_A_ATQA 0x03 45#define ST21NFCA_RF_READER_14443_3_A_ATQA 0x03
46#define ST21NFCA_RF_READER_14443_3_A_SAK 0x04 46#define ST21NFCA_RF_READER_14443_3_A_SAK 0x04
47 47
48#define ST21NFCA_RF_READER_F_DATARATE 0x01 48#define ST21NFCA_RF_READER_F_DATARATE 0x01
49#define ST21NFCA_RF_READER_F_DATARATE_106 0x01 49#define ST21NFCA_RF_READER_F_DATARATE_106 0x01
50#define ST21NFCA_RF_READER_F_DATARATE_212 0x02 50#define ST21NFCA_RF_READER_F_DATARATE_212 0x02
51#define ST21NFCA_RF_READER_F_DATARATE_424 0x04 51#define ST21NFCA_RF_READER_F_DATARATE_424 0x04
52#define ST21NFCA_RF_READER_F_POL_REQ 0x02 52#define ST21NFCA_RF_READER_F_POL_REQ 0x02
53#define ST21NFCA_RF_READER_F_POL_REQ_DEFAULT 0xffff0000 53#define ST21NFCA_RF_READER_F_POL_REQ_DEFAULT 0xffff0000
54#define ST21NFCA_RF_READER_F_NFCID2 0x03 54#define ST21NFCA_RF_READER_F_NFCID2 0x03
55#define ST21NFCA_RF_READER_F_NFCID1 0x04 55#define ST21NFCA_RF_READER_F_NFCID1 0x04
56 56
57#define ST21NFCA_RF_CARD_F_MODE 0x01 57#define ST21NFCA_RF_CARD_F_MODE 0x01
58#define ST21NFCA_RF_CARD_F_NFCID2_LIST 0x04 58#define ST21NFCA_RF_CARD_F_NFCID2_LIST 0x04
59#define ST21NFCA_RF_CARD_F_NFCID1 0x05 59#define ST21NFCA_RF_CARD_F_NFCID1 0x05
60#define ST21NFCA_RF_CARD_F_SENS_RES 0x06 60#define ST21NFCA_RF_CARD_F_SENS_RES 0x06
61#define ST21NFCA_RF_CARD_F_SEL_RES 0x07 61#define ST21NFCA_RF_CARD_F_SEL_RES 0x07
62#define ST21NFCA_RF_CARD_F_DATARATE 0x08 62#define ST21NFCA_RF_CARD_F_DATARATE 0x08
63#define ST21NFCA_RF_CARD_F_DATARATE_212_424 0x01 63#define ST21NFCA_RF_CARD_F_DATARATE_212_424 0x01
64 64
65#define ST21NFCA_DEVICE_MGNT_GATE 0x01 65#define ST21NFCA_DEVICE_MGNT_GATE 0x01
66#define ST21NFCA_DEVICE_MGNT_PIPE 0x02 66#define ST21NFCA_DEVICE_MGNT_PIPE 0x02
67 67
68#define ST21NFCA_DM_GETINFO 0x13 68#define ST21NFCA_DM_GETINFO 0x13
69#define ST21NFCA_DM_GETINFO_PIPE_LIST 0x02 69#define ST21NFCA_DM_GETINFO_PIPE_LIST 0x02
70#define ST21NFCA_DM_GETINFO_PIPE_INFO 0x01 70#define ST21NFCA_DM_GETINFO_PIPE_INFO 0x01
71#define ST21NFCA_DM_PIPE_CREATED 0x02 71#define ST21NFCA_DM_PIPE_CREATED 0x02
72#define ST21NFCA_DM_PIPE_OPEN 0x04 72#define ST21NFCA_DM_PIPE_OPEN 0x04
73#define ST21NFCA_DM_RF_ACTIVE 0x80 73#define ST21NFCA_DM_RF_ACTIVE 0x80
74#define ST21NFCA_DM_DISCONNECT 0x30 74#define ST21NFCA_DM_DISCONNECT 0x30
75 75
76#define ST21NFCA_DM_IS_PIPE_OPEN(p) \ 76#define ST21NFCA_DM_IS_PIPE_OPEN(p) \
77 ((p & 0x0f) == (ST21NFCA_DM_PIPE_CREATED | ST21NFCA_DM_PIPE_OPEN)) 77 ((p & 0x0f) == (ST21NFCA_DM_PIPE_CREATED | ST21NFCA_DM_PIPE_OPEN))
78 78
79#define ST21NFCA_NFC_MODE 0x03 /* NFC_MODE parameter*/ 79#define ST21NFCA_NFC_MODE 0x03 /* NFC_MODE parameter*/
80#define ST21NFCA_EVT_FIELD_ON 0x11 80#define ST21NFCA_EVT_FIELD_ON 0x11
81#define ST21NFCA_EVT_CARD_DEACTIVATED 0x12 81#define ST21NFCA_EVT_CARD_DEACTIVATED 0x12
82#define ST21NFCA_EVT_CARD_ACTIVATED 0x13 82#define ST21NFCA_EVT_CARD_ACTIVATED 0x13