1 /******************************************************************************
3 * Copyright(c) 2016 - 2017 Realtek Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 *****************************************************************************/
15 #ifndef __CUSTOM_GPIO_H__
16 #define __CUSTOM_GPIO_H___
19 #include <osdep_service.h>
22 #include <drv_types_xp.h>
26 #include <drv_types_ce.h>
30 #include <drv_types_linux.h>
33 typedef enum cust_gpio_modes {
42 extern int rtw_wifi_gpio_init(void);
43 extern int rtw_wifi_gpio_deinit(void);
44 extern void rtw_wifi_gpio_wlan_ctrl(int onoff);