xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/usb_hal.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2017 Realtek Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of version 2 of the GNU General Public License as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  *****************************************************************************/
16 #ifndef __USB_HAL_H__
17 #define __USB_HAL_H__
18 
19 int usb_init_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
20 void usb_free_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
21 #ifdef CONFIG_FW_C2H_REG
22 void usb_c2h_hisr_hdl(_adapter *adapter, u8 *buf);
23 #endif
24 
25 u8 rtw_set_hal_ops(_adapter *padapter);
26 
27 #ifdef CONFIG_RTL8188E
28 void rtl8188eu_set_hal_ops(_adapter *padapter);
29 #endif
30 
31 #if defined(CONFIG_RTL8812A) || defined(CONFIG_RTL8821A)
32 void rtl8812au_set_hal_ops(_adapter *padapter);
33 #endif
34 
35 #ifdef CONFIG_RTL8192E
36 void rtl8192eu_set_hal_ops(_adapter *padapter);
37 #endif
38 
39 
40 #ifdef CONFIG_RTL8723B
41 void rtl8723bu_set_hal_ops(_adapter *padapter);
42 #endif
43 
44 #ifdef CONFIG_RTL8814A
45 void rtl8814au_set_hal_ops(_adapter *padapter);
46 #endif /* CONFIG_RTL8814A */
47 
48 #ifdef CONFIG_RTL8188F
49 void rtl8188fu_set_hal_ops(_adapter *padapter);
50 #endif
51 
52 #ifdef CONFIG_RTL8188GTV
53 void rtl8188gtvu_set_hal_ops(_adapter *padapter);
54 #endif
55 
56 #ifdef CONFIG_RTL8703B
57 void rtl8703bu_set_hal_ops(_adapter *padapter);
58 #endif
59 
60 #ifdef CONFIG_RTL8723D
61 void rtl8723du_set_hal_ops(_adapter *padapter);
62 #endif
63 
64 #ifdef CONFIG_RTL8710B
65 void rtl8710bu_set_hal_ops(_adapter *padapter);
66 #endif
67 
68 #ifdef CONFIG_RTL8192F
69 void rtl8192fu_set_hal_ops(_adapter *padapter);
70 #endif /* CONFIG_RTL8192F */
71 
72 #endif /* __USB_HAL_H__ */
73