sdio_hal.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 __SDIO_HAL_H__
  21. #define __SDIO_HAL_H__
  22. extern u8 sd_hal_bus_init(PADAPTER padapter);
  23. extern u8 sd_hal_bus_deinit(PADAPTER padapter);
  24. u8 sd_int_isr(PADAPTER padapter);
  25. void sd_int_dpc(PADAPTER padapter);
  26. void rtw_set_hal_ops(_adapter *padapter);
  27. #ifdef CONFIG_RTL8723A
  28. void rtl8723as_set_hal_ops(PADAPTER padapter);
  29. #endif
  30. #ifdef CONFIG_RTL8188E
  31. void rtl8188es_set_hal_ops(PADAPTER padapter);
  32. #endif
  33. #ifdef CONFIG_RTL8723B
  34. void rtl8723bs_set_hal_ops(PADAPTER padapter);
  35. #endif
  36. #ifdef CONFIG_RTL8821A
  37. void rtl8821as_set_hal_ops(PADAPTER padapter);
  38. #endif
  39. #endif //__SDIO_HAL_H__