pci_ops.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 __PCI_OPS_H_
  21. #define __PCI_OPS_H_
  22. #ifdef CONFIG_RTL8188E
  23. u32 rtl8188ee_init_desc_ring(_adapter * padapter);
  24. u32 rtl8188ee_free_desc_ring(_adapter * padapter);
  25. void rtl8188ee_reset_desc_ring(_adapter * padapter);
  26. #ifdef CONFIG_64BIT_DMA
  27. u8 PlatformEnable88EEDMA64(PADAPTER Adapter);
  28. #endif
  29. int rtl8188ee_interrupt(PADAPTER Adapter);
  30. void rtl8188ee_xmit_tasklet(void *priv);
  31. void rtl8188ee_recv_tasklet(void *priv);
  32. void rtl8188ee_prepare_bcn_tasklet(void *priv);
  33. void rtl8188ee_set_intf_ops(struct _io_ops *pops);
  34. #endif
  35. #ifdef CONFIG_RTL8192C
  36. u32 rtl8192ce_init_desc_ring(_adapter * padapter);
  37. u32 rtl8192ce_free_desc_ring(_adapter * padapter);
  38. void rtl8192ce_reset_desc_ring(_adapter * padapter);
  39. #ifdef CONFIG_64BIT_DMA
  40. u8 PlatformEnable92CEDMA64(PADAPTER Adapter);
  41. #endif
  42. int rtl8192ce_interrupt(PADAPTER Adapter);
  43. void rtl8192ce_xmit_tasklet(void *priv);
  44. void rtl8192ce_recv_tasklet(void *priv);
  45. void rtl8192ce_prepare_bcn_tasklet(void *priv);
  46. void rtl8192ce_set_intf_ops(struct _io_ops *pops);
  47. #endif
  48. #ifdef CONFIG_RTL8192D
  49. u32 rtl8192de_init_desc_ring(_adapter * padapter);
  50. u32 rtl8192de_free_desc_ring(_adapter * padapter);
  51. void rtl8192de_reset_desc_ring(_adapter * padapter);
  52. #ifdef CONFIG_64BIT_DMA
  53. u8 PlatformEnable92DEDMA64(PADAPTER Adapter);
  54. #endif
  55. int rtl8192de_interrupt(PADAPTER Adapter);
  56. void rtl8192de_xmit_tasklet(void *priv);
  57. void rtl8192de_recv_tasklet(void *priv);
  58. void rtl8192de_prepare_bcn_tasklet(void *priv);
  59. void rtl8192de_set_intf_ops(struct _io_ops *pops);
  60. u32 MpReadPCIDwordDBI8192D(IN PADAPTER Adapter, IN u16 Offset, IN u8 Direct);
  61. void MpWritePCIDwordDBI8192D(IN PADAPTER Adapter, IN u16 Offset, IN u32 Value, IN u8 Direct);
  62. #endif
  63. #endif