8c627b1c7d929c09af3cd14e0590290fd19359a3
[dpdk.git] / drivers / net / pfe / base / cbus / hif_nocpy.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2019 NXP
3  */
4
5 #ifndef _HIF_NOCPY_H_
6 #define _HIF_NOCPY_H_
7
8 #define HIF_NOCPY_VERSION       (HIF_NOCPY_BASE_ADDR + 0x00)
9 #define HIF_NOCPY_TX_CTRL       (HIF_NOCPY_BASE_ADDR + 0x04)
10 #define HIF_NOCPY_TX_CURR_BD_ADDR       (HIF_NOCPY_BASE_ADDR + 0x08)
11 #define HIF_NOCPY_TX_ALLOC      (HIF_NOCPY_BASE_ADDR + 0x0c)
12 #define HIF_NOCPY_TX_BDP_ADDR   (HIF_NOCPY_BASE_ADDR + 0x10)
13 #define HIF_NOCPY_TX_STATUS     (HIF_NOCPY_BASE_ADDR + 0x14)
14 #define HIF_NOCPY_RX_CTRL       (HIF_NOCPY_BASE_ADDR + 0x20)
15 #define HIF_NOCPY_RX_BDP_ADDR   (HIF_NOCPY_BASE_ADDR + 0x24)
16 #define HIF_NOCPY_RX_STATUS     (HIF_NOCPY_BASE_ADDR + 0x30)
17 #define HIF_NOCPY_INT_SRC       (HIF_NOCPY_BASE_ADDR + 0x34)
18 #define HIF_NOCPY_INT_ENABLE    (HIF_NOCPY_BASE_ADDR + 0x38)
19 #define HIF_NOCPY_POLL_CTRL     (HIF_NOCPY_BASE_ADDR + 0x3c)
20 #define HIF_NOCPY_RX_CURR_BD_ADDR       (HIF_NOCPY_BASE_ADDR + 0x40)
21 #define HIF_NOCPY_RX_ALLOC      (HIF_NOCPY_BASE_ADDR + 0x44)
22 #define HIF_NOCPY_TX_DMA_STATUS (HIF_NOCPY_BASE_ADDR + 0x48)
23 #define HIF_NOCPY_RX_DMA_STATUS (HIF_NOCPY_BASE_ADDR + 0x4c)
24 #define HIF_NOCPY_RX_INQ0_PKTPTR        (HIF_NOCPY_BASE_ADDR + 0x50)
25 #define HIF_NOCPY_RX_INQ1_PKTPTR        (HIF_NOCPY_BASE_ADDR + 0x54)
26 #define HIF_NOCPY_TX_PORT_NO    (HIF_NOCPY_BASE_ADDR + 0x60)
27 #define HIF_NOCPY_LMEM_ALLOC_ADDR       (HIF_NOCPY_BASE_ADDR + 0x64)
28 #define HIF_NOCPY_CLASS_ADDR    (HIF_NOCPY_BASE_ADDR + 0x68)
29 #define HIF_NOCPY_TMU_PORT0_ADDR        (HIF_NOCPY_BASE_ADDR + 0x70)
30 #define HIF_NOCPY_TMU_PORT1_ADDR        (HIF_NOCPY_BASE_ADDR + 0x74)
31 #define HIF_NOCPY_TMU_PORT2_ADDR        (HIF_NOCPY_BASE_ADDR + 0x7c)
32 #define HIF_NOCPY_TMU_PORT3_ADDR        (HIF_NOCPY_BASE_ADDR + 0x80)
33 #define HIF_NOCPY_TMU_PORT4_ADDR        (HIF_NOCPY_BASE_ADDR + 0x84)
34 #define HIF_NOCPY_INT_COAL      (HIF_NOCPY_BASE_ADDR + 0x90)
35
36 #endif /* _HIF_NOCPY_H_ */