xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/rtl8821c/sdio/rtl8821cs.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2016 - 2017 Realtek Corporation.
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  *****************************************************************************/
15 #ifndef _RTL8821CS_H_
16 #define _RTL8821CS_H_
17 
18 #include <drv_types.h>		/* PADAPTER */
19 
20 /* rtl8821cs_halinit.c */
21 u32 rtl8821cs_hal_init(PADAPTER);
22 u32 rtl8821cs_hal_deinit(PADAPTER adapter);
23 
24 void rtl8821cs_init_default_value(PADAPTER);
25 
26 /* rtl8821cs_ops.c */
27 u32 rtl8821cs_get_interrupt(PADAPTER);
28 void rtl8821cs_clear_interrupt(PADAPTER, u32 hisr);
29 u32 rtl8821cs_get_himr(PADAPTER adapter);
30 void rtl8821cs_update_himr(PADAPTER adapter, u32 himr);
31 void rtl8821cs_update_interrupt_mask(PADAPTER padapter, u32 AddMSR, u32 RemoveMSR);
32 
33 /* rtl8821cs_xmit.c */
34 
35 
36 #endif /* _RTL8821CS_HAL_H_ */
37