linux/drivers/net/ethernet/mscc/ocelot_rew.h

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

#ifndef _MSCC_OCELOT_REW_H_
#define _MSCC_OCELOT_REW_H_

#define REW_PORT_VLAN_CFG_GSZ

#define REW_PORT_VLAN_CFG_PORT_TPID(x)
#define REW_PORT_VLAN_CFG_PORT_TPID_M
#define REW_PORT_VLAN_CFG_PORT_TPID_X(x)
#define REW_PORT_VLAN_CFG_PORT_DEI
#define REW_PORT_VLAN_CFG_PORT_PCP(x)
#define REW_PORT_VLAN_CFG_PORT_PCP_M
#define REW_PORT_VLAN_CFG_PORT_PCP_X(x)
#define REW_PORT_VLAN_CFG_PORT_VID(x)
#define REW_PORT_VLAN_CFG_PORT_VID_M

#define REW_TAG_CFG_GSZ

#define REW_TAG_CFG_TAG_CFG(x)
#define REW_TAG_CFG_TAG_CFG_M
#define REW_TAG_CFG_TAG_CFG_X(x)
#define REW_TAG_CFG_TAG_TPID_CFG(x)
#define REW_TAG_CFG_TAG_TPID_CFG_M
#define REW_TAG_CFG_TAG_TPID_CFG_X(x)
#define REW_TAG_CFG_TAG_VID_CFG
#define REW_TAG_CFG_TAG_PCP_CFG(x)
#define REW_TAG_CFG_TAG_PCP_CFG_M
#define REW_TAG_CFG_TAG_PCP_CFG_X(x)
#define REW_TAG_CFG_TAG_DEI_CFG(x)
#define REW_TAG_CFG_TAG_DEI_CFG_M

#define REW_PORT_CFG_GSZ

#define REW_PORT_CFG_ES0_EN
#define REW_PORT_CFG_FCS_UPDATE_NONCPU_CFG(x)
#define REW_PORT_CFG_FCS_UPDATE_NONCPU_CFG_M
#define REW_PORT_CFG_FCS_UPDATE_NONCPU_CFG_X(x)
#define REW_PORT_CFG_FCS_UPDATE_CPU_ENA
#define REW_PORT_CFG_FLUSH_ENA
#define REW_PORT_CFG_AGE_DIS

#define REW_DSCP_CFG_GSZ

#define REW_PCP_DEI_QOS_MAP_CFG_GSZ
#define REW_PCP_DEI_QOS_MAP_CFG_RSZ

#define REW_PCP_DEI_QOS_MAP_CFG_DEI_QOS_VAL
#define REW_PCP_DEI_QOS_MAP_CFG_PCP_QOS_VAL(x)
#define REW_PCP_DEI_QOS_MAP_CFG_PCP_QOS_VAL_M

#define REW_PTP_CFG_GSZ

#define REW_PTP_CFG_PTP_BACKPLANE_MODE
#define REW_PTP_CFG_GP_CFG_UNUSED(x)
#define REW_PTP_CFG_GP_CFG_UNUSED_M
#define REW_PTP_CFG_GP_CFG_UNUSED_X(x)
#define REW_PTP_CFG_PTP_1STEP_DIS
#define REW_PTP_CFG_PTP_2STEP_DIS
#define REW_PTP_CFG_PTP_UDP_KEEP

#define REW_PTP_DLY1_CFG_GSZ

#define REW_RED_TAG_CFG_GSZ

#define REW_RED_TAG_CFG_RED_TAG_CFG

#define REW_DSCP_REMAP_DP1_CFG_RSZ

#define REW_DSCP_REMAP_CFG_RSZ

#define REW_REW_STICKY_ES0_TAGB_PUSH_FAILED

#define REW_PPT_RSZ

#endif