linux/drivers/net/phy/mscc/mscc_fc_buffer.h

/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/*
 * Driver for Microsemi VSC85xx PHYs
 *
 * Copyright (C) 2020 Microsemi Corporation
 */

#ifndef _MSCC_PHY_FC_BUFFER_H_
#define _MSCC_PHY_FC_BUFFER_H_

#define MSCC_FCBUF_ENA_CFG
#define MSCC_FCBUF_MODE_CFG
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG
#define MSCC_FCBUF_TX_CTRL_QUEUE_CFG
#define MSCC_FCBUF_TX_DATA_QUEUE_CFG
#define MSCC_FCBUF_RX_DATA_QUEUE_CFG
#define MSCC_FCBUF_TX_BUFF_XON_XOFF_THRESH_CFG
#define MSCC_FCBUF_FC_READ_THRESH_CFG
#define MSCC_FCBUF_TX_FRM_GAP_COMP

#define MSCC_FCBUF_ENA_CFG_TX_ENA
#define MSCC_FCBUF_ENA_CFG_RX_ENA

#define MSCC_FCBUF_MODE_CFG_DROP_BEHAVIOUR
#define MSCC_FCBUF_MODE_CFG_PAUSE_REACT_ENA
#define MSCC_FCBUF_MODE_CFG_RX_PPM_RATE_ADAPT_ENA
#define MSCC_FCBUF_MODE_CFG_TX_PPM_RATE_ADAPT_ENA
#define MSCC_FCBUF_MODE_CFG_TX_CTRL_QUEUE_ENA
#define MSCC_FCBUF_MODE_CFG_PAUSE_GEN_ENA
#define MSCC_FCBUF_MODE_CFG_INCLUDE_PAUSE_RCVD_IN_PAUSE_GEN

#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_TX_THRESH(x)
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_TX_THRESH_M
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_TX_OFFSET(x)
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_TX_OFFSET_M
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_RX_THRESH(x)
#define MSCC_FCBUF_PPM_RATE_ADAPT_THRESH_CFG_RX_THRESH_M

#define MSCC_FCBUF_TX_CTRL_QUEUE_CFG_START(x)
#define MSCC_FCBUF_TX_CTRL_QUEUE_CFG_START_M
#define MSCC_FCBUF_TX_CTRL_QUEUE_CFG_END(x)
#define MSCC_FCBUF_TX_CTRL_QUEUE_CFG_END_M

#define MSCC_FCBUF_TX_DATA_QUEUE_CFG_START(x)
#define MSCC_FCBUF_TX_DATA_QUEUE_CFG_START_M
#define MSCC_FCBUF_TX_DATA_QUEUE_CFG_END(x)
#define MSCC_FCBUF_TX_DATA_QUEUE_CFG_END_M

#define MSCC_FCBUF_RX_DATA_QUEUE_CFG_START(x)
#define MSCC_FCBUF_RX_DATA_QUEUE_CFG_START_M
#define MSCC_FCBUF_RX_DATA_QUEUE_CFG_END(x)
#define MSCC_FCBUF_RX_DATA_QUEUE_CFG_END_M

#define MSCC_FCBUF_TX_BUFF_XON_XOFF_THRESH_CFG_XOFF_THRESH(x)
#define MSCC_FCBUF_TX_BUFF_XON_XOFF_THRESH_CFG_XOFF_THRESH_M
#define MSCC_FCBUF_TX_BUFF_XON_XOFF_THRESH_CFG_XON_THRESH(x)
#define MSCC_FCBUF_TX_BUFF_XON_XOFF_THRESH_CFG_XON_THRESH_M

#define MSCC_FCBUF_FC_READ_THRESH_CFG_TX_THRESH(x)
#define MSCC_FCBUF_FC_READ_THRESH_CFG_TX_THRESH_M
#define MSCC_FCBUF_FC_READ_THRESH_CFG_RX_THRESH(x)
#define MSCC_FCBUF_FC_READ_THRESH_CFG_RX_THRESH_M

#endif /* _MSCC_PHY_FC_BUFFER_H_ */