Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
trio_constants.h
Go to the documentation of this file.
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 
19 #define TRIO_NUM_ASIDS 16
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 
25 #define TRIO_NUM_MAP_MEM_REGIONS 16
26 #define TRIO_LOG2_NUM_MAP_MEM_REGIONS 4
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 
32 #define TRIO_NUM_PUSH_DMA_RINGS 32
33 
34 #define TRIO_NUM_PULL_DMA_RINGS 32
35 
36 #endif /* __ARCH_TRIO_CONSTANTS_H__ */