hc
2024-05-08 f309769f8af08599af39b6de4f675784ce76530d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/******************************************************************************
 *
 * Copyright(c) 2017 - 2019 Realtek Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 ******************************************************************************/
 
#ifndef _HALMAC_API_8822C_PCIE_H_
#define _HALMAC_API_8822C_PCIE_H_
 
#include "../../halmac_api.h"
 
#if (HALMAC_8822C_SUPPORT && HALMAC_PCIE_SUPPORT)
 
extern struct halmac_intf_phy_para pcie_gen1_phy_param_8822c[];
extern struct halmac_intf_phy_para pcie_gen2_phy_param_8822c[];
 
enum halmac_ret_status
mac_pwr_switch_pcie_8822c(struct halmac_adapter *adapter,
             enum halmac_mac_power pwr);
 
enum halmac_ret_status
pcie_switch_8822c(struct halmac_adapter *adapter, enum halmac_pcie_cfg cfg);
 
enum halmac_ret_status
phy_cfg_pcie_8822c(struct halmac_adapter *adapter,
          enum halmac_intf_phy_platform pltfm);
 
enum halmac_ret_status
intf_tun_pcie_8822c(struct halmac_adapter *adapter);
 
enum halmac_ret_status
cfgspc_set_pcie_8822c(struct halmac_adapter *adapter,
             struct halmac_pcie_cfgspc_param *param);
 
enum halmac_ret_status
auto_refclk_cal_8822c_pcie(struct halmac_adapter *adapter);
 
#endif /* HALMAC_8822C_SUPPORT*/
 
#endif/* _HALMAC_API_8822C_PCIE_H_ */