1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5  *
6  * Modifications for inclusion into the Linux staging tree are
7  * Copyright(c) 2010 Larry Finger. All rights reserved.
8  *
9  * Contact information:
10  * WLAN FAE <wlanfae@realtek.com>
11  * Larry Finger <Larry.Finger@lwfinger.net>
12  *
13  ******************************************************************************/
14 #ifndef __USB_OSINTF_H
15 #define __USB_OSINTF_H
16 
17 #include "osdep_service.h"
18 #include "drv_types.h"
19 
20 extern char *r8712_initmac;
21 
22 unsigned int r8712_usb_inirp_init(struct _adapter *padapter);
23 unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter);
24 uint rtl871x_hal_init(struct _adapter *padapter);
25 uint rtl8712_hal_deinit(struct _adapter *padapter);
26 
27 void rtl871x_intf_stop(struct _adapter *padapter);
28 void r871x_dev_unload(struct _adapter *padapter);
29 void r8712_stop_drv_threads(struct _adapter *padapter);
30 void r8712_stop_drv_timers(struct _adapter *padapter);
31 int r8712_init_drv_sw(struct _adapter *padapter);
32 void r8712_free_drv_sw(struct _adapter *padapter);
33 struct net_device *r8712_init_netdev(void);
34 
35 #endif
36