linux/include/soc/mscc/ocelot_sys.h

/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/*
 * Microsemi Ocelot Switch driver
 *
 * Copyright (c) 2017 Microsemi Corporation
 */

#ifndef _MSCC_OCELOT_SYS_H_
#define _MSCC_OCELOT_SYS_H_

#define SYS_COUNT_RX_OCTETS_RSZ

#define SYS_COUNT_TX_OCTETS_RSZ

#define SYS_FRONT_PORT_MODE_RSZ

#define SYS_FRONT_PORT_MODE_HDX_MODE

#define SYS_FRM_AGING_AGE_TX_ENA
#define SYS_FRM_AGING_MAX_AGE(x)
#define SYS_FRM_AGING_MAX_AGE_M

#define SYS_STAT_CFG_STAT_CLEAR_SHOT(x)
#define SYS_STAT_CFG_STAT_CLEAR_SHOT_M
#define SYS_STAT_CFG_STAT_CLEAR_SHOT_X(x)
#define SYS_STAT_CFG_STAT_VIEW(x)
#define SYS_STAT_CFG_STAT_VIEW_M

#define SYS_SW_STATUS_RSZ

#define SYS_SW_STATUS_PORT_RX_PAUSED

#define SYS_MISC_CFG_PTP_RSRV_CLR
#define SYS_MISC_CFG_PTP_DIS_NEG_RO

#define SYS_REW_MAC_HIGH_CFG_RSZ

#define SYS_REW_MAC_LOW_CFG_RSZ

#define SYS_TIMESTAMP_OFFSET_ETH_TYPE_CFG(x)
#define SYS_TIMESTAMP_OFFSET_ETH_TYPE_CFG_M
#define SYS_TIMESTAMP_OFFSET_ETH_TYPE_CFG_X(x)
#define SYS_TIMESTAMP_OFFSET_TIMESTAMP_OFFSET(x)
#define SYS_TIMESTAMP_OFFSET_TIMESTAMP_OFFSET_M

#define SYS_PAUSE_TOT_CFG_PAUSE_TOT_START(x)
#define SYS_PAUSE_TOT_CFG_PAUSE_TOT_START_M
#define SYS_PAUSE_TOT_CFG_PAUSE_TOT_START_X(x)
#define SYS_PAUSE_TOT_CFG_PAUSE_TOT_STOP(x)
#define SYS_PAUSE_TOT_CFG_PAUSE_TOT_STOP_M

#define SYS_ATOP_RSZ

#define SYS_MAC_FC_CFG_RSZ

#define SYS_MAC_FC_CFG_FC_LINK_SPEED(x)
#define SYS_MAC_FC_CFG_FC_LINK_SPEED_M
#define SYS_MAC_FC_CFG_FC_LINK_SPEED_X(x)
#define SYS_MAC_FC_CFG_FC_LATENCY_CFG(x)
#define SYS_MAC_FC_CFG_FC_LATENCY_CFG_M
#define SYS_MAC_FC_CFG_FC_LATENCY_CFG_X(x)
#define SYS_MAC_FC_CFG_ZERO_PAUSE_ENA
#define SYS_MAC_FC_CFG_TX_FC_ENA
#define SYS_MAC_FC_CFG_RX_FC_ENA
#define SYS_MAC_FC_CFG_PAUSE_VAL_CFG(x)
#define SYS_MAC_FC_CFG_PAUSE_VAL_CFG_M

#define SYS_MMGT_RELCNT(x)
#define SYS_MMGT_RELCNT_M
#define SYS_MMGT_RELCNT_X(x)
#define SYS_MMGT_FREECNT(x)
#define SYS_MMGT_FREECNT_M

#define SYS_MMGT_FAST_FREEVLD(x)
#define SYS_MMGT_FAST_FREEVLD_M
#define SYS_MMGT_FAST_FREEVLD_X(x)
#define SYS_MMGT_FAST_RELVLD(x)
#define SYS_MMGT_FAST_RELVLD_M

#define SYS_EVENTS_DIF_RSZ

#define SYS_EVENTS_DIF_EV_DRX(x)
#define SYS_EVENTS_DIF_EV_DRX_M
#define SYS_EVENTS_DIF_EV_DRX_X(x)
#define SYS_EVENTS_DIF_EV_DTX(x)
#define SYS_EVENTS_DIF_EV_DTX_M

#define SYS_EVENTS_CORE_EV_FWR
#define SYS_EVENTS_CORE_EV_ANA(x)
#define SYS_EVENTS_CORE_EV_ANA_M

#define SYS_CNT_GSZ

#define SYS_PTP_STATUS_PTP_TXSTAMP_OAM
#define SYS_PTP_STATUS_PTP_OVFL
#define SYS_PTP_STATUS_PTP_MESS_VLD
#define SYS_PTP_STATUS_PTP_MESS_ID(x)
#define SYS_PTP_STATUS_PTP_MESS_ID_M
#define SYS_PTP_STATUS_PTP_MESS_ID_X(x)
#define SYS_PTP_STATUS_PTP_MESS_TXPORT(x)
#define SYS_PTP_STATUS_PTP_MESS_TXPORT_M
#define SYS_PTP_STATUS_PTP_MESS_TXPORT_X(x)
#define SYS_PTP_STATUS_PTP_MESS_SEQ_ID(x)
#define SYS_PTP_STATUS_PTP_MESS_SEQ_ID_M

#define SYS_PTP_TXSTAMP_PTP_TXSTAMP(x)
#define SYS_PTP_TXSTAMP_PTP_TXSTAMP_M
#define SYS_PTP_TXSTAMP_PTP_TXSTAMP_SEC

#define SYS_PTP_NXT_PTP_NXT

#define SYS_PTP_CFG_PTP_STAMP_WID(x)
#define SYS_PTP_CFG_PTP_STAMP_WID_M
#define SYS_PTP_CFG_PTP_STAMP_WID_X(x)
#define SYS_PTP_CFG_PTP_CF_ROLL_MODE(x)
#define SYS_PTP_CFG_PTP_CF_ROLL_MODE_M

#define SYS_RAM_INIT_RAM_INIT
#define SYS_RAM_INIT_RAM_CFG_HOOK

#endif