2 * Copyright 2012 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
16 #ifndef __ARCH_TRIO_CONSTANTS_H__
17 #define __ARCH_TRIO_CONSTANTS_H__
19 #define TRIO_NUM_ASIDS 32
20 #define TRIO_NUM_TLBS_PER_ASID 16
22 #define TRIO_NUM_TPIO_REGIONS 8
23 #define TRIO_LOG2_NUM_TPIO_REGIONS 3
25 #define TRIO_NUM_MAP_MEM_REGIONS 32
26 #define TRIO_LOG2_NUM_MAP_MEM_REGIONS 5
27 #define TRIO_NUM_MAP_SQ_REGIONS 8
28 #define TRIO_LOG2_NUM_MAP_SQ_REGIONS 3
30 #define TRIO_LOG2_NUM_SQ_FIFO_ENTRIES 6
32 #define TRIO_NUM_PUSH_DMA_RINGS 64
34 #define TRIO_NUM_PULL_DMA_RINGS 64
36 #endif /* __ARCH_TRIO_CONSTANTS_H__ */