| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd. */ |
| 3 |
|
| 4 |
#ifndef _WX_VF_COMMON_H_ |
| 5 |
#define _WX_VF_COMMON_H_ |
| 6 |
|
| 7 |
int wxvf_suspend(struct device *dev_d); |
| 8 |
void wxvf_shutdown(struct pci_dev *pdev); |
| 9 |
int wxvf_resume(struct device *dev_d); |
| 10 |
void wxvf_remove(struct pci_dev *pdev); |
| 11 |
int wx_request_msix_irqs_vf(struct wx *wx); |
| 12 |
void wx_negotiate_api_vf(struct wx *wx); |
| 13 |
void wx_reset_vf(struct wx *wx); |
| 14 |
void wx_set_rx_mode_vf(struct net_device *netdev); |
| 15 |
void wx_configure_vf(struct wx *wx); |
| 16 |
int wx_set_mac_vf(struct net_device *netdev, void *p); |
| 17 |
void wxvf_watchdog_update_link(struct wx *wx); |
| 18 |
int wxvf_open(struct net_device *netdev); |
| 19 |
int wxvf_close(struct net_device *netdev); |
| 20 |
void wxvf_init_service(struct wx *wx); |
| 21 |
|
| 22 |
#endif /* _WX_VF_COMMON_H_ */ |