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