]>
Commit | Line | Data |
---|---|---|
bce5bbbb CM |
1 | /* |
2 | * Copyright 2012 Tilera Corporation. All Rights Reserved. | |
3 | * | |
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. | |
7 | * | |
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 | |
12 | * more details. | |
13 | */ | |
14 | ||
15 | ||
16 | #ifndef __ARCH_TRIO_CONSTANTS_H__ | |
17 | #define __ARCH_TRIO_CONSTANTS_H__ | |
18 | ||
88e2692a | 19 | #define TRIO_NUM_ASIDS 32 |
bce5bbbb CM |
20 | #define TRIO_NUM_TLBS_PER_ASID 16 |
21 | ||
22 | #define TRIO_NUM_TPIO_REGIONS 8 | |
23 | #define TRIO_LOG2_NUM_TPIO_REGIONS 3 | |
24 | ||
88e2692a CM |
25 | #define TRIO_NUM_MAP_MEM_REGIONS 32 |
26 | #define TRIO_LOG2_NUM_MAP_MEM_REGIONS 5 | |
bce5bbbb CM |
27 | #define TRIO_NUM_MAP_SQ_REGIONS 8 |
28 | #define TRIO_LOG2_NUM_MAP_SQ_REGIONS 3 | |
29 | ||
30 | #define TRIO_LOG2_NUM_SQ_FIFO_ENTRIES 6 | |
31 | ||
88e2692a | 32 | #define TRIO_NUM_PUSH_DMA_RINGS 64 |
bce5bbbb | 33 | |
88e2692a | 34 | #define TRIO_NUM_PULL_DMA_RINGS 64 |
bce5bbbb CM |
35 | |
36 | #endif /* __ARCH_TRIO_CONSTANTS_H__ */ |