Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / rtl8723au / include / osdep_intf.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
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.
8  *
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
12  * more details.
13  *
14  ******************************************************************************/
15
16 #ifndef __OSDEP_INTF_H_
17 #define __OSDEP_INTF_H_
18
19 #include <osdep_service.h>
20 #include <drv_types.h>
21
22 int rtw_init_drv_sw23a(struct rtw_adapter *padapter);
23 int rtw_free_drv_sw23a(struct rtw_adapter *padapter);
24 int rtw_reset_drv_sw23a(struct rtw_adapter *padapter);
25
26 void rtw_cancel_all_timer23a(struct rtw_adapter *padapter);
27
28 int rtw_init_netdev23a_name23a(struct net_device *pnetdev, const char *ifname);
29 struct net_device *rtw_init_netdev23a(struct rtw_adapter *padapter);
30
31 u16 rtw_recv_select_queue23a(struct sk_buff *skb);
32
33 void rtw_ips_dev_unload23a(struct rtw_adapter *padapter);
34
35 int rtw_ips_pwr_up23a(struct rtw_adapter *padapter);
36 void rtw_ips_pwr_down23a(struct rtw_adapter *padapter);
37
38 int rtw_drv_register_netdev(struct rtw_adapter *padapter);
39 void rtw_ndev_destructor(struct net_device *ndev);
40
41 int rtl8723au_inirp_init(struct rtw_adapter *Adapter);
42 int rtl8723au_inirp_deinit(struct rtw_adapter *Adapter);
43 void rtl8723a_usb_intf_stop(struct rtw_adapter *padapter);
44
45 #endif  /* _OSDEP_INTF_H_ */