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
20extern char *r8712_initmac;
21
22unsigned int r8712_usb_inirp_init(struct _adapter *padapter);
23unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter);
24uint rtl871x_hal_init(struct _adapter *padapter);
25uint rtl8712_hal_deinit(struct _adapter *padapter);
26
27void rtl871x_intf_stop(struct _adapter *padapter);
28void r871x_dev_unload(struct _adapter *padapter);
29void r8712_stop_drv_threads(struct _adapter *padapter);
30void r8712_stop_drv_timers(struct _adapter *padapter);
31int r8712_init_drv_sw(struct _adapter *padapter);
32void r8712_free_drv_sw(struct _adapter *padapter);
33struct net_device *r8712_init_netdev(void);
34
35#endif
36