brintos

brintos / linux-shallow public Read only

0
0
Text · 926 B · 4e2edee Raw
38 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/* Applied Micro X-Gene SoC Ethernet Driver3 *4 * Copyright (c) 2015, Applied Micro Circuits Corporation5 * Author: Iyappan Subramanian <isubramanian@apm.com>6 */7 8#ifndef __XGENE_ENET_RING2_H__9#define __XGENE_ENET_RING2_H__10 11#include "xgene_enet_main.h"12 13#define X2_NUM_RING_CONFIG	614 15#define INTR_MBOX_SIZE		102416#define CSR_VMID0_INTR_MBOX	0x027017#define INTR_CLEAR		BIT(23)18 19#define X2_MSG_AM_POS		1020#define X2_QBASE_AM_POS		1121#define X2_INTLINE_POS		2422#define X2_INTLINE_LEN		523#define X2_CFGCRID_POS		2924#define X2_CFGCRID_LEN		325#define X2_SELTHRSH_POS		726#define X2_SELTHRSH_LEN		327#define X2_RINGTYPE_POS		2328#define X2_RINGTYPE_LEN		229#define X2_DEQINTEN_POS		2930#define X2_RECOMTIMEOUT_POS	031#define X2_RECOMTIMEOUT_LEN	732#define X2_NUMMSGSINQ_POS	033#define X2_NUMMSGSINQ_LEN	1734 35extern struct xgene_ring_ops xgene_ring2_ops;36 37#endif /* __XGENE_ENET_RING2_H__ */38