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 23 24 #ifdef CONFIG_RTL8188E 25 u32 rtl8188ee_init_desc_ring(_adapter *padapter); 26 u32 rtl8188ee_free_desc_ring(_adapter *padapter); 27 void rtl8188ee_reset_desc_ring(_adapter *padapter); 28 int rtl8188ee_interrupt(PADAPTER Adapter); 29 void rtl8188ee_xmit_tasklet(void *priv); 30 void rtl8188ee_recv_tasklet(void *priv); 31 void rtl8188ee_prepare_bcn_tasklet(void *priv); 32 void rtl8188ee_set_intf_ops(struct _io_ops *pops); 33 #endif 34 35 #if defined(CONFIG_RTL8812A) || defined(CONFIG_RTL8821A) 36 u32 rtl8812ae_init_desc_ring(_adapter *padapter); 37 u32 rtl8812ae_free_desc_ring(_adapter *padapter); 38 void rtl8812ae_reset_desc_ring(_adapter *padapter); 39 int rtl8812ae_interrupt(PADAPTER Adapter); 40 void rtl8812ae_xmit_tasklet(void *priv); 41 void rtl8812ae_recv_tasklet(void *priv); 42 void rtl8812ae_prepare_bcn_tasklet(void *priv); 43 void rtl8812ae_set_intf_ops(struct _io_ops *pops); 44 #endif 45 46 #ifdef CONFIG_RTL8192E 47 u32 rtl8192ee_init_desc_ring(_adapter *padapter); 48 u32 rtl8192ee_free_desc_ring(_adapter *padapter); 49 void rtl8192ee_reset_desc_ring(_adapter *padapter); 50 void rtl8192ee_recv_tasklet(void *priv); 51 void rtl8192ee_prepare_bcn_tasklet(void *priv); 52 int rtl8192ee_interrupt(PADAPTER Adapter); 53 void rtl8192ee_set_intf_ops(struct _io_ops *pops); 54 #endif 55 56 #ifdef CONFIG_RTL8723B 57 u32 rtl8723be_init_desc_ring(_adapter *padapter); 58 u32 rtl8723be_free_desc_ring(_adapter *padapter); 59 void rtl8723be_reset_desc_ring(_adapter *padapter); 60 int rtl8723be_interrupt(PADAPTER Adapter); 61 void rtl8723be_recv_tasklet(void *priv); 62 void rtl8723be_prepare_bcn_tasklet(void *priv); 63 void rtl8723be_set_intf_ops(struct _io_ops *pops); 64 #endif 65 66 #ifdef CONFIG_RTL8723D 67 u32 rtl8723de_init_desc_ring(_adapter *padapter); 68 u32 rtl8723de_free_desc_ring(_adapter *padapter); 69 void rtl8723de_reset_desc_ring(_adapter *padapter); 70 int rtl8723de_interrupt(PADAPTER Adapter); 71 void rtl8723de_recv_tasklet(void *priv); 72 void rtl8723de_prepare_bcn_tasklet(void *priv); 73 void rtl8723de_set_intf_ops(struct _io_ops *pops); 74 u8 check_tx_desc_resource(_adapter *padapter, int prio); 75 #endif 76 77 #ifdef CONFIG_RTL8814A 78 u32 rtl8814ae_init_desc_ring(_adapter *padapter); 79 u32 rtl8814ae_free_desc_ring(_adapter *padapter); 80 void rtl8814ae_reset_desc_ring(_adapter *padapter); 81 int rtl8814ae_interrupt(PADAPTER Adapter); 82 void rtl8814ae_xmit_tasklet(void *priv); 83 void rtl8814ae_recv_tasklet(void *priv); 84 void rtl8814ae_prepare_bcn_tasklet(void *priv); 85 void rtl8814ae_set_intf_ops(struct _io_ops *pops); 86 #endif 87 88 #ifdef CONFIG_RTL8822B 89 void rtl8822be_set_intf_ops(struct _io_ops *pops); 90 #endif 91 92 #endif 93