Path: blob/main/sys/contrib/ncsw/inc/flib/fman_common.h
48378 views
/*1* Copyright 2008-2013 Freescale Semiconductor Inc.2*3* Redistribution and use in source and binary forms, with or without4* modification, are permitted provided that the following conditions are met:5* * Redistributions of source code must retain the above copyright6* notice, this list of conditions and the following disclaimer.7* * Redistributions in binary form must reproduce the above copyright8* notice, this list of conditions and the following disclaimer in the9* documentation and/or other materials provided with the distribution.10* * Neither the name of Freescale Semiconductor nor the11* names of its contributors may be used to endorse or promote products12* derived from this software without specific prior written permission.13*14*15* ALTERNATIVELY, this software may be distributed under the terms of the16* GNU General Public License ("GPL") as published by the Free Software17* Foundation, either version 2 of that License or (at your option) any18* later version.19*20* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY21* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED22* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE23* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY24* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES25* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;26* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND27* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT28* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS29* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.30*/313233#ifndef __FMAN_COMMON_H34#define __FMAN_COMMON_H3536/**************************************************************************//**37@Description NIA Description38*//***************************************************************************/39#define NIA_ORDER_RESTOR 0x0080000040#define NIA_ENG_FM_CTL 0x0000000041#define NIA_ENG_PRS 0x0044000042#define NIA_ENG_KG 0x0048000043#define NIA_ENG_PLCR 0x004C000044#define NIA_ENG_BMI 0x0050000045#define NIA_ENG_QMI_ENQ 0x0054000046#define NIA_ENG_QMI_DEQ 0x0058000047#define NIA_ENG_MASK 0x007C00004849#define NIA_FM_CTL_AC_CC 0x0000000650#define NIA_FM_CTL_AC_HC 0x0000000C51#define NIA_FM_CTL_AC_IND_MODE_TX 0x0000000852#define NIA_FM_CTL_AC_IND_MODE_RX 0x0000000A53#define NIA_FM_CTL_AC_FRAG 0x0000000e54#define NIA_FM_CTL_AC_PRE_FETCH 0x0000001055#define NIA_FM_CTL_AC_POST_FETCH_PCD 0x0000001256#define NIA_FM_CTL_AC_POST_FETCH_PCD_UDP_LEN 0x0000001857#define NIA_FM_CTL_AC_POST_FETCH_NO_PCD 0x0000001258#define NIA_FM_CTL_AC_FRAG_CHECK 0x0000001459#define NIA_FM_CTL_AC_PRE_CC 0x00000020606162#define NIA_BMI_AC_ENQ_FRAME 0x0000000263#define NIA_BMI_AC_TX_RELEASE 0x000002C064#define NIA_BMI_AC_RELEASE 0x000000C065#define NIA_BMI_AC_DISCARD 0x000000C166#define NIA_BMI_AC_TX 0x0000027467#define NIA_BMI_AC_FETCH 0x0000020868#define NIA_BMI_AC_MASK 0x000003FF6970#define NIA_KG_DIRECT 0x0000010071#define NIA_KG_CC_EN 0x0000020072#define NIA_PLCR_ABSOLUTE 0x000080007374#define NIA_BMI_AC_ENQ_FRAME_WITHOUT_DMA 0x0000020275#define NIA_BMI_AC_FETCH_ALL_FRAME 0x0000020c7677#endif /* __FMAN_COMMON_H */787980