| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/****************************************************************************** |
| 3 |
* |
| 4 |
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. |
| 5 |
* |
| 6 |
******************************************************************************/ |
| 7 |
|
| 8 |
#ifndef __OSDEP_INTF_H_ |
| 9 |
#define __OSDEP_INTF_H_ |
| 10 |
|
| 11 |
struct dvobj_priv *devobj_init(void); |
| 12 |
void devobj_deinit(struct dvobj_priv *pdvobj); |
| 13 |
|
| 14 |
u8 rtw_init_drv_sw(struct adapter *padapter); |
| 15 |
u8 rtw_free_drv_sw(struct adapter *padapter); |
| 16 |
void rtw_reset_drv_sw(struct adapter *padapter); |
| 17 |
void rtw_dev_unload(struct adapter *padapter); |
| 18 |
|
| 19 |
u32 rtw_start_drv_threads(struct adapter *padapter); |
| 20 |
void rtw_stop_drv_threads(struct adapter *padapter); |
| 21 |
void rtw_cancel_all_timer(struct adapter *padapter); |
| 22 |
|
| 23 |
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname); |
| 24 |
struct net_device *rtw_init_netdev(struct adapter *padapter); |
| 25 |
void rtw_unregister_netdevs(struct dvobj_priv *dvobj); |
| 26 |
|
| 27 |
u16 rtw_recv_select_queue(struct sk_buff *skb); |
| 28 |
|
| 29 |
void rtw_ips_dev_unload(struct adapter *padapter); |
| 30 |
|
| 31 |
int rtw_ips_pwr_up(struct adapter *padapter); |
| 32 |
void rtw_ips_pwr_down(struct adapter *padapter); |
| 33 |
|
| 34 |
int rtw_drv_register_netdev(struct adapter *padapter); |
| 35 |
void rtw_ndev_destructor(struct net_device *ndev); |
| 36 |
|
| 37 |
void rtw_suspend_common(struct adapter *padapter); |
| 38 |
int rtw_resume_common(struct adapter *padapter); |
| 39 |
|
| 40 |
int netdev_open(struct net_device *pnetdev); |
| 41 |
|
| 42 |
#endif /* _OSDEP_INTF_H_ */ |