#ifndef __SXGBE_COMMON_H__
#define __SXGBE_COMMON_H__
struct sxgbe_desc_ops;
struct sxgbe_dma_ops;
struct sxgbe_mtl_ops;
#define SXGBE_RESOURCE_NAME …
#define DRV_MODULE_VERSION …
#define SXGBE_HW_WORDS …
#define SXGBE_RX_COE_NONE …
#define SXGBE_CSR_F_150M …
#define SXGBE_CSR_F_250M …
#define SXGBE_CSR_F_300M …
#define SXGBE_CSR_F_350M …
#define SXGBE_CSR_F_400M …
#define SXGBE_CSR_F_500M …
#define SXGBE_PAUSE_TIME …
#define SXGBE_TX_QUEUES …
#define SXGBE_RX_QUEUES …
#define SXGBE_MAX_DMA_RIWT …
#define SXGBE_MIN_DMA_RIWT …
#define SXGBE_COAL_TX_TIMER …
#define SXGBE_MAX_COAL_TX_TICK …
#define SXGBE_TX_MAX_FRAMES …
#define SXGBE_TX_FRAMES …
#define BUF_SIZE_16KiB …
#define BUF_SIZE_8KiB …
#define BUF_SIZE_4KiB …
#define BUF_SIZE_2KiB …
#define SXGBE_DEFAULT_LIT_LS …
#define SXGBE_DEFAULT_TWT_LS …
#define SXGBE_FLOW_OFF …
#define SXGBE_FLOW_RX …
#define SXGBE_FLOW_TX …
#define SXGBE_FLOW_AUTO …
#define SF_DMA_MODE …
#define RX_GMII_ERR …
#define RX_WATCHDOG_ERR …
#define RX_CRC_ERR …
#define RX_GAINT_ERR …
#define RX_IP_HDR_ERR …
#define RX_PAYLOAD_ERR …
#define RX_OVERFLOW_ERR …
#define RX_LEN_PKT …
#define RX_MACCTL_PKT …
#define RX_DCBCTL_PKT …
#define RX_ARP_PKT …
#define RX_OAM_PKT …
#define RX_UNTAG_PKT …
#define RX_OTHER_PKT …
#define RX_SVLAN_PKT …
#define RX_CVLAN_PKT …
#define RX_DVLAN_OCVLAN_ICVLAN_PKT …
#define RX_DVLAN_OSVLAN_ISVLAN_PKT …
#define RX_DVLAN_OSVLAN_ICVLAN_PKT …
#define RX_DVLAN_OCVLAN_ISVLAN_PKT …
#define RX_NOT_IP_PKT …
#define RX_IPV4_TCP_PKT …
#define RX_IPV4_UDP_PKT …
#define RX_IPV4_ICMP_PKT …
#define RX_IPV4_UNKNOWN_PKT …
#define RX_IPV6_TCP_PKT …
#define RX_IPV6_UDP_PKT …
#define RX_IPV6_ICMP_PKT …
#define RX_IPV6_UNKNOWN_PKT …
#define RX_NO_PTP …
#define RX_PTP_SYNC …
#define RX_PTP_FOLLOW_UP …
#define RX_PTP_DELAY_REQ …
#define RX_PTP_DELAY_RESP …
#define RX_PTP_PDELAY_REQ …
#define RX_PTP_PDELAY_RESP …
#define RX_PTP_PDELAY_FOLLOW_UP …
#define RX_PTP_ANNOUNCE …
#define RX_PTP_MGMT …
#define RX_PTP_SIGNAL …
#define RX_PTP_RESV_MSG …
#define TX_ENTRY_LPI_MODE …
#define TX_EXIT_LPI_MODE …
#define RX_ENTRY_LPI_MODE …
#define RX_EXIT_LPI_MODE …
#define LPI_INT_STATUS …
#define LPI_LINK_STATUS_TIMER …
#define LPI_MAC_WAIT_TIMER …
#define LPI_CTRL_STATUS_TXA …
#define LPI_CTRL_STATUS_PLSDIS …
#define LPI_CTRL_STATUS_PLS …
#define LPI_CTRL_STATUS_LPIEN …
#define LPI_CTRL_STATUS_TXRSTP …
#define LPI_CTRL_STATUS_RXRSTP …
#define LPI_CTRL_STATUS_RLPIST …
#define LPI_CTRL_STATUS_TLPIST …
#define LPI_CTRL_STATUS_RLPIEX …
#define LPI_CTRL_STATUS_RLPIEN …
#define LPI_CTRL_STATUS_TLPIEX …
#define LPI_CTRL_STATUS_TLPIEN …
enum dma_irq_status { … };
#define NETIF_F_HW_VLAN_ALL …
#define SXGBE_MMC_CTRL_CNT_FRZ …
#define SXGBE_ADDR_HIGH(reg) …
#define SXGBE_ADDR_LOW(reg) …
#define SXGBE_MAX_PERFECT_ADDRESSES …
#define SXGBE_FRAME_FILTER …
#define SXGBE_FRAME_FILTER_PR …
#define SXGBE_FRAME_FILTER_HUC …
#define SXGBE_FRAME_FILTER_HMC …
#define SXGBE_FRAME_FILTER_DAIF …
#define SXGBE_FRAME_FILTER_PM …
#define SXGBE_FRAME_FILTER_DBF …
#define SXGBE_FRAME_FILTER_SAIF …
#define SXGBE_FRAME_FILTER_SAF …
#define SXGBE_FRAME_FILTER_HPF …
#define SXGBE_FRAME_FILTER_RA …
#define SXGBE_HASH_TABLE_SIZE …
#define SXGBE_HASH_HIGH …
#define SXGBE_HASH_LOW …
#define SXGBE_HI_REG_AE …
#define MIN_MTU …
#define MAX_MTU …
#define SXGBE_FOR_EACH_QUEUE(max_queues, queue_num) …
#define DRV_VERSION …
#define SXGBE_MAX_RX_CHANNELS …
#define SXGBE_MAX_TX_CHANNELS …
#define START_MAC_REG_OFFSET …
#define MAX_MAC_REG_OFFSET …
#define START_MTL_REG_OFFSET …
#define MAX_MTL_REG_OFFSET …
#define START_DMA_REG_OFFSET …
#define MAX_DMA_REG_OFFSET …
#define REG_SPACE_SIZE …
struct sxgbe_extra_stats { … };
struct mac_link { … };
struct mii_regs { … };
struct sxgbe_core_ops { … };
const struct sxgbe_core_ops *sxgbe_get_core_ops(void);
struct sxgbe_ops { … };
struct sxgbe_tx_queue { … };
struct sxgbe_rx_queue { … };
struct sxgbe_hw_features { … };
struct sxgbe_priv_data { … };
struct sxgbe_priv_data *sxgbe_drv_probe(struct device *device,
struct sxgbe_plat_data *plat_dat,
void __iomem *addr);
void sxgbe_drv_remove(struct net_device *ndev);
void sxgbe_set_ethtool_ops(struct net_device *netdev);
int sxgbe_mdio_unregister(struct net_device *ndev);
int sxgbe_mdio_register(struct net_device *ndev);
int sxgbe_register_platform(void);
void sxgbe_unregister_platform(void);
#ifdef CONFIG_PM
int sxgbe_suspend(struct net_device *ndev);
int sxgbe_resume(struct net_device *ndev);
int sxgbe_freeze(struct net_device *ndev);
int sxgbe_restore(struct net_device *ndev);
#endif
const struct sxgbe_mtl_ops *sxgbe_get_mtl_ops(void);
void sxgbe_disable_eee_mode(struct sxgbe_priv_data * const priv);
bool sxgbe_eee_init(struct sxgbe_priv_data * const priv);
#endif