xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/rtl8852b.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2019 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 _RTL8852B_H_
16 #define _RTL8852B_H_
17 #include "../hal_headers.h"
18 
19 /*to communicate with upper-hal*/
20 #ifdef CONFIG_PCI_HCI
21 void hal_set_ops_8852be(struct rtw_phl_com_t *phl_com,
22 					struct hal_info_t *hal);
23 u32 hal_hook_trx_ops_8852be(struct rtw_phl_com_t *phl_com,
24 					struct hal_info_t *hal_info);
25 #endif
26 
27 #ifdef CONFIG_USB_HCI
28 void hal_set_ops_8852bu(struct rtw_phl_com_t *phl_com,
29 					struct hal_info_t *hal);
30 u32 hal_hook_trx_ops_8852bu(struct hal_info_t *hal_info);
31 
32 #endif
33 
34 #ifdef CONFIG_SDIO_HCI
35 void hal_set_ops_8852bs(struct rtw_phl_com_t *phl_com,
36 					struct hal_info_t *hal);
37 u32 hal_hook_trx_ops_8852bs(struct hal_info_t *hal_info);
38 
39 #endif
40 
41 #endif /* _RTL8852B_H_ */
42