summaryrefslogtreecommitdiff
path: root/halimpl/include/sec_nfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'halimpl/include/sec_nfc.h')
-rw-r--r--halimpl/include/sec_nfc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/halimpl/include/sec_nfc.h b/halimpl/include/sec_nfc.h
new file mode 100644
index 0000000..8826bed
--- /dev/null
+++ b/halimpl/include/sec_nfc.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 SAMSUNG S.LSI
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ *
+ */
+
+#define SEC_NFC_DRIVER_NAME "sec-nfc"
+
+/* ioctl */
+#define SEC_NFC_MAGIC 'S'
+#define SEC_NFC_GET_MODE _IOW(SEC_NFC_MAGIC, 0, unsigned int)
+#define SEC_NFC_SET_MODE _IOW(SEC_NFC_MAGIC, 1, unsigned int)
+#define SEC_NFC_SLEEP _IOW(SEC_NFC_MAGIC, 2, unsigned int)
+#define SEC_NFC_WAKEUP _IOW(SEC_NFC_MAGIC, 3, unsigned int)