1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /****************************************************************************** 3 * 4 * Copyright(c) 2016 Realtek Corporation. 5 * 6 * Contact Information: 7 * wlanfae <wlanfae@realtek.com> 8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, 9 * Hsinchu 300, Taiwan. 10 * 11 * Larry Finger <Larry.Finger@lwfinger.net> 12 * 13 *****************************************************************************/ 14 #ifndef _HALMAC_API_8822B_PCIE_H_ 15 #define _HALMAC_API_8822B_PCIE_H_ 16 17 #include "../../halmac_2_platform.h" 18 #include "../../halmac_type.h" 19 20 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN1[]; 21 extern struct halmac_intf_phy_para_ HALMAC_RTL8822B_PCIE_PHY_GEN2[]; 22 23 enum halmac_ret_status 24 halmac_mac_power_switch_8822b_pcie(struct halmac_adapter *halmac_adapter, 25 enum halmac_mac_power halmac_power); 26 27 enum halmac_ret_status 28 halmac_pcie_switch_8822b(struct halmac_adapter *halmac_adapter, 29 enum halmac_pcie_cfg pcie_cfg); 30 31 enum halmac_ret_status 32 halmac_pcie_switch_8822b_nc(struct halmac_adapter *halmac_adapter, 33 enum halmac_pcie_cfg pcie_cfg); 34 35 enum halmac_ret_status 36 halmac_phy_cfg_8822b_pcie(struct halmac_adapter *halmac_adapter, 37 enum halmac_intf_phy_platform platform); 38 39 enum halmac_ret_status halmac_interface_integration_tuning_8822b_pcie( 40 struct halmac_adapter *halmac_adapter); 41 42 #endif /* _HALMAC_API_8822B_PCIE_H_ */ 43