OSDN Git Service

Add rtl8821ce driver version 5.5.2
[android-x86/external-kernel-drivers.git] / rtl8821ce / hal / halmac / halmac_88xx / halmac_8821c / halmac_gpio_8821c.h
diff --git a/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.h b/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.h
new file mode 100644 (file)
index 0000000..6a605db
--- /dev/null
@@ -0,0 +1,37 @@
+/******************************************************************************
+ *
+ * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ ******************************************************************************/
+
+#ifndef _HALMAC_GPIO_8821C_H_
+#define _HALMAC_GPIO_8821C_H_
+
+#include "../../halmac_api.h"
+
+#if HALMAC_8821C_SUPPORT
+
+enum halmac_ret_status
+pinmux_get_func_8821c(struct halmac_adapter *adapter,
+                     enum halmac_gpio_func gpio_func, u8 *enable);
+
+enum halmac_ret_status
+pinmux_set_func_8821c(struct halmac_adapter *adapter,
+                     enum halmac_gpio_func gpio_func);
+
+enum halmac_ret_status
+pinmux_free_func_8821c(struct halmac_adapter *adapter,
+                      enum halmac_gpio_func gpio_func);
+
+#endif /* HALMAC_8821C_SUPPORT */
+
+#endif/* _HALMAC_GPIO_8821C_H_ */