usb_hal.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along with
  15. * this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
  17. *
  18. *
  19. ******************************************************************************/
  20. #ifndef __USB_HAL_H__
  21. #define __USB_HAL_H__
  22. int usb_init_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
  23. void usb_free_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
  24. #ifdef CONFIG_FW_C2H_REG
  25. void usb_c2h_hisr_hdl(_adapter *adapter, u8 *buf);
  26. #endif
  27. u8 rtw_set_hal_ops(_adapter *padapter);
  28. #ifdef CONFIG_RTL8188E
  29. void rtl8188eu_set_hal_ops(_adapter *padapter);
  30. #endif
  31. #if defined(CONFIG_RTL8812A) || defined(CONFIG_RTL8821A)
  32. void rtl8812au_set_hal_ops(_adapter *padapter);
  33. #endif
  34. #ifdef CONFIG_RTL8192E
  35. void rtl8192eu_set_hal_ops(_adapter *padapter);
  36. #endif
  37. #ifdef CONFIG_RTL8723B
  38. void rtl8723bu_set_hal_ops(_adapter *padapter);
  39. #endif
  40. #ifdef CONFIG_RTL8814A
  41. void rtl8814au_set_hal_ops(_adapter *padapter);
  42. #endif /* CONFIG_RTL8814A */
  43. #ifdef CONFIG_RTL8188F
  44. void rtl8188fu_set_hal_ops(_adapter *padapter);
  45. #endif
  46. #ifdef CONFIG_RTL8703B
  47. void rtl8703bu_set_hal_ops(_adapter *padapter);
  48. #endif
  49. #ifdef CONFIG_RTL8723D
  50. void rtl8723du_set_hal_ops(_adapter *padapter);
  51. #endif
  52. #ifdef CONFIG_INTEL_PROXIM
  53. extern _adapter *rtw_usb_get_sw_pointer(void);
  54. #endif /* CONFIG_INTEL_PROXIM */
  55. #endif /* __USB_HAL_H__ */